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;
 
Related Devices
Devices Class introduce Datasheet
PRA135I2-172KDPBT31 Passive components;The resistor Array/Network Resistor, Isolated, Thin Film, 0.125W, 172000ohm, 100V, 0.5% +/-Tol, -10,10ppm/Cel, 1107, Download
JMK212BJ226MG-T Passive components Multilayer Ceramic Capacitors MLCC - SMD/SMT 22uF 6.3V X5R +/-20% 0805 Gen Purp Download
K2-1817UQ-A4SW-01 Download
MPCA-0630-1R0-M Passive components;Power inductor Accuracy: ±20% Rated current: 12A DC resistance (internal resistance): 7.4mΩ Inductance value: 1uH Download
FJ4401AG LED optoelectronic/LED;LED digital tube Number of digital tubes: 4 Lighting color: Green Circuit connection type: Cathode (negative pole) Display size of the digital tube: 0.4'' (10.16mm) Download
ELCH08-KB5060J7J9283910-FDX Download
RS-03K332JT Passive components;SMD resistor Resistance (ohms): 3.3K Accuracy: ±5% Power: 1/10W Temperature coefficient: ±100ppm/°C Download
RC0603JR-07100KL Passive components;SMD resistor Resistance (ohms): 100K Accuracy: ±5% Power: 1/10W Temperature coefficient: ±100ppm/°C Download
RS-03L2004FT Passive components;SMD resistor Resistance (ohms): 2M Accuracy: ±1% Power: 1/10W Temperature coefficient: ±250ppm/°C Download
RMC06031M1%N SMD resistor Download
LR1206-21R010F4 Passive components;Patch low resistance of sampling resistor Power: 1W Accuracy: ±1% Resistance (ohms): 0.01 Temperature coefficient: ≤±75 ppm/℃ Alloy resistor Download
1206W4F200JT5E Passive components;SMD resistor Resistance (ohms): 20 Accuracy: ±1% Power: 1/4W Temperature coefficient: ±200ppm/°C Download
AMS1117-3.3 Power/power management;The power supply circuit Output type: Fixed Maximum input voltage: 15V Output current: 1A Output voltage (minimum value/fixed value): 3.3V 3.3V fixed output, low voltage difference 1.1V(typ)@Iout=1A, Vin=15V(Max) Download
HT7219ARWZ Download
DS1302ZM/TR Download
IP5209 Power/power management;Battery power management chip 2.1A charging, 2.4A discharging, integrated DCP function mobile power supply SOC, a complete power bank solution, no NTC function Download
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-15 01:24:14

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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号