3228

[Training Camp] ESP32 IoT clock powered by 18650

 
Overview

Use ESP32 networking for clock calibration, and use DS1302 locally to achieve local travel time without network. Powered by 18650 batteries (many in the lab) and charged using IP5209.

In addition to the functions in the routine, there are also:

  • Modification: KEY3 is used as an IP5209 LED light button;
  • Modification: Since only KEY2 is used as the setting time button, modify the setting time 0-23 cycle, minute 0-60 cycle and second 0-60 cycle;
  • Modification: Add software anti-shake to prevent multiple clicks when setting the time;
  • New: Year and month display, use KEY2 to switch
  • New: power display, use KEY2 to switch
  • New: 18650 battery is charged using IP5209

BUG:

  1. I made a mistake in the hardware design and even forgot about the DS1302 crystal oscillator. It took me a long time to find out;
  2. The purpose of pasting a piece of paper on the digital tube is to make the picture clearer. In the future, you can get a plastic piece to filter the light, otherwise the numbers will not look good;
  3. The function of IP5209 is incomplete, IIC has been having problems, and it feels like there is a problem with the hardware. IP5209 has been unable to enter IIC mode. We will continue to work on it later. Let’s do this for now. Power supply and other things are no problem;
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-08 12:44:49

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号