Hello, I just want to say that I'm Croatian, so sory if i make some grammar mistakes.
I'm working on some PIC project where I need to do the following:
When a button is pressed PIC turns on.
After some time, one of PICs pins go high and that triggers the PIC to turn off.
I successfully manage to get first part working, but the second part, where PIC needs to turn off, is a problem to me. Here are some pictures from Proteus so you can see how I wired it up. LED respresent PIC.
On 1. photo nothing happend, on 2. pohoto button was pressed and led still lights.
Thank you for any help
the 2. photo is under this, and 1. photo is at the end of the post. I couldn't upload it any otherwise.
EDIT: I messed up the title on accident, please admin rename it to: "PIC - turn on-off" or something you think is appropriate.
I'm working on some PIC project where I need to do the following:
When a button is pressed PIC turns on.
After some time, one of PICs pins go high and that triggers the PIC to turn off.
I successfully manage to get first part working, but the second part, where PIC needs to turn off, is a problem to me. Here are some pictures from Proteus so you can see how I wired it up. LED respresent PIC.
On 1. photo nothing happend, on 2. pohoto button was pressed and led still lights.
Thank you for any help
the 2. photo is under this, and 1. photo is at the end of the post. I couldn't upload it any otherwise.
EDIT: I messed up the title on accident, please admin rename it to: "PIC - turn on-off" or something you think is appropriate.
Last edited by a moderator: