WeatherSense 9001® Arduino-ESP32 Weather Station – Notes and Resources – (Part 5 of 5)

Contained in this post are supplemental notes and online resource links for the WeatherSense 9001 Arduino-ESP32 Weather Station project.

Projects, videos and instructional blog posts like this take a lot of effort to research and produce. I have over 100 hours in this project so far. If this has been helpful or interesting, please consider a donation to help offset the extensive time and effort I put into these projects. Your support for small creators like me is greatly appreciated. Also, it has been shown that donating will allow much positive karma, fortune and mojo to come your way.

Buy Me A Coffee

CrowPanel firmware code differences

CrowPanel devices may have different firmware versions depending on date of manufacture. My order from June 2024 included one CrowPanel 5.0″ with firmware v2 and one CrowPanel 7.0″ with firmware v3. As of fall 2024, Elecrow has indicated that all future releases will be v3, but I cannot confirm this.

Therefore, it should be noted that while most of the code is the same for both firmware versions, there are a few small differences as seen in my GitHub code for CrowPanel 5.0″ (v2) vs CrowPanel 7.0″ (v3).

For CrowPanel with firmware v2, the PCA9557 library and related code is not used.

For firmware v2, the PCA9557 library does not need installed. The following lines of code were removed from the WeatherSense .ino file for use with the CrowPanel 5.0″ (v2) :

#include <PCA9557.h>

PCA9557 Out;    //for touch timing init

//touch timing init
Wire.begin(19, 20);
Out.reset();
Out.setMode(IO_OUTPUT);
Out.setState(IO0, IO_LOW);
Out.setState(IO1, IO_LOW);
delay(20);
Out.setState(IO0, IO_HIGH);
delay(100);
Out.setMode(IO1, IO_INPUT);

SquareLine Studio Chart Series

It seems that SquareLine Studio (or lvgl) cannot plot decimal values on a chart. As this relates to the WeatherSense 9001 project, the barometric pressure chart on the second UI page therefore does not show correct barometric unit values of in/Hg like 29.95″ or 30.05″. Instead it shows values multiplied by 100 like 2995 and 3005 in order to retain the needed precision but also display correctly on the chart.

Resource Links

Arduino IDEhttps://www.arduino.cc/en/software
SquareLine Studiohttps://squareline.io/downloads
Elecrow CrowPanel HMI Displayhttps://www.elecrow.com/esp32-display-series-hmi-touch-screen.html
SensorPush wireless sensorshttps://www.sensorpush.com/
ThingSpeak Cloud IoT Analyticshttps://thingspeak.mathworks.com/
GitHub for WeatherSense 9001 for CrowPanel with firmware version 3 – typically 7.0″https://github.com/bobotmedia/WeatherSense9001-CrowPanel7
GitHub for WeatherSense 9001 for CrowPanel with firmware version 2 – typically 5.0″https://github.com/bobotmedia/WeatherSense9001-CrowPanel5
PCA9557 1.0.0 library for firmware v3https://allthingsbobot.com/wp-content/uploads/2024/10/PCA9557.zip
CrowPanel ESP32 HMI Display 7.0″ Wikihttps://www.elecrow.com/wiki/esp32-display-702727-intelligent-touch-screen-wi-fi26ble-800480-hmi-display.html
CrowPanel ESP32 HMI Display 5.0″ Wikihttps://www.elecrow.com/wiki/esp32-display-502727-intelligent-touch-screen-wi-fi26ble-800480-hmi-display.html
ESP32 HMI Display FAQhttps://forum.elecrow.com/discussion/492/esp-terminal-esp32-hmi-display-faqs
CrowPanel ESP32 Display Tutorialshttps://www.youtube.com/playlist?list=PLwh4PlcPx2GcKJ17Z_xcAxQoh-Tmms_X1
Elecrow HMI Display Support Forumhttps://forum.elecrow.com/categories/display
SensorPush Cloud Gateway APIhttps://www.sensorpush.com/gateway-cloud-api
Elecrow ESP32 Display Update Historyhttps://forum.elecrow.com/discussion/672/esp32-display-update-history
Support my projectshttps://buymeacoffee.com/allthingsbobot