santiniuk
Newbie level 2
Hello all,
I recently stumbled across this great forum. After a few weeks lurking and learning a lot I have my first post.
I'm waiting for some hardware to arrive before I can test something but I thought I would throw the question up to the Guru's on here for feedback.
For simplicity I will explain my (basic) circuit requirements.
I have a pic micro (TBC) and want this to be totally physically isolated from the battery when instructed by the micro. (it's a long story and is not for current consumption reasons.)
If I put a momentry push switch on the +supply line of the micro, what would the minimium time be that this would need to be pressed before the micro would power up, execute some code that would pull a pin high. This would fire a transistor to pull in a relay. A set of contacts on the relay would then be in parallel with the momentry switch, therefore when the momentry switch is released the relay contacts would still bypass the switch and keep the micro powered.
The code would execute and if necessary pull the relay drive pin low. The relay would drop out and all would be 'physically' isolated from the battery.
The only way to power up would be a momentry press switch actuation.
Please note. The battery has to be physically isolated so a relay is the only option.
I hope this makes sense
Thanks for any feedback.
I recently stumbled across this great forum. After a few weeks lurking and learning a lot I have my first post.
I'm waiting for some hardware to arrive before I can test something but I thought I would throw the question up to the Guru's on here for feedback.
For simplicity I will explain my (basic) circuit requirements.
I have a pic micro (TBC) and want this to be totally physically isolated from the battery when instructed by the micro. (it's a long story and is not for current consumption reasons.)
If I put a momentry push switch on the +supply line of the micro, what would the minimium time be that this would need to be pressed before the micro would power up, execute some code that would pull a pin high. This would fire a transistor to pull in a relay. A set of contacts on the relay would then be in parallel with the momentry switch, therefore when the momentry switch is released the relay contacts would still bypass the switch and keep the micro powered.
The code would execute and if necessary pull the relay drive pin low. The relay would drop out and all would be 'physically' isolated from the battery.
The only way to power up would be a momentry press switch actuation.
Please note. The battery has to be physically isolated so a relay is the only option.
I hope this makes sense
Thanks for any feedback.