Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 29-12-2021
Hi All,
A week ago i received my new 4Pro receiver with transmitter.
The transmitter is working almost complete just can't check the VEML6075 because of lack of sun.
The receiver is another story i solved and struggling with some issues.
1) Compiling the software with my configuration/setting did not work.
Start compiling gives:
Arduino:1.8.16 (Windows 10), Board:"MH ET LIVE ESP32MiniKit, 80MHz, Default with spiffs, 921600, None"
a long list started wich i have deleted, following with.
C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7:48: fatal error: ArduinoJson/Array/ArrayFunctions.hpp: No such file or directory
compilation terminated.
a long list started wich i have deleted, following with.
Bibliotheek DataFlash_AC in map: C:\Users\tijha\Documenten\Arduino\libraries\DataFlash_AC (legacy) wordt gebruikt
Bibliotheek ArduinoJson in map: C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson (legacy) wordt gebruikt
exit status 1
Fault compiling for board MH ET LIVE ESP32MiniKit
Solved the issue "ArrayFunctions.hpp" with latest ArduinoJson driver by Benoit Blanchon Version 6.18.5, compiling and uploading (for me) works now 100%.
2) I tryed the Dutch and English setup for menu settings, both same weird reactions.
2a. for example going from menu to weather to tab w.gust or w.speed or w.dir etc. gives different actions sometimes going back to menu.
2b. for example start in menu touch inside-temp (right-side display) or outside-temp (right-side display) gives different actions or back to menu.
2c. sometimes (maybe touching to fast) gives no longer direct action from touch screen, software seems to hang for some time.
3) Dutch translations in grafics "Binnen Temperatuur (inside-temp)" is wrong. (see pict. Inside Temp wrong)
Gives horizontal time, vertical humidity !
Think the name for grafics should be "Binnen Vocht" (inside humidity).
4) How can i change System Temp -50 dgr ? (see pict. System Temp -50)
Is this temp coming from inside 4Pro receiver?
5) How can i change display W.dir it is always --- ? (see pict. W.Dir only ---)
Going to the webpage 192.168.1.xxx/weather, the wind direction is correct. (see pict. webpage W.Dir correct)
Any technical help is welcome.
Kind regards,
Wim
RE: Setup 4Pro Rx, Compile and Touchscr issues -
werk_ag - 30-12-2021
Hi Wim-T,
I'm glad to know that you already received your 4Pro system.
I will try to reply to your questions one by one.
(29-12-2021, 19:58)Wim-T Wrote: 1) Compiling the software with my configuration/setting did not work.
Start compiling gives:
Arduino:1.8.16 (Windows 10), Board:"MH ET LIVE ESP32MiniKit, 80MHz, Default with spiffs, 921600, None"
a long list started wich i have deleted, following with.
C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7:48: fatal error: ArduinoJson/Array/ArrayFunctions.hpp: No such file or directory
compilation terminated.
a long list started wich i have deleted, following with.
Bibliotheek DataFlash_AC in map: C:\Users\tijha\Documenten\Arduino\libraries\DataFlash_AC (legacy) wordt gebruikt
Bibliotheek ArduinoJson in map: C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson (legacy) wordt gebruikt
exit status 1
Fault compiling for board MH ET LIVE ESP32MiniKit
Solved the issue "ArrayFunctions.hpp" with latest ArduinoJson driver by Benoit Blanchon Version 6.18.5, compiling and uploading (for me) works now 100%.
Unless Arduino 1.8.16 introduced any change, I'm pretty sure that the software compiles fine with the provided ArduinoJson library, which is version 6.17.2.
(29-12-2021, 19:58)Wim-T Wrote: 2) I tryed the Dutch and English setup for menu settings, both same weird reactions.
2a. for example going from menu to weather to tab w.gust or w.speed or w.dir etc. gives different actions sometimes going back to menu.
2b. for example start in menu touch inside-temp (right-side display) or outside-temp (right-side display) gives different actions or back to menu.
2c. sometimes (maybe touching to fast) gives no longer direct action from touch screen, software seems to hang for some time.
The touch screen calibration settings coded in the software, usually work for everyone, however different power supply's may require a fine tuning.
Included on the 4Pro RX software package there is an utility called 4ProDB_Touch_Calibrate_3.2TFT.ino, you can run it and past the calibration data (visible on the serial monitor), to WeatherDuino_4PESP32_RX_v6.1_b001.ino, around line 633 (uncomment the unused ones).
Software don't react to touches with an interval less than 600ms. Try give time for the screen to fully redraw before a second touch.
(29-12-2021, 19:58)Wim-T Wrote: 3) Dutch translations in grafics "Binnen Temperatuur (inside-temp)" is wrong. (see pict. Inside Temp wrong)
Gives horizontal time, vertical humidity !
Think the name for grafics should be "Binnen Vocht" (inside humidity).
You are right. The name for graphics should be "Binnen Vocht"
If you would like to contribute improving the Dutch language file, your help will be welcome.
(29-12-2021, 19:58)Wim-T Wrote: 4) How can i change System Temp -50 dgr ? (see pict. System Temp -50)
[size=medium][font=Calibri,sans-serif] Is this temp coming from inside 4Pro receiver?
The System Temp comes from the TMP36 sensor installed on the TX board.
(29-12-2021, 19:58)Wim-T Wrote: 5) How can i change display W.dir it is always --- ? (see pict. W.Dir only ---)
Going to the webpage 192.168.1.xxx/weather, the wind direction is correct. (see pict. webpage W.Dir correct)
On many weather stations, when the wind gust is zero, the Wind Dir. is shown as Calm (with no wind there isn't instant wind direction), we use the three dashes. Once wind gust will not be zero the correct wind direction will be shown, as happen on the web page.
If I can help in anything else, just let me know.
Thank you.
Kind regards
Caneira
RE: Setup 4Pro Rx, Compile and Touchscr issues -
werk_ag - 30-12-2021
Regarding compilation I just finish trying with latest Arduino IDE 1.8.19 using the libraries supplied on the WeatherDuino software package. Everything compiles fine. Important: Use ESP32 v1.0.6, not any of the newer versions.
RE: Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 04-01-2022
(30-12-2021, 22:56)Werk_AG Wrote: Regarding compilation I just finish trying with latest Arduino IDE 1.8.19 using the libraries supplied on the WeatherDuino software package. Everything compiles fine. Important: Use ESP32 v1.0.6, not any of the newer versions.
Hello Caneira,
First of all, my best wishes and happy new year to all users of this forum.
I am using now the latest Arduino IDE 1.8.19, and of course in combination with ESP32 v1.0.6.
My problem with compiling is the same as reported before, i also tryed to comment out (putting X in front) for the libraries with almost the same name!
Arduino refuse to use the libraries who are mentioned to use for Weatherduino-4Pro!
Kind regards,
Wim
RE: Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 04-01-2022
(30-12-2021, 20:38)Werk_AG Wrote: Hi Wim-T,
I'm glad to know that you already received your 4Pro system.
I will try to reply to your questions one by one.
(29-12-2021, 19:58)Wim-T Wrote: 1) Compiling the software with my configuration/setting did not work.
Start compiling gives:
Arduino:1.8.16 (Windows 10), Board:"MH ET LIVE ESP32MiniKit, 80MHz, Default with spiffs, 921600, None"
a long list started wich i have deleted, following with.
C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:7:48: fatal error: ArduinoJson/Array/ArrayFunctions.hpp: No such file or directory
compilation terminated.
a long list started wich i have deleted, following with.
Bibliotheek DataFlash_AC in map: C:\Users\tijha\Documenten\Arduino\libraries\DataFlash_AC (legacy) wordt gebruikt
Bibliotheek ArduinoJson in map: C:\Users\tijha\Documenten\Arduino\libraries\ArduinoJson (legacy) wordt gebruikt
exit status 1
Fault compiling for board MH ET LIVE ESP32MiniKit
Solved the issue "ArrayFunctions.hpp" with latest ArduinoJson driver by Benoit Blanchon Version 6.18.5, compiling and uploading (for me) works now 100%.
Unless Arduino 1.8.16 introduced any change, I'm pretty sure that the software compiles fine with the provided ArduinoJson library, which is version 6.17.2.
(29-12-2021, 19:58)Wim-T Wrote: 2) I tryed the Dutch and English setup for menu settings, both same weird reactions.
2a. for example going from menu to weather to tab w.gust or w.speed or w.dir etc. gives different actions sometimes going back to menu.
2b. for example start in menu touch inside-temp (right-side display) or outside-temp (right-side display) gives different actions or back to menu.
2c. sometimes (maybe touching to fast) gives no longer direct action from touch screen, software seems to hang for some time.
The touch screen calibration settings coded in the software, usually work for everyone, however different power supply's may require a fine tuning.
Included on the 4Pro RX software package there is an utility called 4ProDB_Touch_Calibrate_3.2TFT.ino, you can run it and past the calibration data (visible on the serial monitor), to WeatherDuino_4PESP32_RX_v6.1_b001.ino, around line 633 (uncomment the unused ones).
Software don't react to touches with an interval less than 600ms. Try give time for the screen to fully redraw before a second touch.
(29-12-2021, 19:58)Wim-T Wrote: 3) Dutch translations in grafics "Binnen Temperatuur (inside-temp)" is wrong. (see pict. Inside Temp wrong)
Gives horizontal time, vertical humidity !
Think the name for grafics should be "Binnen Vocht" (inside humidity).
You are right. The name for graphics should be "Binnen Vocht"
If you would like to contribute improving the Dutch language file, your help will be welcome.
(29-12-2021, 19:58)Wim-T Wrote: 4) How can i change System Temp -50 dgr ? (see pict. System Temp -50)
Is this temp coming from inside 4Pro receiver?
The System Temp comes from the TMP36 sensor installed on the TX board.
(29-12-2021, 19:58)Wim-T Wrote: 5) How can i change display W.dir it is always --- ? (see pict. W.Dir only ---)
Going to the webpage 192.168.1.xxx/weather, the wind direction is correct. (see pict. webpage W.Dir correct)
On many weather stations, when the wind gust is zero, the Wind Dir. is shown as Calm (with no wind there isn't instant wind direction), we use the three dashes. Once wind gust will not be zero the correct wind direction will be shown, as happen on the web page.
RE: Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 05-01-2022
Quote:The touch screen calibration settings coded in the software, usually work for everyone, however different power supply's may require a fine tuning.
Included on the 4Pro RX software package there is an utility called 4ProDB_Touch_Calibrate_3.2TFT.ino, you can run it and past the calibration data (visible on the serial monitor), to WeatherDuino_4PESP32_RX_v6.1_b001.ino, around line 633 (uncomment the unused ones).
Software don't react to touches with an interval less than 600ms. Try give time for the screen to fully redraw before a second touch.
Wim-T Wrote:
I found the Calibrate TFT.ino file and mentioned lines to uncomment, but please give me a few more steps to go on with it.
What to do with the Calibrate TFT.ino file?
Quote:You are right. The name for graphics should be "Binnen Vocht"
If you would like to contribute improving the Dutch language file, your help will be welcome.
Wim-T Wrote:
I am already working on a correction in the Dutch language file, if the file is tested i send it to you, to give it a try.
Quote:The System Temp comes from the TMP36 sensor installed on the TX board.
Wim-T Wrote:
Okay, i ordered a TMP36.
(29-12-2021, 19:58)Wim-T Wrote: 5) How can i change display W.dir it is always --- ? (see pict. W.Dir only ---)
Going to the webpage 192.168.1.xxx/weather, the wind direction is correct. (see pict. webpage W.Dir correct)
On many weather stations, when the wind gust is zero, the Wind Dir. is shown as Calm (with no wind there isn't instant wind direction), we use the three dashes. Once wind gust will not be zero the correct wind direction will be shown, as happen on the web page.
Wim-T Wrote:
Okay i understand.
I tryed to reply on your answers from 30-12-21, but the insert did not work for me (think i did something wrong
), hope you can correct this thread.
Kind regards,
Wim
RE: Setup 4Pro Rx, Compile and Touchscr issues -
werk_ag - 06-01-2022
(05-01-2022, 20:58)Wim-T Wrote: I found the Calibrate TFT.ino file and mentioned lines to uncomment, but please give me a few more steps to go on with it.
What to do with the Calibrate TFT.ino file?
- Open the 4ProDB_Touch_Calibrate_3.2TFT.ino on the Arduino IDE. Compile it without change anything on the code.
- Open the serial monitor and check that it is set to 115200
- Upload the compiled code to your 4ProDB receiver.
- Follow the calibration steps show on the screen of the 4ProDB receiver. Once complete, on the serial monitor you should see something like this:
uint16_t calData[5] = {191, 3508, 273, 3464, 7};
- Copy this data, and now open on the Arduino IDE the latest 4Pro DB firmware. Scroll down to around line 630, you should find this sction:
Code:
//---------------------------------------------------------
// Touch screen calibration data
//---------------------------------------------------------
- Then, paste the previously copied data in between these statements:
#if (DISPLAY_TYPE == 1) and
#endif. It should ending up looking like this (values certainly will be different):
Code:
#if (DISPLAY_TYPE == 1)
uint16_t calData[5] = {191, 3508, 273, 3464, 7};
#endif
- Compile the code (with your customized Config_Options) and upload it to the 4ProDB receiver.
(05-01-2022, 20:58)Wim-T Wrote: I am already working on a correction in the Dutch language file, if the file is tested i send it to you, to give it a try.
I only can check if the translation file don't have formal errors, but not the translations itself. Your updated Dutch translation will be much welcome. Thank you.
Kind regards
Werk_AG
RE: Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 16-01-2022
(06-01-2022, 22:36)Werk_AG Wrote: (05-01-2022, 20:58)Wim-T Wrote: I found the Calibrate TFT.ino file and mentioned lines to uncomment, but please give me a few more steps to go on with it.
What to do with the Calibrate TFT.ino file?
- Open the 4ProDB_Touch_Calibrate_3.2TFT.ino on the Arduino IDE. Compile it without change anything on the code.
- Open the serial monitor and check that it is set to 115200
- Upload the compiled code to your 4ProDB receiver.
- Follow the calibration steps show on the screen of the 4ProDB receiver. Once complete, on the serial monitor you should see something like this: uint16_t calData[5] = {191, 3508, 273, 3464, 7};
- Copy this data, and now open on the Arduino IDE the latest 4Pro DB firmware. Scroll down to around line 630, you should find this sction:
Code:
//---------------------------------------------------------
// Touch screen calibration data
//---------------------------------------------------------
- Then, paste the previously copied data in between these statements: #if (DISPLAY_TYPE == 1) and #endif. It should ending up looking like this (values certainly will be different):
Code:
#if (DISPLAY_TYPE == 1)
uint16_t calData[5] = {191, 3508, 273, 3464, 7};
#endif
- Compile the code (with your customized Config_Options) and upload it to the 4ProDB receiver.
(05-01-2022, 20:58)Wim-T Wrote: I am already working on a correction in the Dutch language file, if the file is tested i send it to you, to give it a try.
I only can check if the translation file don't have formal errors, but not the translations itself. Your updated Dutch translation will be much welcome. Thank you.
Kind regards
Werk_AG
Hello Caneira,
My problems with the touchscreen are solved for 95%, your information to recalibrate the touchscreen works out of the box!
The last 5% is because i want to touch to fast!

(so the touchscreen is hanging for 5 a 8 seconds)
In the attachments you find my language update file for nl_NL.
Kind regards,
Wim-T
RE: Setup 4Pro Rx, Compile and Touchscr issues -
werk_ag - 20-01-2022
Hello Wim-T
Is good to know that the recalibration had work.
Thank you for your Dutch translation, unfortunately the RAR file seems to be corrupted, I can't open the file. Can you please check it and reupload again? Thanks
Rgs.
Werk_AG
RE: Setup 4Pro Rx, Compile and Touchscr issues -
Wim-T - 21-01-2022
(20-01-2022, 23:01)Werk_AG Wrote: Hello Wim-T
Is good to know that the recalibration had work.
Thank you for your Dutch translation, unfortunately the RAR file seems to be corrupted, I can't open the file. Can you please check it and reupload again? Thanks
Rgs.
Werk_AG
Hello Caneira,
To test my uploaded RAR file i downloaded the (uploaded) file and unpacked it without problems using winrar!
The (downloaded) unpacked file can be opened with Notepad++.
What can i do to help to fix this issue?
Rgs.
Wim