1 Star 1 Fork 0

Alanble / DeskClock

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

introduction

This project made a small clock with ESP32. It can measure the temperature and humidity in real-time,displaying the current time and the future weather on screen. The temperature and humidity are measured through DHT11.The time is gotten by ntp server of aliyun.com while the future weather information is gotten from a website called Xinzhi Weather(心知天气).

Users can change the display picture by touching. Without touching,the picture will be display one by one for one second. When the temperature is too high,the buzzer will sing to remind user.

正面图

背面图

显示效果图

Environment

IDE: Arduino 2.0

Hardware Requirement

MCU: ESP32 Dev Module

Modules:

  • 543450 battery
  • charging module
  • touch module
  • buzzer module (trigged by low voltage level)
  • TFT display screen (communication in SPI)
  • DHT11 (temperature and humidity module)

PCB/Bread Board

Some DuPont Lines

Module Introduction

DHT11 module is a integrated digital temperature and humidity sensor. The measurement range of temperature is from -20℃ to 60℃ while the range of humidity is from 5% to 95%.Besides,the accuracy of temperature is 2℃ while the accuracy of humidity is 5%.The reason why it is chosen in this project is its small volume and the convenience in development. The sensor has been calibrated in advance,so it can be used in project right away.

Refer to the datasheet of DHT11,we can find the timing sequence of reading data. If we want to read the data in DHT11,we should decease the voltage of data pin to low voltage for at least 18 ms and than the master device,ESP32,can read the voltage signal sent by the slave device,DHT11.

MIT License Copyright (c) 2022 Alanble Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

使用Esp32制作的桌面小时钟。使用arduino IDE。 展开 收起
C/C++
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C/C++
1
https://gitee.com/alanble/desk-clock.git
git@gitee.com:alanble/desk-clock.git
alanble
desk-clock
DeskClock
master

搜索帮助