念慈菴

[Training Camp] IoT clock based on ESP32 +1491378A

 
Overview

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:9af06897b796f1922d1bf6736d31164.jpg d2a64f1f9bf1945ef6f3ab11f5c9dd2.jpg

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.


参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 16:19:31

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号