Analog to Digital Conversion on PIC18f4520 Answered
I am building a custom digital weighing scale. My issue is not about how to do A2D, but on how to use the least amount of power doing so. So imagine you just placed an object on the scale, i want the microcontroller to notice a change in weight and perform a2d on the load cell voltage. Now i only want to perform this a2d once(or a few times to make sure it works), saving the value in the register, and then i want the microcontroller to go back to sleep. The microcontroller will keep sleeping unless the object is removed or the weight changed, where the A2D works again for a couple of times, notes the value, and then sleeps again. So my question is, does the A2D have to keep working to notice a change in the weight? or can that happen some other way?
I basically want to make my battery last a long time, and i want to do that by using the A2D only when needed. On another note, does a2d even use up alot of power? If i keep it running would it consume alot of my battery?
If things are unclear please ask. I'm afraid i didn't articulate well. Thanks!