原创 3D LED 一些文章

2008-5-29 23:22 3308 9 9 分类: 工程师职场
3D LED Charlieplex Cube from Chrismas Tree Lights

http://www.instructables.com/id/3D-LED-Charlieplex-Cube-from-Chrismas-Tree-Lights/

Charlieplexing LEDs- The theory

http://www.instructables.com/id/Charlieplexing-LEDs--The-theory/

How to drive a lot of LEDs from a few microcontroller pins.

http://www.instructables.com/id/How-to-drive-a-lot-of-LEDs-from-a-few-microcontrol/

Microdot - wrist watch LED pattern timepiece

http://www.instructables.com/id/Microdot---wrist-watch-LED-pattern-timepiece/

Minidot 2 - The holoclock

http://www.instructables.com/id/Minidot-2---The-holoclock/

Charlieplexing - Reduced Pin-Count LED Display Multiplexing

http://www.maxim-ic.com.cn/appnotes.cfm/an_pk/1880

用8引脚的微控制器控制带多个LED的两位数字显示

http://www.ed-china.com/ART_8800024025_500005_400002_TS_c429b65c.HTM


 


3个IO口驱动6个LED


原文来自:常青藤研发部落,作者:xlander


最普通的行列矩阵式驱动,可以用N+M个IO驱动N*M个LED。而这种被叫做Charlieplexing的方法可以用N个IO驱动N*(N-1)个LED。也就是说要驱动6个LED,用行列式需要5个口,而这种方法只要3个。LED也多,节省的IO越多。比方说驱动20个LED,行列式要用9个,而这种只要5个。

这么做有个前提,IO口要有三种状态:高电平输出、低电平输出、高阻输入,利用“行列分时复用”的思想,设计电路。

FDR41GC8RYEP27Y2FY.MEDIUM.jpg

F5L6H65IY7EP27ZDJ3.MEDIUM.jpg

其实这也不是什么新的技术了,在网上,我找到了好多关于这方面的文章:
Charlieplexing - Reduced Pin-Count LED Display Multiplexing
http://www.maxim-ic.com/appnotes.cfm/appnote_number/1880
Tips ''''n Tricks 8-pin FLASH PIC Microcontrollers
http://ww1.microchip.com/downloads/en/DeviceDoc/40040b.pdf
how to drive a lot of LEDs from a few microcontroller pins
http://www.instructables.com/id/E5COF05YF6EP287ITF/
connect 6 leds using 3 microcontroller pins
http://www.scienceprog.com/conne ... crocontroller-pins/

文章评论0条评论)

登录后参与讨论
我要评论
0
9
关闭 站长推荐上一条 /2 下一条