A wrist watch that displays the time in words in Dutch, English, French and
German,as an analogue or digital clock.
The clock receives time via NTP from the internet.
Settings can be controlled via a webpage, PC and Bluetooth LE.
Also info here:
On my home page for the latest info.
The clock is built with a [LillyGo T-watch 2020 V3]( https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library) that runs on a 16 Mb ESP32-S3.
The software is written with the Arduino IDE 1.8.19.
The software contains coding to use:
1 ST7789 colour display
2 BLE nRF UART connection with a phone with an option to send strings longer than 20 bytes
3 Time zone corrected time with daylight savings from a NTP server via WIFI
4 Analog, word and digital clock.
5 RTC for time keeping when off line
6 Storage of the settings in the ESP32-S3 SPIFSS Flash memor
7 Menu driven control of preferences with serial monitor, BLE and WIFI-html page
8 Four languages to display time
9 OTA. Upgrade the software over the air without USB-cable
10 Swipe or touch the display to switch between options
This software is derived from the ILI9341 + ESP32-C3 clock. https://github.com/ednieuw/Lilygo-WristWatch/assets/12166816/82f1b46f-4dc8-43d3-bf7c-c0fba49e676e
A fast method to load the software in the watch OTA (Over The Air) can be used. Instal the Arduino IDE as described in the point 1-4 below and install an OTA library in the IDE.
AsyncElegantOTA works fine.
Open the demo program in the example folder of AsyncElegantOTA and enter the WIFI details over the dots in const char* ssid = "........"; and const char* password = "........";.
Compile and upload the program in the watch.
Find the IP-address of the watch in your router and enter this in a browser followed with /update.
in my case: 192.168.178.88/update
Select Firware and Choose File. Find and open the bin file: Liygo-WristWatchESP32-V011.ino.twatch.bin
Now enter in the browser the IP-address without /update. in my case: 192.168.178.88
The watch menu will open.
Enter the character a followed with your WIFI networkname. aSSID
Enter the character b followed with your WIFI password. aPassword
Send a @ to rest the watch and voila the watch is running on time.
The rest is reading the manual for this watch
From [LillyGo T-watch 2020 V3]( https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library) the next instructions:
- Install Arduino IDE
- Install
Arduino ESP32 2.0.9 or higher
.Tools
->Board
->Boards Manager
and search ESP32 ** I used 2.0.14. ** - Install TTGO_TWatch_Library
- Download a zipfile from the LilyGo TTGO github page using the "Download ZIP" button and install it using the IDE ("Sketch" -> "Include Library" -> "Add .ZIP Library...")
- Clone this git repository into your sketchbook/libraries folder. For more info, see https://www.arduino.cc/en/Guide/Libraries
Install the library NTP Client from https://github.com/gmag11/ESPNtpClient or
Following are Arduino libraries and can be found in the Arduino IDE library manager but also in the ZIP-file downloaded for this watch that contains all libraries needed to compile for the watch.
NimBLEDevice.h AsyncTCP.h ESPAsyncWebServer.h AsyncElegantOTA.h
-
In the Arduino IDE Go to Tools -> Board --> ESP32 and search in the list 'TTGO T-watch'
-
Unable to upload to watch
- Make sure that the T-Watch is turned on, you can check it according to the following method, open the computer device manager, check the port, plug the USB port into the computer, and if the new COM device is displayed, it has been turned on, if it is not displayed, press the crown Press the button on the button for one second, and then the device port will pop up, click upload at this time
-
The USB port keeps flashing in the computer
- This is a phenomenon caused by the abnormal operation of the program, or the selection of the wrong configuration, and the continuous restart of the esp32. At this time, the problem of not being able to upload can only be solved by manually entering the download mode of the watch
Please follow the steps below
-
Remove the back cover
-
Insert Micro-USB
-
Open Windows Device Manager
-
Press and hold the crown of the watch until the USB device does not appear in the Windows COM port
-
Press the crown button for one second
-
Now the COM port is fixed
-
Select Port in Arduino IDE
-
Click Upload
-
-
Where to query the pin definition?
- Look here
-
The screen is not displayed after uploading the sketch?
- Please check the fourth line of Arduino IDE Quick Start
-
Power Domain
Power Domain Role ALDO1 RTC backup battery (3.1-3.3v) ALDO2 Backlight ALDO3 3V3 for FT6336 and st7889 ALDO4 SX1262 BLDO2 DRV2605 Enable pin DC1 ESP32 3V3 VRTC Nothing -
Battery
- Lilygo T-Watch fits 502530 size (5x25x30mm) batteries of any chemistry supported by the AXP2101.
-
esp_vad.h: No such file or directory
- Please use 2.0.9. The new version has changed too much and has not yet been adapted.