michy2007ph
New Member
Hi,
I was wondering if someone can help me how to operate the A/D module for 16F877A in sleep mode.
I'm building a small project that tracks the sun and then when the Sun is out the MCU will go into SLEEP mode then when the Sun is up again the following morning, the MCU will initial a wake-up.
My first plan is to have an external circiut connected to the INT pin of the PIC, this will wake up the MCU once light is available (a simple comparator might be use using LDR as the sensor).
Please advise.
Thanks,
Mike
I was wondering if someone can help me how to operate the A/D module for 16F877A in sleep mode.
I'm building a small project that tracks the sun and then when the Sun is out the MCU will go into SLEEP mode then when the Sun is up again the following morning, the MCU will initial a wake-up.
My first plan is to have an external circiut connected to the INT pin of the PIC, this will wake up the MCU once light is available (a simple comparator might be use using LDR as the sensor).
Please advise.
Thanks,
Mike