containsmachine

Digi_Dice

 
Overview

Version V2_change:
Use the external interrupt principle to trigger digital switching of the digital tube.
Use a common anode digital tube instead of a common cathode because the low-level drive capability of the microcontroller is stronger than the high-level drive capability.
The code is in the attachment. It is very simple and suitable for beginners to familiarize themselves with the principles of external interrupts.
The circuit is simple, but the layout is compact. Pay attention to the spatial relationship of components.
The initial idea was to use a CR1220 battery for power supply, but after checking the information, I found that the current consumption of the digital tube is tens of mA and the power consumption of the microcontroller is about 10mA. However, the CR1220 battery capacity is only 40mAh, and the data sheet recommends that the continuous current should not be greater than 0.05mA. , it can be seen that CR1220 battery is only suitable for very low power consumption. Therefore, in the end, the power supply of this project uses lithium batteries.
 
However, due to poor consideration when designing the board, the power interface is still suitable for the CR1220 battery holder, and there is no switch, which is inconvenient for charging lithium batteries.
If there is time, it will be improved in subsequent versions. Those who are willing to play around can also improve themselves.
 
 
2022.11.11 update
ver3 normal after verification.
Compared with the V2_change version, ver3 uses lithium battery + LDO to power the chip;
it also uses pin headers and jumper caps as switches to facilitate turning it off when not in use and to facilitate charging of the lithium battery.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-22 12:09:17

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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号