Skip to content

A 4-languages word clock on CYD ESP32-2432S028R that can be controlled with WI-FI and Bluetooth functions

Notifications You must be signed in to change notification settings

ednieuw/ESP32-2432S028R-display

Repository files navigation

ESP32-2432S028R- Cheap Yellow Display

A word clock with four languages, digital and analog display. Settings can be controlled with BLE and WIFI.

image

Porting the code from an other ESP32 project with storage, WIFI and BLE was easy.
It took many days to find the GPIO clash between the LDR analog input and the TFT-DC of the display on GPIO2. The display froze every minute.
At first I tried the TFT_eSPI library instead of the Adafruit_ILI9341 library that worked on other ILI-9314 displays.
The TFT_eSPI library can be used for many displays but it makes it also difficult to find and use the proper setup, especially when the hardware is not working.
In the end I opted for the Adafruit library but code for the eSPI library can also be used.
In the User_Setup.h file stored in this repository the settings for the CYD are kept.

image

Install the following libraries in the Arduino IDE with the Arduino IDE library manager.
(The May 2024 versions can be found in the libraries ZIP in this repository)

NimBLEDevice      // For BLE communication  https://github.com/h2zero/NimBLE-Arduino
ESPNtpClient       // https://github.com/gmag11/ESPNtpClient
AsyncTCP           // Used for webpage   https://github.com/me-no-dev/ESPAsyncWebServer
ESPAsyncWebServer> // Used for webpage   https://github.com/me-no-dev/ESPAsyncWebServer
AsyncElegantOTA    // Used for OTA
TFT_eSPI           // Graphics and font library for ILI9341 driver chip
Adafruit_ILI9341   // https://github.com/adafruit/Adafruit_ILI9341
Adafruit_GFX       // Core graphics library, with extra fonts.

Load the ESP322432S028_WordclockV0xx.ino in the IDE, compile and upload

Open the Serial monitor in the Arduino IDE
Set the baudrate to 115200 and send the letter I for the menu.
Enter the character A followed with your routers SSID and send 
Enter the character B folloeed with your routers password and Send
Finally restart by sending the charcter @ or turn off and power for the display

Control of the clock, explaination of the source code et cetera
here: https://github.com/ednieuw/Arduino-ESP32-Nano-Wordclock

CYD The display can be placed in its container box and run on an USB 5V power supply (for some time).

About

A 4-languages word clock on CYD ESP32-2432S028R that can be controlled with WI-FI and Bluetooth functions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published