📄 点阵式汉字led显示屏的原理与制作.htm
字号:
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>MOV A,#00H<SPAN
style="mso-spacerun: yes">
</SPAN></FONT></SPAN><FONT color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;清除屏幕</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>MOV P0,A</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>ANL P2,#00H<SPAN
style="mso-spacerun: yes"> </SPAN></FONT></SPAN></P>
<P class=MsoNormal><FONT color=#272727 font><SPAN lang=EN-US><SPAN
style="mso-spacerun: yes"> </SPAN>DJNZ
R6,L3<SPAN style="mso-spacerun: yes">
</SPAN></SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;一个字</SPAN><SPAN
lang=EN-US>16</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个码是否完成?</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>DJNZ R1,L16<SPAN
style="mso-spacerun: yes">
</SPAN></FONT></SPAN><FONT color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;每个字的停留时间是否到了?</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>MOV 20H,R0<SPAN
style="mso-spacerun: yes">
</SPAN></FONT></SPAN><FONT color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;取码指针存入</SPAN><SPAN
lang=EN-US>20H</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>CJNE
R0,#0FFH,L100 </FONT></SPAN><FONT color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;</SPAN><SPAN
lang=EN-US>8</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个字</SPAN><SPAN
lang=EN-US>256</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个码是否完成?</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><SPAN style="mso-spacerun: yes"><FONT
color=#272727 font>
</FONT></SPAN><FONT color=#272727 font>JMP LOOP </FONT></SPAN><FONT
color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">;反复循环</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US style="mso-spacerun: yes"><FONT
color=#272727 font> </FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font><SPAN
style="mso-spacerun: yes"> </SPAN>TABLE :</FONT></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT
color=#272727 font>;汉字“倚”的代码</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>db
01H,00H,02H,00H,04H,00H,1FH,0FFH</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>db
0E2H,00H,22H,00H,22H,0FCH,26H,88H</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>db
2AH,88H,0F2H,88H,2AH,0FAH,26H,01H</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font>db
63H,0FEH,26H,00H,02H,00H,00H,00H</FONT></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT
color=#272727 font>;以下分别输入天,一,出,</FONT></SPAN><FONT color=#272727 font>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">宝,刀,屠,龙,的代码,略。</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727
font>end</FONT></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><FONT color=#272727 font> <O:P>
</O:P></FONT></SPAN></P>
<P class=MsoNormal
style="TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><FONT
color=#272727 font><SPAN lang=EN-US
style="mso-spacerun: yes"> </SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电路中行方向由</SPAN><SPAN
lang=EN-US>p0</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口和</SPAN><SPAN
lang=EN-US>p2</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口完成扫描,由于</SPAN><SPAN
lang=EN-US>p0</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口没有上拉电阻,因此接一个</SPAN><SPAN
lang=EN-US>4.7k*8</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的排阻上拉。</SPAN>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如没有排阻,也可用</SPAN><SPAN
lang=EN-US>8</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个普通的</SPAN><SPAN
lang=EN-US>4.7k 1/8w</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电阻。为提供负载能力,接</SPAN><SPAN
lang=EN-US>16</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个</SPAN><SPAN
lang=EN-US>2n5551</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN
lang=EN-US>NPN</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">三极管驱动。</SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><FONT color=#272727
font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">列方向则由</SPAN><SPAN
lang=EN-US>4</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">—</SPAN><SPAN
lang=EN-US>16</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">译码器</SPAN><SPAN
lang=EN-US>74LS154</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">完成扫描,它由</SPAN><SPAN
lang=EN-US>89C51</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的</SPAN><SPAN
lang=EN-US>P1.0---P1.3</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控制。同样,驱动部分则是</SPAN><SPAN
lang=EN-US>16</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个</SPAN><SPAN
lang=EN-US>2N5401</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的三极管完成的。</SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><FONT color=#272727
font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电路的供电为一片</SPAN><SPAN
lang=EN-US>LM7805</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">三端稳压器,耗电电流为</SPAN><SPAN
lang=EN-US>100Ma</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">左右。</SPAN><SPAN
lang=EN-US><O:P> </O:P></SPAN></FONT></P>
<P class=MsoNormal
style="TEXT-INDENT: 21pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><FONT
color=#272727 font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">采用一块</SPAN><SPAN
lang=EN-US>12*20cm</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的万能电路板,应当选用质量好些的发光管,(否则有坏点现象,</SPAN>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">更换起来较麻烦)首先将</SPAN><SPAN
lang=EN-US>256</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个发光管插入电路板,注意插入方向,同时使高度一致,行方向直接焊接起来,</SPAN>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">列方向则搭桥架空焊接,完成后用万用表测试一下如有不亮的更换掉。</SPAN></FONT></P>
<P class=MsoNormal><SPAN lang=EN-US style="mso-spacerun: yes"><FONT
color=#272727 font> </FONT></SPAN><FONT color=#272727
font><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">然后找一个电脑硬盘的数据线,</SPAN>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">截取所需的长度,分别将行,列线引出至电路的相关管脚即可。原理图为了简洁,故只画出了示意图,行列方向只画出了</SPAN><SPAN
lang=EN-US>2</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个三极管,屏幕只画出</SPAN><SPAN
lang=EN-US>4</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个发光管,</SPAN>
<SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实际上发光管为</SPAN><SPAN
lang=EN-US>256</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">只,三极管行列方向各</SPAN><SPAN
lang=EN-US>16</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">只,一共</SPAN><SPAN
lang=EN-US>32</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">只。焊接过程认真仔细一天时间即可完成全部制作。将程序编译后烧写入</SPAN><SPAN
lang=EN-US>89c51, </SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插入</SPAN><SPAN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -