Soft On/Off switch for pic controlled application

Status
Not open for further replies.

Audette

Newbie level 6
Joined
Dec 12, 2006
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,405
Hi Guys,

I have seen the soft on/off switch circuit given by the following link (schematic shown below).
https://www.picbasic.co.uk/forum/showthread.php?t=57


I have been trying to implement the same solution for my application. I have a PCB which is PIC controlled and need a soft on/off switch. The mechanical switch I use is a toggle switch. I have had to change the pnp (Q1) with a P-fet due to the current required from the Vin line. The voltage at the input is 12V and the maximum current drawn can be around 2A.

In the implementation I have, when the toggle switch is turned off, the PIC will detect this and send a '0' to Q2. This initiates the circuit to turn off. However, the P-Fet output voltage reaches around 4V and then suddenly turns back on again. I tried to tie the gate of Q1 to ground using a resistor to make sure that the gate is turned off. But still no joy.

Can anyone tell me what I might be doing wrong please...

Thank you in advance.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…