wehAyVIv1m

ESP Desktop Multifunctional Clock

 
Overview
Function Description:
1. DHT11 Module: Acquires real-time temperature and humidity data (DHT11 accuracy is relatively poor; it should only be used as reference data and should be placed away from the development board and chips).
2. Photoresistor: Uses ESP32 to sample the photoresistor voltage. The screen brightness can be adjusted in the program by setting the duty cycle of the TFT's BL pin based on the sampled value, saving power.
3. Buzzer: Uses a passive electromagnetic buzzer. The I/O port generates PWM to make the buzzer sound and control the volume, realizing an alarm clock function.
4. Buttons: K1 and K2 set the alarm hour and minute; K3: update weather via network; K4: update time via network; K5: stop buzzer sound.
5. After time update, automatically switches between daytime (7-18 PM) and nighttime backgrounds based on the actual time.
6. Uses weather data to display the day's lowest and highest temperatures, and displays four weather icons: sunny, cloudy, overcast, and rainy.

Circuit Description:
1. It's best to design an additional 3.3V LDO module, as relying solely on the development board's LDO will generate significant heat during continuous use.
2. The DHT11 should be kept away from the development board and other chips. During testing, it was found that the DHT11 was significantly affected by the development board's heat, resulting in a large difference between the measured and actual temperatures. 3.
The I/O pins for the K5 button and the development board's LEDs overlap; it's best to select a different I/O pin.
4. An additional 5V LDO power supply has been added, which can be omitted if powered solely by the Type-C port. The added LED is only for functional testing of the 5V LDO circuit and can be omitted.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-29 19:12:27

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号