Video has been updated.
LD has always wanted a kitchen clock, so let’s take advantage of the sailing event and make one! The project is a high-precision LED electronic clock based on HK32F030MF4P6. First of all, I would like to thank Jialichuang, Hangshun and Chuangxin Workshop for their support. Thank you Chuangxin Workshop for providing the PowerLink programmer. A programmer can solve programming and serial communication at the same time, which is very powerful. Higher-end offline burning products are suitable for mass production. You don’t have to worry about firmware leakage. It’s very good and powerful!
Product characteristics of this project
Note that the project has two branches: 1. RX-8025T branch 2. DS3231 branch
The main chip uses Hangshun HK32F030MF4P6, and the normal price is said to be within 1RMB. Of course, the global chip market is now bullish, and its price has also risen a bit. It can replace ST's STM8S003, Xintang's N76E003AT2 and other 8-bit Flash MCUs. The hardware pins are compatible and it is said to be the lowest price among M0 core MCUs. The HK32F030M series uses the ARM® CortexTM-M0 core, with a maximum operating frequency of 32MHz, and built-in 16K-Byte FLASH, 448-Byte EEPROM and 2-KByte SRAM. Through the register configuration of the FLASH controller, the interrupt vector can be remapped in the 16K-Byte space. All pins of HK32F030M except power and ground can be used as GPIO, peripheral IO or external interrupt input (TSSOP20 package product supports 16 GPIO); providing the maximum possible number of pin signals in application scenarios with limited pin count. Please note when using it, it does not support 5V.
Using white high-value common anode digital tube
Using DS3231M with built-in MEMS, the accuracy is ±5ppm.
Designed with 3 side-mounted micro buttons to adjust the clock and countdown. Buzzer implements alarm prompt. Date adjustment and seconds adjustment are not involved, and the default number of seconds written each time is 0.
After several attempts, the RTT transplant failed, and it was finally decided to use bare metal to complete it.
The main business logic is completed using timers. I designed a total of four timers:
First version: RX-8025T, failed! ! Second edition: DS3231M, success! back:
front:
Can be plugged directly into the adapter of the 86 box
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