Author Topic: Daves soft latch Video  (Read 1102 times)

0 Members and 1 Guest are viewing this topic.

Offline rscottTopic starter

  • Newbie
  • Posts: 6
  • Country: us
Daves soft latch Video
« on: December 01, 2019, 04:10:38 pm »
So i have been messing around with this circuit for the last 3 years off and on.

I want to actually use it now. However, i noticed in his video, when power is applied, the circuit immediately comes on.

Why is this? What do we do to fix it?

Obviously we dont want the circuit to come on right away
Thanks
 

Offline rcbuck

  • Frequent Contributor
  • **
  • Posts: 355
  • Country: us
Re: Daves soft latch Video
« Reply #1 on: December 01, 2019, 09:16:20 pm »
I built the circuit on a breadboard to use in testing a circuit I was building a couple of months ago. It more or less worked. The on-off latch seemed somewhat touchy depending on how long you held the button down. It also required a certain amount of time between button presses to function properly. For my use it did work and I learned how to get around the shortcomings.

If I needed to build a soft latch circuit that had to be 100% reliable I would use a 50 cent PIC chip and software.
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 854
  • Country: gb
Re: Daves soft latch Video
« Reply #2 on: December 02, 2019, 01:42:01 pm »
Maybe even one of those el cheapo Padauk 3 cent micros. I bet that thing costs less than all of the other components added together.

Of course you do have a one off cost of the programmer... But then you can have soft latching circuits or button debouncers for years. :)
 

Offline Peabody

  • Super Contributor
  • ***
  • Posts: 2248
  • Country: us
Re: Daves soft latch Video
« Reply #3 on: December 02, 2019, 06:10:57 pm »
If a microcontroller is involved, then the circuit becomes simpler since you can use a GPIO pin to maintain power-on after the button is released, and then turn off power after the button has been pressed (and released) again.  Attached are two versions of such a circuit.  One uses two GPIO pins - one output to maintain power, and one input to sense the button press.  The second circuit uses a single GPIO pin in INPUT_PULLUP mode for both functions.
« Last Edit: December 02, 2019, 06:13:57 pm by Peabody »
 

Offline Jwillis

  • Super Contributor
  • ***
  • Posts: 1725
  • Country: ca
Re: Daves soft latch Video
« Reply #4 on: December 03, 2019, 07:27:13 am »
In Daves circuit the gate of the mosfet is charged from the 100k resistor upon power up. Won't it be better to some way have the switch at the gate of the mosfet to isolate the gate until the capacitor charges . So when the switch is pressed the capacitor charges the gate there by turning on the mosfet which turns on the transistor to keeep the gate charged but prevents the capacitor from charging from the power source.So when the switch is pressed again the discharged capacitor shunts the gate charge to ground turning off the mosfet. which turns off the transistor which allows the capacitor to recharge for next turn on.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf