177kD8p0l

Internet weather clock based on Liangshan School

 
Overview

1. Description
1. Project goals:
1. Synchronously display the current time and week.
2. Get the temperature conditions of your city.
3. Update the current temperature, humidity and air pressure in real time.
2. Function introduction
1. Use the ESP-01s module to connect to wifi and send the temperature API to Xinzhi Weather.
2. Obtain the current temperature, humidity and air pressure conditions through the SHT31 temperature and humidity sensor and BMP180 air pressure sensor.
3. Display the obtained data on the OLED screen.
4. Buttons and buzzers are reserved to provide possibilities for subsequent development.
3. Shortcomings and improvements
1. The program uses variables to store time and does not use the system rtc.
2. The humidity collection accuracy of SHT31 is not high.
3. The project is only designed for transplant verification.
4. Used to know the limitations of the weather free version, which can only obtain the current city weather conditions
. 5. Regarding the weather display, which may be too long, you can classify light rain, etc. as rain in the program.
4. Detailed instructions
1. Use Xinzhi Weather to obtain the weather (free personal version). You can only obtain the current city weather. Please go to the official website to register and receive the private key
. 2. When plugging the module directly, please pay attention to the module pin connection direction
. 3. Purchase Address BMP180: https://m.tb.cn/h.506iJyV?tk=4mbrdtPKDEs
                        SHT31: https://m.tb.cn/h.506ieGM?tk=3wqudtPKzrx
                        ESP-01S: https://m.tb .cn/h.5bx0Z3K?tk=aqPpdtPKwoh
                        OLED: https://m.tb.cn/h.506QAea?tk=duWDdtPIHBA (4PIN 0.96 inch) According to this PCB pin order is (GNDVCCSCLSDA)
4. BMP180SHT31OLED in this project All use IIC communication, ESP-01S uses serial port (USART1) communication
5. Screen display information description:
First row: Weekly calendar
Second row: Whether the WIFI module is online Current time
Third row: Weather Current temperature (indoor) / city temperature
Fourth row: humidity, air pressure
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 06:16:09

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号