Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 26th November 2008, 04:16 PM   #1
Default leds light up circuit needed?

hello guys
how r u all?

am a new member here . i have a problem which i want to light up for example : 4 leds one by one " led1 on then led2 on ...." like this . i dont know how to do that . can anyone plz help with the circuit design coz i need it for my project
coz am doing lift project and i want these leds light up with the movement of the lift ?

Last edited by cestudent; 26th November 2008 at 04:18 PM.
cestudent is offline  
Old 26th November 2008, 04:58 PM   #2
Default

If you just want a strip of 4 lights to light in sequence then have a look at the CMOS 4017. Connect outputs 1-4 to the LEDs and then link output 5 to the reset. Use a 555 timer or a crystal oscillator for the clock input
__________________
I don't necessarily understand it, I just talk a lot...
ormo is offline  
Old 26th November 2008, 05:24 PM   #3
Default

CircuitDB | 16 Stage Bi-Directional LED Sequencer theres a starting point
Ubergeek63 is offline  
Old 26th November 2008, 07:05 PM   #4
Default

A CD4017 can show LEDs sequencing one way directly and sequencing the other way through diodes.
__________________
Uncle $crooge
audioguru is offline  
Old 26th November 2008, 07:22 PM   #5
Default

Quote:
Originally Posted by audioguru View Post
A CD4017 can show LEDs sequencing one way directly and sequencing the other way through diodes.
if you do not mind being limited to 5 lamps

Last edited by Ubergeek63; 26th November 2008 at 07:28 PM.
Ubergeek63 is offline  
Old 26th November 2008, 08:31 PM   #6
Default

One CD4017 with diodes can light 6 LEDs back and forth.
More CD4017 ICs can be cascaded and with many more diodes to drive many more LEDs.
__________________
Uncle $crooge
audioguru is offline  
Old 27th November 2008, 08:46 PM   #7
Default

thank u " ormo , Ubergeek63 & audioguru" for ur help

but i have a question , can i control this chip with Pic with up/down sequence??

Last edited by cestudent; 27th November 2008 at 08:49 PM.
cestudent is offline  
Old 27th November 2008, 09:28 PM   #8
Default

This is a Cylon / Knight Rider LED sequence written for my Junebug kit.
It flashes 6 charlieplexed LEDs using a PIC18F1320
Code:
; DIP Switch (SW6) must have TUTOR on (SW6-1,2,3) all other switches off
list p=18F1320
include <p18F1320.inc>
CONFIG OSC = INTIO2, WDT = OFF, LVP = OFF
LED macro x,y ; MACRO LED <PORTA>, <TRISA>
    movlw x
    movwf LATA ; LATA = x
    movlw y
    movwf TRISA ; TRISA = y
    call Delay ; call the Delay subroutine
    endm ; end macro
Count equ 0 ; delay loop counter
    org 0 ; reset vector
    bsf ADCON1, 0 ; make RA0 digital
LED1  LED b'00000001', b'10111110' ; LED <PORTA>, <TRISA>
LED2r LED b'01000000', b'10111110' ; LED <PORTA>, <TRISA>
LED3r LED b'01000000', b'00111111' ; LED <PORTA>, <TRISA>
LED4r LED b'10000000', b'00111111' ; LED <PORTA>, <TRISA>
LED5r LED b'10000000', b'01111110' ; LED <PORTA>, <TRISA>
LED6  LED b'00000001', b'01111110' ; LED <PORTA>, <TRISA>
LED5l LED b'10000000', b'01111110' ; LED <PORTA>, <TRISA>
LED4l LED b'10000000', b'00111111' ; LED <PORTA>, <TRISA>
LED3l LED b'01000000', b'00111111' ; LED <PORTA>, <TRISA>
LED2l LED b'01000000', b'10111110' ; LED <PORTA>, <TRISA>
    bra LED1 ; loop forever
Delay decfsz Count, f ; decrement Count and skip when zero
    bra Delay ; not zero? repeat
    return ; return
END
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is online now  
Reply

Tags
circuit, leds, light, needed

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Light up 6 LEDs Suraj143 Electronic Projects Design/Ideas/Reviews 10 16th September 2008 08:29 AM
Can someone help me with a circuit that will light up 5 leds in parallel without usin Ishikawa Electronic Projects Design/Ideas/Reviews 29 2nd November 2007 09:02 PM
MC Brake Light - Circuit Help Needed I-See Electronic Projects Design/Ideas/Reviews 4 16th February 2007 03:28 AM
Traffic Light circuit design help needed? MrCrowley Electronic Projects Design/Ideas/Reviews 2 5th December 2003 07:07 AM
LIGHT CIRCUIT HELP NEEDED RON Electronic Projects Design/Ideas/Reviews 4 24th August 2003 08:56 PM



All times are GMT. The time now is 04:39 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker