Connect with us

4 LEDs 4 switches

Discussion in 'LEDs and Optoelectronics' started by helix, Jun 19, 2013.

Scroll to continue with content
  1. helix

    helix

    2
    0
    Jun 19, 2013
    I need help with a circuit design. I need 4 LEDS set up so each one is tied to a switch but only one can be on at a time and pushing the switch one is tied to has to turn off the other LED. Could anyone help me with this design?

    Thanks
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,496
    2,837
    Jan 21, 2010
    1) Use a bank of switches where pressing one releases the others

    2) Use a series of latches where each button resets the other latches

    3) Use a microcontroller

    Frankly, (3) will be a far simpler circuit and if you have any experience in programming, it should not be too hard to do.
     
  3. ikram1991

    ikram1991

    43
    0
    May 5, 2013
    Use a microcontroller It will be easy.
     
  4. helix

    helix

    2
    0
    Jun 19, 2013
    Thanks for the replies. Could you help with what kind I would? I'm thinking I need 4 I/O lines? I should clarify this is for a guitar switching system.
     
  5. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,496
    2,837
    Jan 21, 2010
    If I were you, I'd look at arduino and picaxe (google them).

    Both are easy to program and will do what you want.

    There's a learning curve for using either, and both have great communities of users.

    If you know any C, go Arduino. If you know any BASIC go picaxe.

    At their core, they are very different and have vastly different capabilities, but for something as simple as this, either will do.
     
Ask a Question
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.
Electronics Point Logo
Continue to site
Quote of the day

-