Do you want to switch the supply power the atmega?I was looking for a circuit like this to provide on and off functionality for an atmega micro .
Thank you so much Tonyr . After reading your comment, I went back to the diagram, and finally understood it in general. Yes the 2222 is a switch, it took your comment for it to click. The lack of experience in electronics can be very frustrating... thanks so much....... The 2222 IS a switch in this circuit.
I really have no idea if that is the correct way to go about it. It is one of the solutions that I though about. The other being the Battery powering both circuits (this one and the one I designed ) and have a relay of sorts (like the one on this diagram) to turn on and off the other circuit.Do you want to switch the supply power the atmega?
You said:I really have no idea if that is the correct way to go about it.
So how are you thinking about doing this?I was looking for a circuit like this to provide on and off functionality for an atmega micro .
Hi! Thanks so much for taking the time. I uploaded the two versions I had in mind. In both versions, a simplified version of your circuit is on the left .You said:
So how are you thinking about doing this?
Do you just want to turn the operation of the atmega on and off with the power continually on, or do you want to remove the power from the atmega?
Likely, but we need to know how much total current they require to answer that question.if the 2222 will handle the power that will be drained for the atmega and my two sensors well.
Thanks so much for this help. I'll check the current drain of each of the components in their datasheets and compare with values allowed for the 2222. If it exceeds , I'll give a look at replacing the 2222 with a power MOSFET.Likely, but we need to know how much total current they require to answer that question.
If you don't know the answer, then you could just use a power MOSFET for the switch which will likely handle and current they are likely to take.
Yes, power and ground are often not shown on a digital circuit schematic but the connection is implied.Looking at the pinout I see the VDD and VSS pins , that are not shown on the diagram. Not too sure what to do with those, since I'm not wanting to have the VDD connected to the power supply directly as it would be draining the battery even when the button is not pressed and the circuit is not on the On state.
by Jake Hertz
by Jake Hertz
by Aaron Carman