Project description: Use Essence esp-c3-12F wifi module to design an Internet of Things clock, equipped with real-time clock DS1302 chip and digital tube to design an Internet of Things clock
Function introduction and demonstration:
1. Automatically obtain network time through esp-c3-12FWiFi. Synchronize the time display on the digital tube
2. Use the DS1302 real-time clock chip to maintain the memory travel time. In order to ensure that the clock chip DS1302 can maintain the time memory travel time in the event of a power outage. Bring a button battery to the DS1302 so that the device can continue to run after power off, and use a 32.768KHz crystal oscillator to provide an accurate clock source to the chip.
3. Correction time method:
① . Manually adjust the time: You can press and hold the key2 button for 3 seconds, the digital tube will flash 2 times, enter the time setting, and set hours, minutes, and seconds respectively. Press key2 to key3 and key1 to add and subtract time respectively. Press key2 to switch the set hours, minutes or seconds.
②. Wireless distribution network settings: Press and hold the key2 button for 10 seconds to enter the network distribution mode, and use the network distribution function in the Anxinke Technology official account to configure the clock network.
③. Manually obtain the network time: If the time deviates after manually adjusting the time, and you want to obtain the time through the network, you can long press the key2 button for 5 seconds, let go after the digital tube flashes E, and the network time will be automatically obtained for correction.
④ Display date: Press and hold the key2 button for 12 seconds. The digital tube displays P and flashes once. Let go. The digital tube currently displays the date and will automatically return to the time after 50 seconds. If you need to quickly return to the display time, you need to press and hold the key2 button for 5 seconds or press RST to reset. Problems that may be encountered in key engineering:
1. Since I am a novice, I have jumped into a lot of pitfalls in software. It is my first time to come into contact with VM, ubantu, esp32, etc., and I have encountered many problems. How to solve these problems. If you don’t know how to use Baidu first, then you don’t know how to ask the classmates around you, and then you don’t know how to ask in the group. You must ask more and learn more, and learn the ability to find and solve problems.
2. The most difficult welding is the welding of the USB port. You need to be a little patient when welding here, otherwise the board will be easily scraped.
Through this study, I can barely get started.
Finally, I would like to thank Lichuang EDA and Anxinke for providing us with this learning and exchange platform opportunity. I have learned a lot and gained a lot from this study.
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