Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Hardware for multiplexing 16 LEDs with a PIC

Status
Not open for further replies.

Moof

Full Member level 2
Joined
Nov 21, 2003
Messages
149
Helped
7
Reputation
14
Reaction score
1
Trophy points
1,298
Location
Argentina
Activity points
1,230
I need to multiplex 16 LEDS with a pic, how can i make the hardware to do that?.

I need to see the 16's leds without flicking.
 

Kurenai_ryu

Advanced Member level 2
Joined
Jun 10, 2006
Messages
671
Helped
159
Reputation
316
Reaction score
99
Trophy points
1,308
Location
Bolivia
Activity points
5,913
Multiplexing LED

which PIC? 16 leds as 4x4 or 16x1 or 8x2...
If you have a program and its flicking, could you post it? so we can suggest over that? (maybe to long delay.. at 4x4 the column delay sholud be max 5ms, 1ms should be ok)
 

Moof

Full Member level 2
Joined
Nov 21, 2003
Messages
149
Helped
7
Reputation
14
Reaction score
1
Trophy points
1,298
Location
Argentina
Activity points
1,230
Re: Multiplexing LED

1. 16x1 led.


2. actually, is not flickering, but is not as bright as i want.

3. just using any pic, with timer 0 enabled and every interrupt i change the pin that drives the next led.
 

blueroomelectronics

Advanced Member level 5
Joined
Sep 17, 2006
Messages
1,686
Helped
179
Reputation
356
Reaction score
77
Trophy points
1,328
Location
Toronto, Canada
Activity points
8,700
Multiplexing LED

A 1/16 duty cycle is not going to be bright unless you drive the LEDs with fairly high current (60ma is often about right) Also keep your refresh rate around 50Hz per LED (800Hz for 16LEDs)
Of course the most you can get out of a single PIC pin is 25ma, you'll need a driver to get the full 60ma.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top