Toggle On Off with Momentary Switch

Поделиться
HTML-код
  • Опубликовано: 22 мар 2022
  • Toggle On Off with Momentary Switch
    In this video we use a 555 timer's internal SR latch as the basis for a latching switch with a momentary tac button.
    www.pcbway.com/ Get 5 boards in about a week for $22!
    Please help support this channel at NO COST TO YOU. If you shop on Amazon, please use this link: amzn.to/3706t6c
    I will get a small commission and it costs you nothing.
    Learnelectronics Merchandise:
    Yes!! I now have merch: teespring.com/stores/learnele... Electronics themed T-Shirts!
    ----------------------------------------------------------------------------------------------------------------
    HEY YOU ABOUT TO POST SOMETHING STUPID:
    Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
    One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face..
    --------------------------------------------------------------------------------------------------------------------
    Amazon Store:
    If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
    Please check out www.patreon.com/learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. Your help is appreciated.
    ---------------------------------------------------------------------------------------------------------------------
    Donation:
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
    ---------------------------------------------------------------------------------------------------------------------
    Gear I use:
    DMM: Owon B33+ - amzn.to/3qQgH20
    Power Supply: Matrix 3206 - amzn.to/37C0fL9
    Portable O'scope: YEAPOOK ADS1013D - amzn.to/2ZG4G3x
    Bench O'Scope:Hantek DSO2D15
    - amzn.to/3ir307N
    Soldering Station - KSGER T12 - amzn.to/2NuNdby
    Multimeter leads: Probemaster - amzn.to/2ZJ0BLK
  • НаукаНаука

Комментарии • 52

  • @TYGAMatt
    @TYGAMatt 2 года назад +1

    I've been using the 555 quite a bit recently, and as a bit of a novice I've been referring back to many of your 555 vids. All excellent stuff. Keep up the good work. Thank you Sir!!

  • @marcoahernandezgarcia4819
    @marcoahernandezgarcia4819 2 года назад

    Man, you're great. The way you drew that circuit let me understand it better. Thanks a lot for all the knowledge you're always sharing with all of us.

  • @oldwrench4213
    @oldwrench4213 2 года назад +5

    Excellent classic circuit! Need to see more of these. Teach the kids how to DIY Paul!

  • @jaymclemore9497
    @jaymclemore9497 2 года назад +4

    As a beginner, I enjoy these circuits a lot. Thx!

  • @nigeljohnson9820
    @nigeljohnson9820 2 года назад +5

    An interesting exercise is to convert this into a bòot strap circuit, so that the circuit is truly off, when off. That means drawing zero current in the off state. ( The latch circuit unpowered in the off state).
    It is also worth considering how to make it proof against accidentally supply polarity reversal when dc powered, and how to make it work when a.c. powered.
    Consider the first problem, how to make it bootstrap.
    The principle is easy to explain, the details are more difficult without the ability to show the circuit diagram.
    The trick is to use both edges of the momentary button push, and its on state. The circuit to be powered is switched either by a power transistor (mosfet or bipolar) or a relay. The latter works with a.c. as well as dc.. When the button is pressed it allows the relay or pass transistor to power the circuit to be controlled, including the latch. But pressing the button also toggles the latch being powered via the pass transistor or relay. The output of the latch is wired OR with the button. So when the circuit is off, (unpowered), pressing the button switches it on, it also changes the latch status so that it holds the circuit in the on state, even when the button is released.
    When the circuit is on, held on by the latch, pressing the button changes the status of the latch, removing its ability to hold the circuit on. This when the button is released, the circuit returns to the truly off state. (Note, depending on the implementation, in order to avoid logic race conditions, it is some times nessary to ensure the latch powers up in the switching on state as the default condition. )
    The advantage of this arrangement is that it does not matter if the latch is run from a regulator after the pass transistor. So the latch can run from a regulated 5 volts or 3.3 volts supply, while controlling the raw 12 volts supply powering the input to the regulator, as might be the case in car electronics.
    While the circuit can be implemented with just latch logic. It really is most often used when powering a micro controller, such as in a mobile phone. The first thing the micro does at power up, is to hold its own supply on, while monitoring the state of the push button on switch, that allowed it to receive the initial power to turn on in the first place.
    Pressing the button while the micro is powered, instructs it to remove the signal that is holding its power on. Then when the button is released the circuit turns truly off. In the off state the only current consumed is the leakage current through the transistor, usually micro or pico amps.
    If a relay is used as the power switching device, the off current is effectively zero.

  • @zezeA380
    @zezeA380 2 года назад

    Loved it Paul !!! The circuit i've been searching for!!!

  • @gartmorn
    @gartmorn 2 года назад

    Neat little circuit. Good to get to grips with the basics! 🤣

  • @danishdart
    @danishdart 2 года назад

    You're awesome. Thank you for the videos.

  • @kgparanormal
    @kgparanormal 2 года назад

    That's a 555 favorite nicely done Paul

  • @TheTubejunky
    @TheTubejunky 2 года назад

    This circuit has been on my desk for about a week now. lol
    Yesterday I attached a 3V relay opto-isolator board to it.

  • @harshgandhi100
    @harshgandhi100 2 года назад +1

    There is a transistor only version of this type of toggle switch with 2 NPNs and 1 PNP and a few 100k and 50k, I found it on Evan Kale's channel about 5-6 years ago but the video is removed but I somehow remembered the working so I tried recreating it on sim and it worked.
    Edit: Also a 50uf cap

  • @stoxel
    @stoxel 2 года назад

    More circuits you should know! Bravo!

  • @timmyfingaz100
    @timmyfingaz100 8 месяцев назад

    Finally got them 555 timer! Going to try this one out! Hope you are doing well sir!

  • @BriSouth
    @BriSouth 4 месяца назад

    Thanks!

  • @electronic7979
    @electronic7979 2 года назад +2

    Nice 👍

  • @tylershupp
    @tylershupp Год назад

    I have a situation where i need to take a momentary switch and control 2 circuits in a way where i press the momentary switch and one circut comes on and press it again and they both come on is there a way to do this?

  • @sho-nuff8256
    @sho-nuff8256 3 дня назад

    Ok, so I discovered that if you move the 100k to pin 3, I can now toggle the LED on and off.
    I still don't understand how Paul got his to work with the 100k to Vcc. Then again I'm just a beginner and watching videos to learn. Great circuit though, thanks for posting.👍

  • @michaelpadovani9566
    @michaelpadovani9566 2 года назад

    Neat! Creative way to do in software too but hardware nice to.

  • @Dilshad-gu7je
    @Dilshad-gu7je 2 года назад

    How would it go with a mosfet in there instead of an LED? Would the mosfet get fully switched on?

  • @sideburn
    @sideburn 2 года назад

    Problem with these is there’s a constant current draw even when off. But I love 555’s going all the way back to when I was a kid with my Forest Mims Engineers Mini-Notebooks!

  • @jpdthe3rd
    @jpdthe3rd Год назад

    Is there a way this could be done with relays and no timer? something a little more Hardy and useable in my car

  • @tomlewis2477
    @tomlewis2477 2 года назад

    Do you know of a way to make a momentary switch stay on for 10 or 15 seconds after it is pressed once? Thanks!

  • @TheIronHeadRat
    @TheIronHeadRat 2 года назад

    Thanks

  • @fakename5197
    @fakename5197 7 месяцев назад

    Trying to use factory momentary buttons in a truck for a project. This is exactly what I need but is it available to purchase? I don't know anything about circuits so making this is out of the question

  • @codyheard6109
    @codyheard6109 2 года назад

    New to the channel. I’m training to be an Electronic Tech and I’ve found your videos very helpful with reading schematics and correlating it to learning the actual function of the circuits. So thank you for that! I just bought my own kit and was wondering where you get your components from? The kit came with a very limited number of components to work with, as I’m sure you can imagine.. Thank you in advance!

  • @ronedogg69
    @ronedogg69 Месяц назад

    What capacitor is that sir? I'm new to this I ordered all these parts and have them. Just need the capacitor. I'm doing mine to a 5v relay

  • @sho-nuff8256
    @sho-nuff8256 3 дня назад

    Gosh guys, I can't get this circuit to work. How is pin 2 being pulled low when you get source voltage from the cap. draining through R2? My divider actually jumps up about a tenth when I press the switch. The LED does not flip on or off, it just stays on. How did you get this to work? I'm really stumped.

  • @mikebond6328
    @mikebond6328 2 года назад +1

    Debounce circuit next. You may already have a debounce video, I’ll have to look.

  • @TRONMAGNUM2099
    @TRONMAGNUM2099 2 года назад

    I need to get a giant LED to go with my evil mad scientist 555 so I can build this circuit. Are there any basic circuits that use a LM741 and 555? I'd like to use both my kits in a single circuit.

  • @frankowalker4662
    @frankowalker4662 2 года назад +1

    I made lots of these last year. No idea why, I have no use for them. LOL.

  • @michelholm5209
    @michelholm5209 2 года назад

    This time it`s works😊

  • @sho-nuff8256
    @sho-nuff8256 3 дня назад

    I've been studying this circuit for about two hours now. LOL. What am I doing wrong?

  • @SelectaBwoy
    @SelectaBwoy 2 года назад

    Would the circuit still have the same result no matter what toggle switch you use?

  • @weerobot
    @weerobot 2 года назад

    Cool...

  • @tonyd1149
    @tonyd1149 2 года назад

    Dear Learnelectronics, kindly, ¿is the switch in your circuit, a toggle on/off type or true momentary, please? Just asking, please. Thank you for making and posting this video. td\.

    • @learnelectronics
      @learnelectronics  2 года назад +1

      Momentary tac button

    • @tonyd1149
      @tonyd1149 2 года назад

      @@learnelectronics Thank you Learnelectronics. td\.

  • @C4GIF
    @C4GIF 8 месяцев назад

    Mei Gutster, des RC-Glied muss aufn Ausgang statt auf Plus. Sonst funzt des net!

  • @tinkerbot4148
    @tinkerbot4148 2 года назад

    Silly question . . . Why not simply use a toggle switch instead of all the extra bits?

  • @cremvustila
    @cremvustila Год назад +1

    Hey Paul, there's a mistake in the schematic you drawn. The 100k should be connected to the output (3) of 555 not to Vcc.

    • @jackassofalltrades2126
      @jackassofalltrades2126 Год назад

      Didn't work in my simulator until I followed your comment, thanks

    • @garyb931
      @garyb931 11 месяцев назад

      Been scratching my head trying to figure out what I had done wrong, apparently nothing compared to the schematic. I'll try the fix tomorrow.

    • @jean-lucjla2987
      @jean-lucjla2987 3 месяца назад

      yes and the led is connected to + while the realization is connected to -.
      so in the diagram the LED lights up as soon as the power is turned on.

  • @rezajoonman7606
    @rezajoonman7606 2 года назад +1

    🧡🧡🧡🧡🧡🧡🧡🧡🤍🤍🤍🤍🧡🧡سال نوبر شما وخانواده محترم مبارک باد🧡🧡🧡🧡🧡🧡
    🧡🧡🧡🧡🧡🧡🧡🧡سلام پلی لیست درست کنید تشششششکر🧡🧡🧡🧡🧡🧡

  • @t1d100
    @t1d100 2 года назад +3

    Please make it a practice to explain the path of the operations of your circuits... Ex: 555 Switch = Power passes through the switch and goes to X comparator, then to x transistor... Etc. You did not teach us anything about how this switch works. You only showed us how to set it up. This leaves us frustrated and drives us to other channels to find the answer. Driving us to other channels drops your viewership. Offered as a friendly, helpful business hint.

  • @bblod4896
    @bblod4896 2 года назад

    Correct me if I'm wrong: The voltage at the node is 2.5 volts, the voltage at the 100k side of the momentary switch is 5 volts. When you close the switch, the voltage on the 555 side of the momentary switch increases for a moment causing the 555 to latch???
    😬☮️

  • @rezajoonman7606
    @rezajoonman7606 2 года назад

    🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡

  • @zonnig46
    @zonnig46 2 года назад

    Foist.

    • @thebeequeeper5424
      @thebeequeeper5424 2 года назад +2

      Could you explain the purpose for each component in these simple circuits, new students are always asking why!!