当前位置:网站首页>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 .
边栏推荐
- 13.模型的保存和載入
- Codeforces Round #804 (Div. 2)
- Get started quickly using the local testing tool postman
- EDP to LVDS conversion design circuit | EDP to LVDS adapter board circuit | capstone/cs5211 chip circuit schematic reference
- Continued from the previous design
- 2022-07-07: the original array is a monotonic array with numbers greater than 0 and less than or equal to K. there may be equal numbers in it, and the overall trend is increasing. However, the number
- Introduction to the types and repair methods of chip Eco
- General configuration tooltip
- Cve-2022-28346: Django SQL injection vulnerability
- Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
猜你喜欢

Prediction of the victory or defeat of the League of heroes -- simple KFC Colonel

Share a latex online editor | with latex common templates

Basic realization of line graph

Chapter VIII integrated learning

利用GPU训练网络模型

Common configurations in rectangular coordinate system

Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation

2.非线性回归

Redis, do you understand the list

Basic implementation of pie chart
随机推荐
3.MNIST数据集分类
利用GPU训练网络模型
Y59. Chapter III kubernetes from entry to proficiency - continuous integration and deployment (III, II)
新库上线 | CnOpenData中华老字号企业名录
How to write mark down on vscode
Several frequently used OCR document scanning tools | no watermark | avoid IQ tax
C# ?,?.,?? .....
12.RNN应用于手写数字识别
Image data preprocessing
Swift get URL parameters
Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
【深度学习】AI一键换天
10.CNN应用于手写数字识别
Invalid V-for traversal element style
Introduction to the types and repair methods of chip Eco
Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
Is it safe to speculate in stocks on mobile phones?
国内首次,3位清华姚班本科生斩获STOC最佳学生论文奖
Introduction to ML regression analysis of AI zhetianchuan
AI遮天传 ML-初识决策树