07-02-2025, 08:10

4PRO Dual Band RX v3.2 RevA
Note I received the receiver above prior to Xmas but had issues initially with too many copies of files eg Wifi.h. etc. and it was not compiling without many errors (on MacOS High Sierra it would not compile at all)
My PC was used. I was able to upload the program into the ESP32 but it would not start up without pushing the reset button many times and even when it did start it crashed into a blank white screen that was unresponsive. I thought it was most likely to be programming issues in the PC since many copies of WiFi.h etc were on this .
I have had more time to try again late January into now .
I used a freshly loaded macOS Catalina on the MacBook Pro and the MacOS system seemed to work Ok.
Since it looked to me from my research and previous experience that the Weatherduino program needed Python3 I loaded this into the operating system.
Using the Terminal program I erased the ESP32 completely, just to start fresh..
I noted in config_options.h that the fonts… needed to be loaded into the SPIFF via the tools menu :
“ ESP32 Sketch data upload” menu option. This worked after a bit of fiddling. Note even this upload only occurred if the reset button was pushed momentarily when the program indicated it was ready to upload to the ESP32.
I then put in all the data for location, wifi details, Receiver type : both LoRa and 433Mhz into the files. Note I had to fit a spare 433 Mhz receiver on the board . I do not have a LoRa transmitter board to use the LoRa receiver.
After all this the program verified and compiled OK and was uploaded (again pressing the reset switch )
The log was like this :
Sketch uses 1062641 bytes (81%) of program storage space. Maximum is 1310720 bytes.
Global variables use 57612 bytes (17%) of dynamic memory, leaving 270068 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.wchusbserial56B80097791
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:d1:f9:26:62:1c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00114fff...
Compressed 17568 bytes to 12204...
Writing at 0x00001000... (100 %)
Wrote 17568 bytes (12204 compressed) at 0x00001000 in 0.2 seconds (effective 570.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 1228.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 1852.1 kbit/s)...
Hash of data verified.
Compressed 1068944 bytes to 681956...
Writing at 0x00010000... (2 %)
Writing at 0x00017f3c... (4 %)
Writing at 0x00023e3d... (7 %)
….
….
….
….
….
Writing at 0x0011140a... (100 %)
Wrote 1068944 bytes (681956 compressed) at 0x00010000 in 8.8 seconds (effective 973.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
The weatherduino RX would start but needed the reset switch pushed usually multiple times to work. It went through the windows , linked to the Wifi and then recognized the Tx data with W T R and then displayed the temperatures , the wind, rain and UV and solar data. It would go into the submenu windows too. Wifi worked Ok. The Air quality module was recognised too.
However it crashed often after just a few minutes at the most into a blank screen (not able to be woken) or crashed in the normal screen but no updating happened. Note all the fonts seemed Ok. Sometimes before crashing the time shows the same time in the seconds and then jumps eg from 15:30 15 seconds to 15:03 21 seconds after a few seconds. This is often just before it crashes,
I tried simplifying the config too (a new file): just choosing the Rx modes : both 433Mhx and LoRa (I don’t have a transmitter for the LoRa though) so the transmitter could be detected.
Nil Wifi chosen , nil settings for solar, UV ..or WU. Nil AQM picked either.
? This seemed to be better but it still crashed and repeatedly still.
I checked the voltage : and put a 5V nonUSB input via the connector : voltage 5V was OK drawing about 250mA (this did vary) when working.
The RTC is working and the temp /baro onboard the RX is working too.
My old transmitter has been working well for ?5years and nil issues til my old receiver failed.
So in summary I have sorted out any compiling and upload programming issues onto the board , and even tried a basic config options.h file minimising choices in the program: The receiver initially works but varies a bit in how long it takes to crash : anything from seconds to <5minutes usually, up to a few hours at the most (rarely). Sometimes it restarts with a single reset but it can also refuse to start until switched off for a long period (even hours)
I am at a bit of a loss as to what else I can try : suggestions would be welcomed.
The latest RX software in the WeatherDuino_4PRO_DB_v6.3_b004_20240826 folder is being used. Arduino 1.8.19 and ESP32 2.0.14 are being used as well as all the program files included in the download. The Arduino system is loaded onto a freshly created MacOS 10.15 Catalina disc. I did this to minimise any extra file copies. The Catalina MacOS seems to be the oldest MacOS that can be used for the weatherduino programs from what I have read on programming forums mainly due to the need for Python 3, which has to be loaded also in this MacOS. The PC I used too has too many copies of Wifi.h etc to be trustworthy so is not being used. I will probably be able to use the latest MacOS soon too in a couple of weeks.
Paul
I can load the config files onto the forum but since I used a new one with minimal settings there seems no point. videos of it starting and crashing are too large a file.