Connect with us

new to circuitry

Discussion in 'General Electronics Discussion' started by Rock18, Oct 15, 2015.

Scroll to continue with content
  1. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    hey guys. as title says i'm new to this, working on a small project and would just like to press the button to turn off the led and release it to turn it back on. thanks in advance
     

    Attached Files:

  2. Harald Kapp

    Harald Kapp Moderator Moderator

    11,145
    2,543
    Nov 17, 2011
    All you need is a button with "normally closed" action (closed when released, open when pushed). Then connect everything in series.
     
    Rock18 likes this.
  3. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Thanks for the reply. Is it possible i can get a diagram? I tried wiring this thing so many ways, i get the led to light but pushing the button doesn't turn it off :(
     
  4. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Something like this? But with your push to break switch..

    [​IMG]
     
    Arouse1973 and Rock18 like this.
  5. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Sorry, I just read your post again.
    6 pin switch? What switch is it? Can you give us a link or the numbers by the pins?

    Martin
     
    Rock18 likes this.
  6. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Yea. This is the switch here

    Screenshot_2015-10-16-08-51-15.jpg Screenshot_2015-10-16-08-50-37.jpg
     
  7. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    It looks like that switch is only "push to make" contact. You want a "push to break" switch.

    But for this switch. Put your circuit to 1 and 3 Or 2 and 4.

    Martin
     
    Rock18 likes this.
  8. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    So how exactly would i go about doing that? The 9v battery with resistor hooked up to pins 5 and 6? The led to 1 and 3 / 2 and 4? How much i gotta pay for a diagram? :D:D
     
  9. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Ok, first of all, you have a white 3v led in your diagram too. You will need a resistor of about 240 to 300 ohms for it too.
     
    Rock18 likes this.
  10. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Yep i got right resistor for it, works fine hooked up directly to the 9v
     
  11. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Yes but, you need one for the switch led too.
    Give me ten minutes and I'll give you some ideas to have the switch led constant and to turn on / off with the switch.
     
    Rock18 likes this.
  12. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Oooh ok, much appreciated!
     
  13. Harald Kapp

    Harald Kapp Moderator Moderator

    11,145
    2,543
    Nov 17, 2011
    Break the standard way of thinking: This switch is make (normally open) ony. Therefore it is impossible to use it in a series configuration to turn off the LED when pressed.
    If you cannot put the switch in series to the LED, which other connection is the next logical one? The answer is very simple and I could give it to you instantly, if you insist. However, I think it is a good exercise to find the solution yourself.

    Hint: What I'm thinking of is normally considered to be a faulty connection.
     
    Rock18 likes this.
  14. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    I think i understand what you're saying. I've been trying to find the solution myself with no luck lol.. How can i wire it to achieve the desired effect?
     
  15. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Oops, Harold has replied. Here is a simple push to make that has the switch led on constant but switches your white led.
     

    Attached Files:

    Rock18 likes this.
  16. Harald Kapp

    Harald Kapp Moderator Moderator

    11,145
    2,543
    Nov 17, 2011
    Sorry Martin, much too complex.

    @Rock18 put the switch in parallel to the LED. When open, the LED will light. When pushed close, the switch will short crcuit the LED and the LED will consequently be off.

    As I said: some out of the box thinking is reqired :D
     
    Rock18 and Martaine2005 like this.
  17. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Thanks Martin, I'll check out the file when i can. Harald, if it's not too much of a bother could you draw it out for me? Or if there's an existing diagram out there. Would really be helpful and appreciated
     
  18. Martaine2005

    Martaine2005

    3,295
    900
    May 12, 2015
    Harold is saying to put the led across the switch.
    You will need to connect battery to resistor and then the switch 1 . Now put led across 1 and 3. Then 3 back to battery negative.
    The led will be on constant. When you press the switch, it will short the led and it will go off.

    Let me edit the pic I posted earlier for you.



    Martin
     

    Attached Files:

    Last edited: Oct 16, 2015
    Harald Kapp and Rock18 like this.
  19. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    Ok thanks man, i will try this asap and share results
     
  20. Rock18

    Rock18

    12
    5
    Oct 15, 2015
    whoooo.. @Martaine2005 & @Harald Kapp thanks for the help.. figured it out.. my main problem in my initial trials was connecting the 9V straight to pins 5 and 6.. got it working now, can configure it so that the switch led stays on or turns off when clicked.. thanks again.. where do i send the check?! :D:D
     
    Arouse1973 and Martaine2005 like this.
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

-