ZsHxbT

0.8-inch TM1650 Desktop Electronic Clock and Thermometer (Fully Upgraded Version)

 
Overview
The TM1650 can adjust the brightness of the digital tube using PWM and can be used as a button. It can also expand the microcontroller's I/O. For constant current driving, the common cathode digital tube must be selected.
A solution for a black screen on the digital
tube is as follows: Strangely, if the "Clear EEPROM after download" option is checked when using the STC programming software, the digital tube will not light up. This issue has not been observed in DIY projects using this microcontroller base. It's possible that the TM1650's button scanning is causing a bug. The solution is as follows: Download twice. Before the first download, add "//" before "eeprom_init();" in the main page to block it. Also, check the "Clear EEPROM" option in the download software. Before the second download, remove the `eeprom_init();` comment from the main page and uncheck the EEPROM box in the programming software. After the second download, it will light up and function normally.
A brown acrylic shell has been added for a softer lighting effect.
 
//The source code and PCB for the above works are publicly available. Search for the username "奇奇爱上单盘机" on the "LCSC Open Source Hardware Platform". //Microcontroller model: STC8G1K08 1. When programming, be sure to select built-in IRC=30MHz. 2. Set the reset pin to the IO port. 3. Uncheck the option to erase the user EEPROM area when downloading the user program.
/*No technical support provided, just sharing for free out of passion. An open source blogger; works are for use only and not for commercial use. Questions can be discussed in the comments section below. */ This solution was designed by: Qiqi 
(Douyin: The Cutest Mr. Qiqi in the Universe; Kuaishou ID: Qiqi Loves Microcontrollers; Bilibili: Qiqi Loves Microcontrollers); QQ: 1715755109 (For custom microcontroller programs and PCB designs, add me as a friend and indicate your purpose. Paid design services available; serious inquiries only). QQ Group: 499067314 (Welcome all microcontroller enthusiasts to join the group; group files and materials are available for free download).
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-23 13:29:38

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号