当前位置:网站首页>Four digit nixie tube display multi digit timing
Four digit nixie tube display multi digit timing
2022-07-08 01:13:00 【xanadw】
Catalog
One 、 A total of four anode digital tubes
Preface
A total of four anode digital tube display 0-9 For a single number, you only need to control the corresponding pin level , But if you need to display multiple numbers , It is not only necessary to control the corresponding level , We also need to use the afterglow effect of human eyes , Achieve by high refresh rate .
One 、 A total of four anode digital tubes
The pin of this four digit nixie tube 12、9、8、6 The corresponding ones are 1、2、3、4 Bit digital strobe signal , Pin 11、7、4、2、1、10、5、3 They correspond to digital tubes a、b、c、d、e、f、g、dp The signal of , The common anode is lit at low level .
Two 、 Show numbers
- The main controller uses arduino nano plate , Connection table of corresponding pins .
Position selection 1
Position selection 2
Position selection 3
Position selection 4
a
b
c
d
e
f
g
dp
12
9
8
6
11
7
4
2
1
10
5
3
P13
P10
P9
P7
P12
P8
P5
P3
P2
P11
P6
P4
1. Display a single number
- Clear all bits :
void clear() { digitalWrite(13,LOW); digitalWrite(10,LOW); digitalWrite(9,LOW); digitalWrite(7,LOW); digitalWrite(12,LOW); digitalWrite(8,LOW); digitalWrite(5,LOW); digitalWrite(3,LOW); digitalWrite(2,LOW); digitalWrite(11,LOW); digitalWrite(6,LOW); digitalWrite(4,HIGH); }
- Show numbers 0:
void num0() { digitalWrite(12,LOW); digitalWrite(8,LOW); digitalWrite(5,LOW); digitalWrite(3,LOW); digitalWrite(2,LOW); digitalWrite(11,LOW); digitalWrite(6,HIGH); digitalWrite(4,HIGH); }
Show numbers 1:
void num1() { digitalWrite(12,HIGH); digitalWrite(8,LOW); digitalWrite(5,LOW); digitalWrite(3,HIGH); digitalWrite(2,HIGH); digitalWrite(11,HIGH); digitalWrite(6,HIGH); digitalWrite(4,HIGH); }
2. Display multiple digits
Show numbers 10:
void num10() { digitalWrite(9,HIGH); num1(); delay(1); clear(); delay(1); digitalWrite(7,HIGH); num0(); delay(1); clear(); delay(1); }
You must add one delay Time delay , Otherwise, only numbers will be displayed 0. The delay time can be adjusted according to your own needs .
summary
Only two digits are shown here , The principle of displaying three digits and four digits is the same , Display the corresponding number by controlling the strobe bit , The delay should be as small as possible , It's OK to reach the resolution that the eye can't find the refresh .
边栏推荐
- 第四期SFO销毁,Starfish OS如何对SFO价值赋能?
- NTT template for Tourism
- Common effects of line chart
- High quality USB sound card / audio chip sss1700 | sss1700 design 96 kHz 24 bit sampling rate USB headset microphone scheme | sss1700 Chinese design scheme explanation
- General configuration tooltip
- [deep learning] AI one click to change the sky
- Scheme selection and scheme design of multifunctional docking station for type C to VGA HDMI audio and video launched by ange in Taiwan | scheme selection and scheme explanation of usb-c to VGA HDMI c
- 1. Linear regression
- 11.递归神经网络RNN
- Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
猜你喜欢
AI zhetianchuan ml novice decision tree
12.RNN应用于手写数字识别
Recommend a document management tool Zotero | with tutorials and learning paths
EDP to LVDS conversion design circuit | EDP to LVDS adapter board circuit | capstone/cs5211 chip circuit schematic reference
完整的模型验证(测试,demo)套路
How to use education discounts to open Apple Music members for 5 yuan / month and realize member sharing
第四期SFO销毁,Starfish OS如何对SFO价值赋能?
11. Recurrent neural network RNN
USB type-C docking design | design USB type-C docking scheme | USB type-C docking circuit reference
Know how to get the traffic password
随机推荐
Su embedded training - Day6
Generic configuration legend
The weight of the product page of the second level classification is low. What if it is not included?
Su embedded training - Day8
What does interface testing test?
Kuntai ch7511b scheme design | ch7511b design EDP to LVDS data | pin to pin replaces ch7511b circuit design
jemter分布式
14. Draw network model structure
13. Model saving and loading
Jemter distributed
Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
Markdown learning (entry level)
C#中string用法
串口接收一包数据
7.正则化应用
Basic realization of line graph
Su embedded training - Day7
AI zhetianchuan ml novice decision tree
FOFA-攻防挑战记录
[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation