摘要
针对传统离线时钟系统因晶体振荡器频率误差而导致时间不准确的缺点,设计一款基于STM32与ESP8266的桌面型网络天气时钟系统。该系统将ESP8266模块接入路由器,通过对互联网时间API接口的访问,实现利用网络时间定期修正系统时间的功能。此外,ESP8266模块还实现了对互联网天气API接口的访问,可获取实况天气数据,为用户提供出行依据。系统配置240*135分辨率的IPS高清液晶屏,可实现天气与时间信息的可视化显示。经长时间运行测试,该系统具有较好的运行稳定性和准确性,可广泛用于家居及日常办公等场所。
A desktop network weather clock system based on STM32 and ESP8266 was designed to solve the time inaccuracy of the traditional off-line clock system due to the frequency error of crystal oscillator.In this system,the ESP8266 module is connected to the router,and through the access to the Internet time API interface,the system time can be modified periodically by using the network time.In addition,the ESP8266 module also realizes the access to the Internet weather API interface.It can obtain the live weather data for the users.The system is configured with IPS HD LCD screen with 240×135 resolution,which can realize the visual display of weather and time information.The long time running test shows that the system has good stability and accuracy,and can be widely used at home and in daily office.
作者
陈海峰
张义宽
CHEN Haifeng;ZHANG Yikuan(Department of Electronics,Software Engineering Institute of Guangzhou,Guangzhou 510990,China)
出处
《微型电脑应用》
2023年第3期21-24,共4页
Microcomputer Applications
基金
广州软件学院大学生实践教学基地项目(SJJD202101)。