Hi
I am trying to use a push button (held down) to complete a circuit and turn on a Pic16F883
Let me explain.
The Pic is turned on by pressing a push button to supply 5v to a 2N3904 Transistor Base via a 1K Resistor.
Which acts as a switch turning on the Pic (pic +ve to 5v and Pic -ve to 2N3904 Collector
Emitter to -ve
After boot up routine Output A3 is activated to turn on 5v to 2N3904 transistor Base
Basically I am trying to use A3 to keep the transistor or opto turned on via the 2N3904
Hence when the push button is released the transistor should stay on and keep the pic running.
The Pic must be Hard on/off and not in Sleep or Idle
My knowledge of electronics is rudimentary so I presumed this would work.
I have also tried turning on an opto isolator with a push button and feeding back A3 to keep it on,with the Pic on the output side of the opto.
Neither of these ideas work.
Is anyone able to explain why this does not work.
I have been working on this for over a month and it has become frustrating.
I hope I have explained my problem well enough.
I will attempt to upload a circuit diagram when I when I have worked out how to.
Many thanks.
I am trying to use a push button (held down) to complete a circuit and turn on a Pic16F883
Let me explain.
The Pic is turned on by pressing a push button to supply 5v to a 2N3904 Transistor Base via a 1K Resistor.
Which acts as a switch turning on the Pic (pic +ve to 5v and Pic -ve to 2N3904 Collector
Emitter to -ve
After boot up routine Output A3 is activated to turn on 5v to 2N3904 transistor Base
Basically I am trying to use A3 to keep the transistor or opto turned on via the 2N3904
Hence when the push button is released the transistor should stay on and keep the pic running.
The Pic must be Hard on/off and not in Sleep or Idle
My knowledge of electronics is rudimentary so I presumed this would work.
I have also tried turning on an opto isolator with a push button and feeding back A3 to keep it on,with the Pic on the output side of the opto.
Neither of these ideas work.
Is anyone able to explain why this does not work.
I have been working on this for over a month and it has become frustrating.
I hope I have explained my problem well enough.
I will attempt to upload a circuit diagram when I when I have worked out how to.
Many thanks.