Beautiful pictures to enjoy:
Hardware introduction:
The hardware uses ESP8266 as the main control, 1637 digital tube driver chip, 1302 clock chip, ws2812 lantern, and buzzer as the main peripherals. The finished product is made of three layers of PCB stacked with copper pillars and pin headers.
Function introduction :
The WIFI clock uses a TYPEC header for power supply and comes with 2 buttons and a 10k potentiometer. The time will still be recorded after a power outage, so you don’t have to worry about needing to readjust the time after a power outage ( provided the CR2032 battery behind it still has power ) .
Key Function:
Function |
left click |
Right click |
|
click |
Switch time display ( minute / second mode date mode ) |
Turn on / off colored lights |
|
double click |
Manually adjust time mode |
Set cycle display style mode |
|
Press |
Network configuration mode / check network status |
Enter the configuration mode of lantern display brightness and style |
|
Switch time display:
Clicking the left button will change the displayed content, as follows
(minute/second mode)
(date pattern)
Switch time mode :
After double-clicking the left button, the digital tube will flash. At this time, press the left and right buttons to select the number of digits to adjust, and then rotate the potentiometer to adjust the time. After the adjustment is completed, double-click the left button again to save the time setting and return to the initial mode.
Distribution network mode:
Long press the left button , the device will enter the network configuration mode , and the colored light on the left will display the loading effect . At this time , pick up the phone and search for a wifi network named WIFICLOCK . After connecting , click on the wifi again , or search for 192.168 in the browser . 4.1 You can enter the wifi configuration interface , then select Configure WIFI and enter the wifi account password (WIFI can only use 2.4G) . After successfully configuring the network , the colored light will briefly flash green . If it is not connected to the network for 40 seconds , it will The red light will flash and return to the homepage. The network will be updated once every hour after the network is successfully configured.
Cycle display style mode :
After enabling this mode , the style will be changed every 10 minutes . Double-click the right button to adjust whether to enable this mode . At this time, the screen will display the current status . Press the right button to change the option (OF means off and ON means on ). After selecting, try again. Double-click the right button to return to the home page .
Configure lantern mode :
After long pressing the right button , the adjustment page will be displayed . In this mode, you can use the knob to make adjustments . The color screen will display the current selection . Click the right button to switch between adjusting brightness or style . After the adjustment is completed, long press the right button again to complete the setting. There are currently 12 lantern styles , and more beautiful patterns can be added in the future.
(Brightness is 2)
(Brightness is 99)
(Style 6)
Attachment Clock_Wifi is the code written
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet