摘要
对于多个LED显示,在单片机的UART串口被占用时,可采用虚拟串口来扩展并行输出。利用 89C51单片机虚拟串口和74LS164移位寄存器可实现多路LED显示,介绍了硬件电路的设计,分析了串口方式0时序,并给出了参考程序。采用该方法设计的多路LED显示系统具有硬件结构简单、软件编程容易和价格低廉等特点。
As for multipath LED display, when UART serial port of single chip micro-computer is occupied, fictitious serial port can be used for extension with output in parallel running. By using 89C51 single chip micro-computer fictitious serial port and 74LS164 bit transfer storage device can fulfil multipath LED display, introduction to hardware circuit design was made with analysis on serial port method ZERO time sequence as well as reference program. The multipath LED display system designed with the method is with simple in hardware structure, easy in software programming and low in price etc.
关键词
单片机
串行口
LED显示
single chip micro-computer
serial port
LED display