dbelgard Posted September 13, 2006 Report Share Posted September 13, 2006 Hoping you can help We would like to use a Basic Micro Or PIC to turn on and off 51 LED Quote Link to comment Share on other sites More sharing options...
Theatronics Posted September 13, 2006 Report Share Posted September 13, 2006 Try using a (MosFet N-Channel Enhancement mode) to actually switch the LEDs on and off. Many fets can be connected directly to a microcontroller. (NOT all, check your datasheet)For 50 of them, There may be a PIC that has 44 I/O pins but I'd suggest a different method.Look into "Serial In / Parallel Out" Shift Registers. You can string them together end to end.There is a Serial in pin and a serial Out pin and then (usually) 4 or 8 output pins.There is also a /Latch/ or /Load/ pin.Then by placing the on and off signals on a data line and pulsing a second line to provide a clock signal, you can load all 50 bits in 50 clock pulses. Then just send one more pulse to the /Latch/ pins and all 50 bits will load into the registers at the same time.Tie a logic driven MosFet to each output and you can drive nearly any load.With a system like this you can create a single board that has 8 drivers on it and then replicate that board 8 times to get 64 outputs.The PIC doesn't care, it just sends out 65 bits and 64 clock pulses followed by a latch signal.Many Pinball games and Slot machines operate all the lights and some of the playfield systems using this method.-Mike Quote Link to comment Share on other sites More sharing options...
lancelot Posted December 3, 2006 Report Share Posted December 3, 2006 This is somewhat what I'm trying to accomplish...can you add any comments? assistance?http://www.electronics-lab.com/forum/index.php?topic=9409.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.