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

For LED experiences college

Status
Not open for further replies.

pasicr

Advanced Member level 1
Joined
Aug 13, 2005
Messages
440
Helped
39
Reputation
80
Reaction score
29
Trophy points
1,308
Location
Macedonia
Activity points
4,213
Hi for all, I need advice from college with experiences in led driving, I have 50 led in series and I need driver with pic micro for example, also I need to light only 3 or 4 leds in same time and this will be shifted, to get moving athom effect in elipse...
regards
 

pasicr

Advanced Member level 1
Joined
Aug 13, 2005
Messages
440
Helped
39
Reputation
80
Reaction score
29
Trophy points
1,308
Location
Macedonia
Activity points
4,213
I send three logic 1 and nothing else, only clock and shift with shift register...
regards
 

nandhu015

Advanced Member level 5
Joined
Feb 11, 2006
Messages
1,965
Helped
300
Reputation
600
Reaction score
224
Trophy points
1,353
Location
India
Activity points
9,829
Can you post the circuit so that we can help you

Nandhu
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

pranam77

Advanced Member level 5
Joined
Apr 22, 2008
Messages
2,786
Helped
552
Reputation
1,102
Reaction score
371
Trophy points
1,363
Location
INDIA
Activity points
16,414
Instead of using PIC micro for such simple design, Just go ahead with a 10 channel chaser design with 555 and CD4017 and connect 5 led's per channel. You can also decrease the channel outputs by connecting the reset pin 15 to respective outputs where you want the count to reset. Have a look at the 10 channel LED chaser in the given link below. Cheers
http://www.qrp.pops.net/LEDs.asp
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

sahu

Advanced Member level 2
Joined
Oct 9, 2009
Messages
516
Helped
67
Reputation
128
Reaction score
61
Trophy points
1,308
Location
Uttar pradesh (INDIA)
Activity points
3,887
pasicr said:
Hi for all, I need advice from college with experiences in led driving, I have 50 led in series and I need driver with pic micro for example, also I need to light only 3 or 4 leds in same time and this will be shifted, to get moving athom effect in elipse...
regards
i hope its help u.
injoy with it
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,422
Helped
138
Reputation
276
Reaction score
38
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,970
pasicr said:
I have 50 led in series [...] I need to light only 3 or 4 leds in same time and this will be shifted [...]
Which of the following scenarion do you want to acheive ?
- light 1,2,3,4 then 2,3,4,5 then 3,4,5,6 etc
- light 1,2,3,4 then 5,6,7,8 then 9,10,11,12 etc

Another question - how much current do you need to drive?
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

pasicr

Advanced Member level 1
Joined
Aug 13, 2005
Messages
440
Helped
39
Reputation
80
Reaction score
29
Trophy points
1,308
Location
Macedonia
Activity points
4,213
scenario light 1,2,3,4 then 2,3,4,5 then 3,4,5,6 etc
I use red 5mm led...
regards
 

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,422
Helped
138
Reputation
276
Reaction score
38
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,970
pasicr said:
scenario light 1,2,3,4 then 2,3,4,5 then 3,4,5,6 etc
I use red 5mm led...
In this scenario, essentially, you need individual drive for each LED. I would recommend common anode* for all 50 LEDs instead of connecting them in series. Cathodes connected to a shift registers. I don't have the part number for the shift register on the top of my head. But I'm sure folks here can suggest specific parts.

- Nick

* Common cathode could work as well. I'll stick with common anode for certainty.
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

matbob

Full Member level 2
Joined
May 15, 2008
Messages
128
Helped
26
Reputation
52
Reaction score
12
Trophy points
1,298
Location
KERALA
Activity points
2,061
Hi pasicr,

You could use 'Charlieplexing'. But the output intensity may not be appreciable. Also you need multiplexing and with 8 uC pins you can control almost 56 LEDs(individually).
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

sabu745

Junior Member level 1
Joined
Dec 7, 2009
Messages
19
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Location
KERALA,INDIA
Activity points
1,356
Use any microcontroller and led drive with a transistor through port pins.A simple program to drive LED
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

vysakhpillai

Junior Member level 2
Joined
Jun 10, 2008
Messages
23
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,283
Activity points
1,375
use a 4017 (10 bit ring counter) to source/sink the current and the PIC to sink/source teh current in an array (just as u connect the keypad matrix)
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

gooofy871

Member level 2
Joined
Sep 8, 2008
Messages
46
Helped
13
Reputation
26
Reaction score
11
Trophy points
1,288
Activity points
1,517
put the vales want to move in a matrix and write a routine to cal them accordingly..
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

sn_burki

Full Member level 5
Joined
Feb 18, 2003
Messages
260
Helped
16
Reputation
32
Reaction score
11
Trophy points
1,298
Location
Pakistan
Activity points
1,623
matbob said:
Hi pasicr,

You could use 'Charlieplexing'. But the output intensity may not be appreciable. Also you need multiplexing and with 8 uC pins you can control almost 56 LEDs(individually).
Hi
I have the same problem, I want to operate 10 LEDs in series at a time, and want with ful glow. I tried it but intensity is not goood and when I put it off by a UC the do not switch off completely mean the slightly glow.

plz help
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

fajarelektro

Member level 1
Joined
Oct 26, 2007
Messages
36
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
1,493
There are so many display controller that will help you. I used Max7219 to drive 640 leds in an array..
 

    pasicr

    points: 2
    Helpful Answer Positive Rating

C.Rama Murthy

Newbie level 2
Joined
Feb 19, 2010
Messages
2
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
India,Hyderabad
Activity points
1,303
Hi Pasicr, As Nick has suggested above, use shift registers 74HCT595 with Output enables grounded and seven(7X8=56LEDs) of them in a cascaded(Serial out of one to serial in of another) fashion.Connect them either to SPI port or simple I/O pins and use bit banging to shift data needed.If you connect the anodes of LEDs to +5V, then a 0 in the shifted data will turn the LED on. While the current is internally limited, it would be good to use a limiting resistor of 220Ohms or so.Three succesive zeroes and remaining 1s will display your 3 led on pattern.Shifting the pattern and latching will give moving pattern effect. Here as there is storage, you can clock the new data without disturbing the old pattern till it is latched.Multiplexing and Charlieplexing will help save circuitry, but if you are not an advanced hobbyist, it gets complicated. Try simple and sure ones and your ellipse will become attractive.
 

    pasicr

    points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top