Project 47: |
v1.2 Schematic, Board Layout, Top PCB v1.2 BOM
Layout of ESP32-CYD Video of v1.2 System Memory Configuration
Overview: Two different programs were written for the microcontroller/display ESP32-2432S028R, commonly know as the Cheap Yellow Display (CYD). One program provides inside & outside weather stats, and the other reports the top 10 headlines. The PCB contains both a weather sensor and motion sensor and the CYD, of course. Both sensors are used with Arduino code WM_32.ino for determining the inside and outside weather stats. Only the motion sensor is used with Arduino code NT_50.ino for grabbing the latest news headlines every 20 minutes.
Weather stats and news article
titles are
shown on the CYD's 2.8" TFT touchscreen display with an onboard
ESP32-WROOM-32, and
are stored on an onboard micro SD drive. API calls for the latest news headlines are made to gNews. Free service but an API key is required.
Weather Measurements: - Date & time - Inside and outside: Temperature (C/F), humidity %, barometric pressure kPa - Current sky conditions, e.g., mist, cloudy, etc. - Wind, Wind chill / Humidex - Weather Forecasting includes daily and weekly temp High and Low, PoP, sunrise and sunset times
News Ticker Features: - Every 20 minutes the top 10 headlines are displayed on the CYD and saved to a daily .csv file on the SD. Duplicate headlines are removed from the SD - User can switch between News Online (default) and News Local (saved on SD) in the event the WiFi is not available - Tapping any article will force an email containing the news headline and URL to be sent to the user's phone, tablet, PC, etc.
Other Features: WiFi SSID, IP address, channel, RSSI receive strength, transmit strength
Weather Monitor Arduino Code: WM_32x.zip. You will need to provide your WiFi's SSID and password. News Ticker Arduino Code: NT_50.zip You will need to provide your WiFi's SSID, password as well as an API key.
NOTE: ChatGPT5 helped write the code. As such it is larger than the 1MB limit for the ESP32 so you'll need to change the CYD config. Partition Scheme: No OTA (2MB APP / 2MB FATFS). See the screenshot above. |
Updated 2025-10-11