Electronic Circuits and Projects Forum



ON/OFF LED Circuit

  1. #1
    jdaniels jdaniels is offline

    ON/OFF LED Circuit

    Hello,
    I need some help. I am really new to electronics and am hoping I can get some help with this problem. I am sure this will be an easy solution for someone else.

    I am trying to come up with a 9V tester to do a quick check on a machine that I work with. The tester will get hooked up through a connector to receive open and closed contacts from the machine. No voltages are on the contacts. I have attached a basic layout of what I am brainstorming, but ran into some problems. I am trying to turn on a GREEN LED if a certain contact is closed and a RED LED if the same contact opens up. I have 3 signals I need to monitor in this way but the fourth is just a GREEN LED if the contact is closed.

    My problem is that I can't get the LED's to alternately work. Basically flip flop and latch. I have been able to get the RED LED to come on if the contact is open using a transistor. But then, I cant figure out how to wire in the GREEN LED so when the contact closes it comes on and the RED LED turns off.

    On the attached print, the switches are actually contacts from relays on the machine, but to simplify the print I just used switches.

    Like I said I am really new to all of this and the print is just an idea I had. Maybe I am looking at this entirely the wrong way. Hopefully someone will be able to help me on this. I appreciate all the help I can get.

    Thanks in advance.
    Attached Images

  2. #2
    ericgibbs ericgibbs is online now
    Super Moderator
    hi,
    Do you mean something like this.??
    Attached Images
    0
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    "Nigels Asm tutorials:" www.winpicprog.co.uk/
    "Ian Rogers 'C' conversion of Nigels Asm tutorials:" http://www.electro-tech-online.com/c...torials-c.html

  3. Thread Starter #3
    jdaniels jdaniels is offline
    Eric,
    Thanks for the reply. Yes, I think that looks like something that might work. I will mess around with it and reply back. Thanks again.
    0

  4. #4
    colin55 colin55 is offline
    The circuit above is way over-designed. All you need is this:
    RedGreenLEDs.gif
    0

  5. #5
    ericgibbs ericgibbs is online now
    Super Moderator
    Quote Originally Posted by colin55 View Post
    The circuit above is way over-designed. All you need is this:
    This what the OP asked for:>
    I am trying to turn on a GREEN LED if a certain contact is closed and a RED LED if the same contact opens up. I have 3 signals I need to monitor in this way but the fourth is just a GREEN LED if the contact is closed.
    In your version of the circuit you have crossed over the LED colours.!!

    In my way over-designed circuit, it does what the OP asked for.

    If you feel the need to answer an OP's question, read the question first.
    0
    Last edited by ericgibbs; 8th May 2012 at 08:41 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    "Nigels Asm tutorials:" www.winpicprog.co.uk/
    "Ian Rogers 'C' conversion of Nigels Asm tutorials:" http://www.electro-tech-online.com/c...torials-c.html

  6. #6
    colin55 colin55 is offline
    Just change the LEDs and put another diode in series with the 1N4148. It's not rocket science.
    It just doesn't need a transistor to do the trick.
    0

  7. Thread Starter #7
    jdaniels jdaniels is offline
    Eric,
    Thanks for the post. It works as advertised. I knew this would be an easy fix for you guys.
    0

  8. Thread Starter #8
    jdaniels jdaniels is offline
    Colin,
    I was able to get your circuit to work. I just had to swap the LEDs to get the colors right. I started with a transistor because I wasn't aware I could use a diode that way.

    Thanks for all the help. I appreciate the look.
    0

Tags
Similar Threads
Thread Starter Forum Replies Last Post
Need help with a sequential LED circuit using 4017 & 555 twisted_iggy Electronic Projects Design/Ideas/Reviews 28 31st January 2009, 06:12 AM
Sound Activated LED Circuit? Dc5e Electronic Projects Design/Ideas/Reviews 1 14th October 2003, 01:16 AM
150 led circuit rdnktrlrtrsh Electronic Projects Design/Ideas/Reviews 1 2nd September 2003, 07:15 PM
oscillating LED circuit daviddoria General Electronics Chat 10 4th March 2003, 08:33 PM
oscillating LED circuit daviddoria Electronic Projects Design/Ideas/Reviews 23 25th February 2003, 11:05 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.08531 seconds      Memory: 7,546 KB      Queries: 17      Templates: 0