WeatherDuino Forum

Full Version: Arduino novice. IDE questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi All,

I've dusted off my 6 year old box of WeatherDuino bits (life, grandchildren & a previously functioning weather station got in the way of this project), and I am attempting to restart my WeatherDuino journey with my Pro2 Compact receiver and transmitter.

I've got arduino-IDE 2.3.2 installed under Linux, with the Arduino-AVR boards & ESP8266 libraries installed .... not sure of the exact location of these, but presumable under one of the folders  '.arduino15'  or  '.arduinoIDE'. There is no libraries folder under ~/Arduino, but this is the Sketchbook' location shown under 'Preferences'. I have extracted the downloaded WD software into ~/Arduino

First question, does IDE 2.3.2 work ok with WeatherDuino?  I had something in my 6 year old notes about using Boards Manager versions below a certain release, and I have also seen something recently in the forums about potential problems with earlier releases of IDE 2.x

Second question, do I install the WD software libraries in ~/Arduino/libraries or do I need to find the already installed libraries in .arduino15 or .arduinoIDE, and place them there?

Third question; the receiver folder WeatherDuino_P2ESP8266_RX_v6.0_b003 has a number of .ino files, including WeatherDuino_P2ESP8266_RX_v6.0_b003.ino. I presume this is the correct sketch file to load into the IDE? What are the other .ino files, and do they all need copying up to the top level of ~/Arduino?

Regards,

Ian
Hi Ian,

Is good to hera from you again, ope you are going well.

I will try to answer your questions:

Quote:First question, does IDE 2.3.2 work ok with WeatherDuino? I had something in my 6 year old notes about using Boards Manager versions below a certain release, and I have also seen something recently in the forums about potential problems with earlier releases of IDE 2.x

I haven't tested the WeatherDuino code with any of the IDE 2.x.x branches, so I can't asure that it will work but it should. Important is using the Boards Manager version indicated for each firmware.


Quote:Second question, do I install the WD software libraries in ~/Arduino/libraries or do I need to find the already installed libraries in .arduino15 or .arduinoIDE, and place them there?

It is enough install the WD software libraries in ~/Arduino/libraries.

Quote:Third question; the receiver folder WeatherDuino_P2ESP8266_RX_v6.0_b003 has a number of .ino files, including WeatherDuino_P2ESP8266_RX_v6.0_b003.ino. I presume this is the correct sketch file to load into the IDE? What are the other .ino files, and do they all need copying up to the top level of ~/Arduino?

All the .ino files are part if the firmware and should be copied to the same folder. Using your example, when you open the WeatherDuino_P2ESP8266_RX_v6.0_b003.ino all the other .ino files will be open by the Arduino IDE too

Hope had helped.

Kind regards
Werk_AG
Thanks for the clarifications.  I was getting compile errors, hence why I was double-checking everything.  Using the specified board manager version is my first 'port of call.'

Ian
(29-07-2024, 13:39)chsims1 Wrote: [ -> ]Thanks for the clarifications.  I was getting compile errors, hence why I was double-checking everything.  Using the specified board manager version is my first 'port of call.'

Ian

So, still using arduino-IDE v 2.3, but  now avr boards manager 1.6.21, I am still getting a compilation error:
 
Code:
Compilation error: call of overloaded 'round(ArduinoJson6172_91::enable_if<true, ArduinoJson6172_91::MemberProxy<ArduinoJson6172_91::MemberProxy<ArduinoJson6172_91::ObjectRef, const char*>, const char*> >::type)' is ambiguous

Does anyone else use v2.3 successfully,  or do I need to find a v1.x IDE from somewhere?
(29-07-2024, 14:57)chsims1 Wrote: [ -> ]
(29-07-2024, 13:39)chsims1 Wrote: [ -> ]Thanks for the clarifications.  I was getting compile errors, hence why I was double-checking everything.  Using the specified board manager version is my first 'port of call.'

Ian

So, still using arduino-IDE v 2.3, but  now avr boards manager 1.6.21, I am still getting a compilation error:
 
Code:
Compilation error: call of overloaded 'round(ArduinoJson6172_91::enable_if<true, ArduinoJson6172_91::MemberProxy<ArduinoJson6172_91::MemberProxy<ArduinoJson6172_91::ObjectRef, const char*>, const char*> >::type)' is ambiguous

Does anyone else use v2.3 successfully,  or do I need to find a v1.x IDE from somewhere?

So no one can help me here? I have tried v2.3 & v1.8 on Windows & get exactly the same error. The error seems to be complaining about the actual code, rather than missing libraries and such stuff.
Ok, it looks as though this is now a dead project.  I have a Pro2 compact receiver, which I can't use because the software doesn't compile, and no one is able or seems prepared to help.

I have the pro TX board (not yet assembled) & various sensors.  Are the broadcasting protocols, and other info for the TX board readily available, so that I could produce my own homegrown receiver. Ideally, I could just try to write my own Arduino code for the Compact receiver, but that would be starting from scratch for me from a programming point of view.  I would much prefer to use micro python or even full blown python, depending on device, if I am forced down this route.

Getting desperate now people; I'm loath to throw the money invested away, but I'm even considering just buying a new weather station.  It's really quite disillusioning, WeatherDuino seemed the way to go 6 years ago.

Sorry it's ending this way,

Ian
Hi Ian,
The code works when using the intended IDE version and boards manager. I would recommend uninstalling all Arduino IDE versions you have installed and start again with the version it was written for. Or use a different PC. The library locations is usually where people (including me) get tripped up.

Cheers,
UB
Hi Ian
I run Arduino 1.8.8 with AVR boards 1.6.21 on Linux mint 21.3 for playing with WeatherDuino

Arduino 1.8.8 can be got from  
https://www.arduino.cc/en/software/OldSoftwareReleases
and the boards manager installed using Tools>Board>Board Manager
Once you have it compiling OK you could try updating the Arduino software until it fails but 1.8.8 does all I need so left it at that.

Don't check this list out very often as not much changes and hardware is reliable.

cheers, Ian
(18-08-2024, 19:10)chsims1 Wrote: [ -> ]Ok, it looks as though this is now a dead project.  I have a Pro2 compact receiver, which I can't use because the software doesn't compile, and no one is able or seems prepared to help.

...

Hi Ian,

Just because you are not getting very quick answers, that doesn't mean that this a dead project! Despite your hardware is more than 6 years old, is still supported, which isn't comum even on comercial products.

There are people trying to help, but its hard if you don't come to the forum often.
Do as explained on prevous posts, and everything will compile fine.

Once again, IDE 2.x.x isn't yet suitable to use with most of WeatherDuino code, specially those for ESP8266 and ESP32 devices.

Rgs.
Werk_AG
The problem is that I have tried all the suggestions, as I thought that I had made clear above.  I had stopped returning to the forum, because there were no replies.  There is a possibility that I have not been as careful as I thought to totally remove all traces of the previous software before trying another version.  I will try again, since people seem to be pretty convinced that it is a result of software and board manager versions.

I apologise if I have sounded frustrated, but that is because I have indeed been so.  Anyhow one last attempt with the Windows version of the IDE (1.8.8) & boards manager 1.6.21. I really want this to work.

Regards,

Ian
Pages: 1 2