This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Latest Threads
Disappointing RF reliabil...
Forum: General Discussion
Last Post by: WetCoast
Today, 01:11
» Replies: 0
» Views: 2
The WeatherDuinoPi
Forum: General Discussion
Last Post by: engolling
29-03-2020, 22:58
» Replies: 4
» Views: 1.306
Inspeed wind speed sensor...
Forum: Software Questions
Last Post by: Werk_AG
29-03-2020, 22:10
» Replies: 1
» Views: 31
Raspberry Pi and Cumulus ...
Forum: General Discussion
Last Post by: moolight0551
28-03-2020, 11:24
» Replies: 15
» Views: 12.521
WeatherDuino UPS
Forum: Weather Equipment
Last Post by: AllanG
28-03-2020, 07:52
» Replies: 73
» Views: 2.804
Orders suspended...
Forum: WeatherDuino - Info, FAQ's and News
Last Post by: Werk_AG
27-03-2020, 20:34
» Replies: 0
» Views: 43
Problem with ESP8266 uplo...
Forum: Software Questions
Last Post by: WetCoast
25-03-2020, 17:41
» Replies: 2
» Views: 53
Problem verifying TX soft...
Forum: Software Questions
Last Post by: WetCoast
25-03-2020, 00:41
» Replies: 3
» Views: 86
Mega 2560 problem
Forum: Hardware Questions
Last Post by: Werk_AG
24-03-2020, 01:07
» Replies: 20
» Views: 3.104
WeatherDuino AQM II
Forum: Software Questions
Last Post by: Werk_AG
18-03-2020, 02:54
» Replies: 14
» Views: 403

 
Sad Disappointing RF reliability
Posted by: WetCoast - Today, 01:11 - Forum: General Discussion - No Replies

Hello All,

I have, finally, got my TX board completed (at least enough to do some testing) and I'm not too happy with the performance of the RF link between it and the RX. I'm hoping someone can give me some suggestions as to where I may have gone wrong or how to improve things. I have the TX board temporarily on a breadboard that has a 12V power supply. I'm using a small black antenna screwed directly to the SMA connector on the board.

If I have the TX and RX in same room about 2 meters apart, things seem to work great. I get about 98 or 99 % RF efficiency.
If I move the TX to another room about 8-10 meters away the efficiency drops to about 25%
If I move the TX outside to approximately where I want to mount the TX, about 16-20 meter away from the RX, the efficiency drops to about 14% and I can see the 'outside temperature' disappears on the RX at times. This was only a short test (about an hour) because it's not in a weather proof box and it was going to rain.

Any help appreciated.

Cheers,
Gord

Print this item

  Inspeed wind speed sensor (Reed switch) code
Posted by: atbukc - 29-03-2020, 11:02 - Forum: Software Questions - Replies (1)

As I’m at home at lot now I can spend some time improving my setup, I recently purchased an Inspeed pair for wind speed and direction, the speed sensor is the reed switch model, so I specify according to this, Use 22 for Inspeed Vortex, read switch sensor.
#define WINDSPEED_SENSORTYPE 22
But I get a compilation error, 'FORM_FACTOR' was not declared in this scope
It looks to me like I need to add the following code
 
  #if (WINDSPEED_SENSORTYPE == 22)   // Inspeed Vortex Reed Sensor : Speed Pulse/sec 2.5 mph = 1.1176 m/s
    #define ClickPerRev  1
    #define FORM_FACTOR  1.1176
  #endif
If I do it compiles ok, but want to be sure the calibration is the same for the reed switch version as the Hall sensor version.
 
I’m using WeatherDuino_Pro2_Universal_TX_v7.0_b002
 
Thanks Andy

Print this item

  Orders suspended...
Posted by: Werk_AG - 27-03-2020, 20:34 - Forum: WeatherDuino - Info, FAQ's and News - No Replies

Hi to all,

Due to current situation caused by the COVID-19, I'm unable to send any goods. So, until situation improves, I can't process any new orders.
Thanks for your understanding.

Best regards
Werk_AG

Print this item

  Problem with ESP8266 uploader
Posted by: WetCoast - 25-03-2020, 03:47 - Forum: Software Questions - Replies (2)

Hi,
I just had an error message when I tried to do the ESP8266 Sketch Data Upload. After copying the 'tools' directory to my 'sketches' directory I received the following error when I tried to do the upload:

Code:
Arduino: 1.8.12 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

[SPIFFS] data    : /home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/RX software/WeatherDuino_P2ESP8266_RX_v3.1_b012/data
[SPIFFS] size    : 2024
[SPIFFS] page    : 256
[SPIFFS] block   : 8192
/fonts/ArialBold11LEA.vlw
/fonts/ArialBold11.vlw
/fonts/NotoSansBold14.vlw
/fonts/NotoSansBold14LEA.vlw
/icons/WDicon.bmp
/icons/tree1.bmp
/icons/termometro.bmp
/icons/home.bmp
/icons/home1.bmp
/icons/tree.bmp
/icons/moisture.bmp
/splash/Pro2Compact_Splash.jpg
/splash/WDlogo.jpg
/icon50/thunderstorm.bmp
/icon50/rain.bmp
/icon50/fog.bmp
/icon50/unknown.bmp
/icon50/hail.bmp
/icon50/cloudy.bmp
/icon50/clear-day.bmp
/icon50/snow.bmp
/icon50/lightRain.bmp
/icon50/sleet.bmp
/icon50/drizzle.bmp
/icon50/wind.bmp
/icon50/clear-night.bmp
/icon50/partly-cloudy-night.bmp
/icon50/partly-cloudy-day.bmp
[SPIFFS] upload  : /tmp/arduino_build_177758/WeatherDuino_P2ESP8266_RX_v3.1_b012.spiffs.bin
[SPIFFS] address  : 0x200000
[SPIFFS] reset    : --before default_reset --after hard_reset
[SPIFFS] port     : /dev/ttyUSB0
[SPIFFS] speed    : 921600
[SPIFFS] python   : python
[SPIFFS] uploader : /home/gord/.arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/upload.py

usage: esptool [-h] [--chip {auto,esp8266,esp32}] [--port PORT] [--baud BAUD]
               [--before {default_reset,no_reset,no_reset_no_sync}]
               [--after {hard_reset,soft_reset,no_reset}] [--no-stub]
               [--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]]
               {load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,version}
               ...
esptool: error: unrecognized arguments: --end
SPIFFS Upload failed!

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

I downloaded the 'esp8266fs.jar' file from GitHub and copied it to the same place and everything worked fine.
Just thought you might like to know.

Cheers,
Gord

Print this item

Question Problem verifying TX software
Posted by: WetCoast - 24-03-2020, 23:08 - Forum: Software Questions - Replies (3)

I seem to have a lot of time on my hands at present (because of some little bug!) so I'm finally getting back to my WeatherDuino, but I'm having problems because I have a very bad memory!! Confused

TX board is V3.12

I updated my version on Arduino IDE to 1.8.12 and I downloaded and opened the WeatherDuino_Pro2_Universal_TX_V7.0_b002. When I try to do the verify, I get the following error message:
 

Code:
Arduino: 1.8.12 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 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.

So I created a directory in /home/gord/Arduino/libraries/DHTxx called util and copied the file called atomic.h to that new directory. Now when I do the verify I get the following error message:
Code:
Arduino: 1.8.12 (Linux), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino: In function 'void setup()':
WeatherDuino_Pro2_Universal_TX_v7.0_b002:302:3: error: 'DDRB' was not declared in this scope
   DDRB  = DDRB | B100000;        // pinMode(13, OUTPUT); - Led on Pin D13
   ^
WeatherDuino_Pro2_Universal_TX_v7.0_b002:303:14: error: 'PORTB' was not declared in this scope
   setPortLOW(PORTB, 5);          // digitalWrite(13, LOW);
              ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino:68:33: note: in definition of macro 'setPortLOW'
 #define setPortLOW(port, pin) ((port) &= ~(1 << (pin)))
                                 ^
WeatherDuino_Pro2_Universal_TX_v7.0_b002:304:3: error: 'DDRD' was not declared in this scope
   DDRD = DDRD | B100000;         // pinMode(FAN_PIN, OUTPUT); - Fan Pin D5
   ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Process_IDx.ino: In function 'void send_SensorID0()':
Process_IDx:49:17: error: 'PORTD' was not declared in this scope
     setPortHIGH(PORTD, 5);           // digitalWrite(FAN_PIN, HIGH);  // Turn FAN power (Pin D5) ON

                 ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino:67:34: note: in definition of macro 'setPortHIGH'
 #define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
                                  ^
Process_IDx:54:16: error: 'PORTD' was not declared in this scope
     setPortLOW(PORTD, 5);            // digitalWrite(FAN_PIN, LOW);  // Turn FAN power (Pin D5) OFF

                ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino:68:33: note: in definition of macro 'setPortLOW'
 #define setPortLOW(port, pin) ((port) &= ~(1 << (pin)))
                                 ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Process_IDx.ino: In function 'double get_WindVane()':
Process_IDx:144:17: error: 'PORTD' was not declared in this scope
     setPortHIGH(PORTD, VANEPOWER_PIN);    // digitalWrite(VANEPOWER_PIN, HIGH); - Vane power Pin D4

                 ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino:67:34: note: in definition of macro 'setPortHIGH'
 #define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
                                  ^
WeatherDuino_Pro2_Universal_TX_v7.0_b002:77:22: error: 'A3' was not declared in this scope
 #define VANE_PIN     A3
                      ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Process_IDx.ino:146:16: note: in expansion of macro 'VANE_PIN'
     analogRead(VANE_PIN);                // Do 1 reading to stabilize ADC

                ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Process_IDx.ino: In function 'void send_SensorID5()':
WeatherDuino_Pro2_Universal_TX_v7.0_b002:76:22: error: 'A2' was not declared in this scope
 #define BATVOLT_PIN  A2
                      ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Process_IDx.ino:339:16: note: in expansion of macro 'BATVOLT_PIN'
     analogRead(BATVOLT_PIN);

                ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/Routines.ino: In function 'void sendData(int, long int, long int, long int, long int)':
Routines:144:15: error: 'PORTD' was not declared in this scope
   setPortHIGH(PORTD, 7);                                // digitalWrite(TX_PTT_PIN, HIGH); - Turn on power to TX module. Pin D7

               ^
/home/gord/Arduino/WeatherDuino_Pro2_Compact v3/software/TX software/WeatherDuino_Pro2_Universal_TX_v7.0_b002/WeatherDuino_Pro2_Universal_TX_v7.0_b002.ino:67:34: note: in definition of macro 'setPortHIGH'
 #define setPortHIGH(port, pin) ((port) |= (1 << (pin)))
                                  ^
exit status 1
'DDRB' was not declared in this scope


I know I must be doing something wrong but I can't see what.
Any help appreciated,
Gord

Print this item