Electronics > Beginners

Push button power circuit for Arduino... trying to modify it for 12V input

<< < (11/12) > >>

Ian.M:
@CBF: For the record, what circuit did you end up with that was successful?

CBF:

--- Quote from: Ian.M on November 21, 2021, 09:31:50 am ---@CBF: For the record, what circuit did you end up with that was successful?

--- End quote ---

Yes for the record! I took out the delay element and went with a circuit I found similiar to this with the mosfets I had handy and ditched the timing component for a hold down to turn on. My arduino boots up almost instantly. I added a pull-down resistor on the sense:

Ian.M:
Yes, with a 6K8 pulldown on the SENSE input to keep the max. signal just under 5V, that looks reasonable.   The only flies in the ointment are that the switched power isn't debounced so is likely to glitch during power up, and the switch has to handle the entire load current till the MCU turns the MOSFET on.  An Arduino has enough onboard decoupling to ride through the power glitches, and if it doesn't have other significant loads on Vin or +5V is unlikely to draw enough current to be problematic for most small button switches, but it may not work so well for other applications.

Peabody:
I'd still like to understand why the first circuit in the video doesn't work for CBF.  Below is a bit cleaner schematic but essentially the same except the capacitor is missing.  The circuit worked in Chris' video and in the video the circuit came from, so I wonder what the problem is with CBF's circuit.  Did Chris wait until the button was released before taking the output pin low?  It doesn't look like that in the video.  Anyway, is there any way to get to the bottom of this?

CBF:

--- Quote from: Peabody on November 22, 2021, 03:55:55 pm ---I'd still like to understand why the first circuit in the video doesn't work for CBF.  Below is a bit cleaner schematic but essentially the same except the capacitor is missing.  The circuit worked in Chris' video and in the video the circuit came from, so I wonder what the problem is with CBF's circuit.  Did Chris wait until the button was released before taking the output pin low?  It doesn't look like that in the video.  Anyway, is there any way to get to the bottom of this?

--- End quote ---

Yes I would too. When I get some time I will play around with it a bit more, but first I have to finish this project.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version