Led light bar

Discussion in 'Electronic Projects' started by Aphayes1, Aug 12, 2017.

  1. Aphayes1

    Aphayes1

    Joined:
    Aug 12, 2017
    Messages:
    3
    Likes Received:
    0
    Hello this is my first post but i will be posting more due to upcoming projects.
    I was wondering if anyone can tell me an easy circuit for a light bar, what i want it to do is light up one bar at a time with the press of one button then go down with the press of another, the project is a startrek phaser.
    i will also be wiring in a laser module and another led but that will be the easy part ''i hope''
    I just have no idea on how to do this part of it.

    Any help would be greatly appreciated, thank you.

    This is the type.
    https://www.sparkfun.com/products/9938
     
    Aphayes1, Aug 12, 2017
    #1
    1. Advertisements

  2. Aphayes1

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,102
    Likes Received:
    560
    A universal shift register should do the job for you.
    If you had used only 8 LEDs the 74HC299 would be a perfect choice.

    One side input is permanently shifting in "1"s ,
    the other is permanently shifting in "0".
    You will control the direction of the shift with S0,S1 lines(via switches).
    And clock the device with a low speed clock.
     
    dorke, Aug 12, 2017
    #2
    1. Advertisements

  3. Aphayes1

    Aphayes1

    Joined:
    Aug 12, 2017
    Messages:
    3
    Likes Received:
    0
    but im usding a bar as its the perfect fit and others have used these to gfive the ull effect.
     
    Aphayes1, Aug 12, 2017
    #3
  4. Aphayes1

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,102
    Likes Received:
    560
    You can add another IC to get 10 bits
    ,not a problem.
    Would a "volume knob" instead of the switches be o.k?
     
    dorke, Aug 12, 2017
    #4
  5. Aphayes1

    Aphayes1

    Joined:
    Aug 12, 2017
    Messages:
    3
    Likes Received:
    0
    Aphayes1, Aug 12, 2017
    #5
  6. Aphayes1

    dorke

    Joined:
    Jun 20, 2015
    Messages:
    2,102
    Likes Received:
    560
    So,
    You need to cascade two 74HC299 to get 10 bits.

    That would be a nice little project for you.
    Try it and you can get some help here as well.

    If you knew some VHDL you could program a small PLA to do the all thing.
    It can be done with a uC as well,some software knowledge is needed for that.
     
    dorke, Aug 12, 2017
    #6
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Raventy

    Light bar on LCD screen

    Raventy, Aug 31, 2006, in forum: Electronic Repair
    Replies:
    0
    Views:
    587
    Raventy
    Aug 31, 2006
  2. Raventy

    Light bar on LCD screen

    Raventy, Aug 31, 2006, in forum: Electronic Repair
    Replies:
    3
    Views:
    600
    Morse
    Aug 31, 2006
  3. DenisNH

    Photocell Light Level Controls Bar Graph

    DenisNH, Dec 3, 2006, in forum: General Electronics Chat
    Replies:
    1
    Views:
    1,132
    gravesend
    Jan 5, 2010
  4. Skybuck Flying
    Replies:
    1
    Views:
    863
    Skybuck Flying
    Dec 19, 2009
  5. samsm255

    This possible to make? (Led Light bar)

    samsm255, Mar 28, 2013, in forum: Electronic Projects
    Replies:
    11
    Views:
    1,123
    sheldonstv
    Apr 6, 2013
  6. williamsjp2004

    LED light bar help

    williamsjp2004, Dec 16, 2014, in forum: Circuit Help
    Replies:
    7
    Views:
    491
    Scotophor
    Dec 18, 2014
  7. haven't got a scooby

    led light bar

    haven't got a scooby, Oct 10, 2015, in forum: Electronics Repair
    Replies:
    9
    Views:
    465
    Martaine2005
    Oct 10, 2015
Loading...