Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LED panel :minimum I/O pins

Status
Not open for further replies.

inferno_nsit

Newbie level 5
Joined
Sep 5, 2006
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
Hi all ,

I want to implement PWM on RGB colored LEDS and want to make a panel out of it ,
the idea i have in my mind is to control individual components of R,G and B of each LED by 3 I/O pins of a microcontroller and generate many colors.
But to make a panel i need to incorporate a gigantic number of I/O pins to make all the LEDs work as a single LED requires 3 IO pins
Is their any other method to do the same with using lesser number of IO pins.

looking forward for a viable solution.
 

Ouch! That's a lot of I/O man!

Well, you might try a bunch of 3-line serial-to-parallel 8 bit sinking driver ICs like the Allegro A6821 or the pin-for-pin compatible Micrel MIC5821. There are a couple 'tricks' you can use to load the serial data into a bunch of them in parallel on a bus. For example, connect the DAT input on eight driver ICs to a unique pin on an 8 bit bus. The CLK and LAT pins on all eight driver ICs should be connected together and driven by another two pins. Load 64 bits of data into the eight shift registers by throwing eight bytes onto the 8 bit bus, each byte followed by a CLK pulse. Those eight bytes would need to be formatted with all of the b7 bit data in one byte, all of the b6 bit data in one byte, and so on.

One possible advantage of using the Allegro or Micrel drivers is that you can drive their Output Enable pins from a PWM signal for brightness control. In the case of a more traditional multiplexed display, you would simply use a PWM period equal to the column or row "scan" rate.

Good luck with your project. Mike
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top