Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4924

Idea to keep PIC18F working for 1 or 2 seconds after system OFF

$
0
0
Hello,
I am trying to develop a system with CAN communication using a PIC18F25K80.
The PIC is working good with CAN, however I have a problem...
When I turn OFF the system power I would like to keep the PIC alive for 1 or 2 seconds to be able to send CAN messages to turn OFF another module.

So, basically my system is powered by 12 Volts and I have a 78L05 to feed the PIC with 5 Volts.
My idea is to use ADC or Interrupt flag in the PIC to check when the power is turned OFF.
When this...

Idea to keep PIC18F working for 1 or 2 seconds after system OFF

Viewing all articles
Browse latest Browse all 4924

Trending Articles