bigal_scorpio
Active Member
Hi to all,
Greetings to Eric and Nigel et al.
After an illness I'm finally back in the saddle and starting to get the itch to build things again.
At the moment I am trying to make a device that simply sits doing nothing most of the time and wakes up every few seconds and checks if a pin is high.
I was planning on using a pic12F629 at first until I decided I needed to check the voltage of the battery every now and then and raise an alarm if it is low, so I was then nudged towards the 12F683 with its analog capability.
I am wanting to run the device from a 2032 3v lithium cell so I need to keep the power usage as low as possible and keep the device asleep as much as poss.
My main puzzle is how is the best way to measure the battery voltage periodically and keep the power as low as possible.
Any ideas guys, all thoughts welcome and by the way I am using PicBasic Pro to write the code as I still can't get my head around assembly.
Thanks for looking.........Al
Greetings to Eric and Nigel et al.
After an illness I'm finally back in the saddle and starting to get the itch to build things again.
At the moment I am trying to make a device that simply sits doing nothing most of the time and wakes up every few seconds and checks if a pin is high.
I was planning on using a pic12F629 at first until I decided I needed to check the voltage of the battery every now and then and raise an alarm if it is low, so I was then nudged towards the 12F683 with its analog capability.
I am wanting to run the device from a 2032 3v lithium cell so I need to keep the power usage as low as possible and keep the device asleep as much as poss.
My main puzzle is how is the best way to measure the battery voltage periodically and keep the power as low as possible.
Any ideas guys, all thoughts welcome and by the way I am using PicBasic Pro to write the code as I still can't get my head around assembly.
Thanks for looking.........Al