#
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. 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)
Directly use esp8266 as the main control, without adding an additional main control such as stc or stm, saving costs.
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.
The serial port chip was CH340C, which is easy to solder, does not require an external crystal oscillator, and has a simple circuit.
20X20mm common cathode dot matrix model: 788 (AS)
Dot matrix driver, using Tianwei driver, I have used and written the driver, I feel good, it will automatically refresh
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
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.
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)**
# 五、程序
附件。。。(有时间在写写,各位有什么问题可以评论噢,有改进方案也可以一起讨论,点阵移动显示我觉得写得太垃圾了)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet