他们逼我做卧底

Clock Master_ESP8266

 
Overview

#

High-precision networked clock based on ESP8266

What this project is producing is an Internet of Things clock, which costs about 50 yuan. It is based on the drawing of an up master on bilibili, but the chip used is different, with a few changes (up master: HACK laboratory, jump: https://space.bilibili.com/395145107?from=search&seid=17286373774098928182 ) An ESP8266-12F WiFi module and DS3231 clock chip are used, four LED dot matrix are used as the display part, and two Tianwei TM1650 are used to control the LED dot matrix driver. Directly use ESP8266 as the main control to control TM1650 and DS3231 clock chips. When not connected to the Internet, you can directly read the clock chip to obtain the time. Network status can be updated regularly.

**Remarks:** Driver board engineering connection: https://oshwhub.com/ruijuan/ju-zhenled-shi-zhong

1. Basic functions

1. WiFi networking, ESP8266’s SNTP mode to obtain network time

2. Adopt the smart mode of esp8266 (Anxin can connect to the public account)

3. Control DS3231 reading and writing time

4. LED dot matrix display time

5. Implement stopwatch function (to be developed)

2. Device selection

ESP8266-12E

Directly use esp8266 as the main control, without adding an additional main control such as stc or stm, saving costs.

AMS1117-3.3

Use 1117 to convert the USB input 5V voltage to 3.3V. The output 3.3V is very stable with very small deviation, so I chose this voltage regulator chip.

CH340C

The serial port chip was CH340C, which is easy to solder, does not require an external crystal oscillator, and has a simple circuit.

8X8 dot matrix

20X20mm common cathode dot matrix model: 788 (AS)

TM1650

Dot matrix driver, using Tianwei driver, I have used and written the driver, I feel good, it will automatically refresh

Touch the button

Two buttons are designed, one is the reset button RES, and the other is the download button BOOT. When downloading, you must first press and hold the BOOT button, then press the reset button RES, and then release the two buttons to download the program. There are no plus and minus buttons for adjustment, everything is adjusted online. Download PDF document for specific operations

3. Design ideas

1. Use ESP-12F to connect directly to Alibaba Cloud without the need for other controllers.

2. In the design and development stage, a CH340 should be added for programming and debugging.

3. Adding a DS3231 can realize time output without Internet connection

4. LED dot matrix display time, mainly because the dot matrix display is more beautiful, and the font style can also be modified.

4. PCB design

The PCB design uses a three-layer structure, which is the same as that of the big guys at station B. It is equivalent to copying other people's ideas ( the clock made by HACK laboratory is available on a certain treasure, I don't know if it is still available), and it is changed to a different one. The control method is DIY (the boss’s address: https://space.bilibili.com/395145107?from=search&seid=17286373774098928182 )

The first layer is the main control board, including ESP8266, DS3231 and CH340. The second layer is the TM1650 driver. The third layer is the LED dot matrix and a black acrylic board.

**      第二层的驱动板工程连接:[https://oshwhub.com/ruijuan/ju-zhenled-shi-zhong](https://oshwhub.com/ruijuan/ju-zhenled-shi-zhong)**

# 五、程序

附件。。。(有时间在写写,各位有什么问题可以评论噢,有改进方案也可以一起讨论,点阵移动显示我觉得写得太垃圾了)
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-06 15:49:12

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号