微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > 电子工程师杂谈 > 哪位高手能给我解释解释单片机点阵扫描原理不谢谢!

哪位高手能给我解释解释单片机点阵扫描原理不谢谢!

时间:10-02 整理:3721RD 点击:
单片机菜鸟请求帮忙!

点阵扫描原理


你说的扫描属于动态显示,一般都会有译码器,以行扫描共阳点阵为例,行线高电平为选通,相对应的列线导通则点亮某个LED。比如行为第一行高电平其余低电平,列给第一列为低电平其余高电平,则第一行第一列那个LED亮其他灭,你可以想象成坐标,一般取左上角LED为0,0坐标。再举例,当行译码+列为输出寄存器的驱动芯片,如595,573等,当第一行高电平其余低电平,列驱动上595为0001 0000则第一行除了第四个LED不亮,其他都亮。当然,如果你电源能提供的最大电流有限的话还是用译码+译码方式即每次少么单个LED亮。扫描根据视觉暂留的原理显示。就是说,点阵上看到的一些亮点是在你看到的那一时刻之前点亮的,从第一个到最后一个亮的LED的时间<视觉暂留时间即0.1S视觉上会呈现不闪动图像。

file:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPG如果我想显示0-9的动态显示用这个程序就可以但是我还是不太清楚他的原理高手可以在指点一下吗?谢谢! file:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPGfile:///c:/users/ADMINI~1/appdata/roaming/360se6/USERDA~1/Temp/201311~1.JPG

例如这个电路图


和点亮数码管不是一样的吗

行扫描,在加列扫描,用循环

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top