Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Which software to use?
#1

Hi All,
Still fumbling through all this, sorry for the dumb questions...
I'm currently working on building the TX board (WeatherDuino Pro2 TX v3.12) and thought, while I wait for parts, I'd look at the software.

I downloaded "WeatherDuino_Pro2_Compact_v2.1_20190110" and extracted the files. I got one error saying a '.gitignore' file already existed but it was only 14 bytes long and so I said skip.

I fired up Arduino 1.8.8 and opened "WeatherDuino_Pro2_Universal_TX_v7.0_b002" which also opened Config_options.h and Debug and Process_IDx and Routines. I believe that is correct.

I then clicked on the 'verify' button. After a while it said "WD_OneWire.h: No such file of directory

Sure enough I can't seem to find that file in the library directory.

Did I download the wrong software?
Do I need to download some other software that would include that library?
Do I need to include some other libraries that come with Arduino 1.8.8?

I await your sage words of wisdom. Wink 

Cheers,
Gord
Reply
#2

Hi WetCoast,

When setting up your Arduino IDE environment, you will need to replace the default "libraries" directory it installs, with the libraries directory that comes with the WeatherDuino software. (All included in the archive you download and expanded when you extract it)

Depending upon your PC's operating system the libraries location might vary. For example for me with Windows 10, I must go to C:\Program Files (x86)\Arduino and delete the libraries folder here. I leave this directory with no libraries folder. IF there is no other location your Arduino IDE references its libraries, then you can copy the WeatherDuino libraries directory to this same place. (Check in the IDE, File - Preferences. Sketchbook location should be a good indicator)

If your installation goes similar to mine, you will find in your Documents directory another called "Arduino" with the libraries directory there as well. Delete and replace it with the one from the WeatherDuino set. Do all of this with the IDE software closed and then start it again. You should find the missing file errors corrected.

Be careful with IDE version 1.8.8. WeatherDuino software has been reliably tested with versions 1.8.4 to 1.8.7 as noted in the software description on the first tab. Also only use AVR Board manager version 1.6.21. The higher ones are presently known to cause issues with items such as incorrect date being set.

I am not sure about your gitignore file conflict error when extracting. It is best to extract to a clean directory, then there should be no conflict errors when extracting the WeatherDuino software you downloaded.

Hope this helps Wink 
Mark

Reply
#3

(19-01-2019, 21:55)WetCoast Wrote:  ...

Did I download the wrong software?
Do I need to download some other software that would include that library?
Do I need to include some other libraries that come with Arduino 1.8.8?

...

Hi Gord,

I think you did everything the right way!
I checked the Pro2 Compact software package and found that I forgot to include the libraries required to compile the TX software.
I already have updated the software package with the missing libraries. Please download it again.
Sorry for this mistake, and thank you for having reported it.

Regards

Reply
#4

(19-01-2019, 22:31)qldbureau Wrote:  Hi WetCoast,

When setting up your Arduino IDE environment, you will need to replace the default "libraries" directory it installs, with the libraries directory that comes with the WeatherDuino software. (All included in the archive you download and expanded when you extract it)

Depending upon your PC's operating system the libraries location might vary. For example for me with Windows 10, I must go to C:\Program Files (x86)\Arduino and delete the libraries folder here. I leave this directory with no libraries folder. IF there is no other location your Arduino IDE references its libraries, then you can copy the WeatherDuino libraries directory to this same place. (Check in the IDE, File - Preferences. Sketchbook location should be a good indicator)

If your installation goes similar to mine, you will find in your Documents directory another called "Arduino" with the libraries directory there as well. Delete and replace it with the one from the WeatherDuino set. Do all of this with the IDE software closed and then start it again. You should find the missing file errors corrected.

Be careful with IDE version 1.8.8. WeatherDuino software has been reliably tested with versions 1.8.4 to 1.8.7 as noted in the software description on the first tab. Also only use AVR Board manager version 1.6.21. The higher ones are presently known to cause issues with items such as incorrect date being set.

I am not sure about your gitignore file conflict error when extracting. It is best to extract to a clean directory, then there should be no conflict errors when extracting the WeatherDuino software you downloaded.

Hope this helps Wink 
Mark


Thanks very much for taking the time to send this fantastic answer!
I knew already about the library issue and made sure I only used the library that came in the download.
I am using IDE 1.8.8 so I'll keep on the look out for problems there, so far so good.
Not completely sure what you mean by board manager, I believe I'm using Board Manager "LOLIN(WEMOS) D1 R2 & mini" is that what you're referring to?
The gitignore warning is rather strange. I am inflating the RAR file to an empty directory so I'm not sure what's going on there. I'm using debian linux for all this so the directory locations and such are sometimes a bit different than Windows.

Gord
Reply
#5

(19-01-2019, 23:25)Werk_AG Wrote:  
(19-01-2019, 21:55)WetCoast Wrote:  ...

Did I download the wrong software?
Do I need to download some other software that would include that library?
Do I need to include some other libraries that come with Arduino 1.8.8?

...

Hi Gord,

I think you did everything the right way!
I checked the Pro2 Compact software package and found that I forgot to include the libraries required to compile the TX software.
I already have updated the software package with the missing libraries. Please download it again.
Sorry for this mistake, and thank you for having reported it.

Regards

Thanks.
It's getting better, or at least different.
Now I get the following error message.
I can find the DHTxx directory and the DHTxx.cpp file but I don't see a sub directory off DHTxx (or anywhere) named util.
I can find atomic.h in libraries/RadioHead_TeensyVersion/RHutil

Code:
Arduino: 1.8.8 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

/home/gord/Arduino/libraries/DHTxx/DHTxx.cpp:6:25: fatal error: util/atomic.h: No such file or directory
#include <util/atomic.h>
                        ^
compilation terminated.
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Reply
#6

Hi Gord

Quote:Arduino: 1.8.8 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

To compile the TX software, in Board, please choose Arduino Nano, then Processor: Atmega328P (old bootloader)

LOLIN(WEMOS) D1 R2 & mini is the right choice to compile the Pro2 Compact RX software

Reply
#7

(20-01-2019, 02:06)Werk_AG Wrote:  Hi Gord

Quote:Arduino: 1.8.8 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

To compile the TX software, in Board, please choose Arduino Nano, then Processor: Atmega328P (old bootloader)

LOLIN(WEMOS) D1 R2 & mini is the right choice to compile the Pro2 Compact RX software

That worked like a charm, as I'm sure you knew it would!  Wink
Now if I can only remember it...
Thanks very much for all you speedy help. Big Grin

Kind regards,
Gord
Reply
#8

(20-01-2019, 03:56)WetCoast Wrote:  Now if I can only remember it...

Smile It will be easier than it seems.
After first time programming, the Pro2 Compact receiver can be programmed Over The Air (OTA) which make things even easier.

Have a nice Sunday

Reply
#9

(20-01-2019, 00:23)WetCoast Wrote:  Not completely sure what you mean by board manager,

[Image: ide187.jpg]


Having the AVR boards 1.6.21 is important when compiling the WeatherDuino code for the Arduino Nano (TX software). Versions 1.6.22 and 1.6.23 are know by causing problems.

Reply




Users browsing this thread: 1 Guest(s)