I'm working on a project that will turn on the Atemga by pressing on an FSR. I currently have the following circuit which works with an LED. When I press the FSR, the LM393 Comparator goes LOW, enabling a path to ground for the PNP transistor to flow current to the load (LED in this case but will be Atemga in the future).
I'm getting a 700 microamp drain when the LM393 is in the High state (no path to ground so LED is off). I know that the voltage divider is taking about 20 microamps and the FSR voltage divider probably takes some more. But when I disconnect VCC to the LM393 it drops down about 600 microamps. I'm not understanding where all this current is going.
This works fine for an LED. Are there any glaring issues as to why this would be a problem with a microcontroller?
I'm planning to run this off of batteries, so it's definitely not ideal. But I actually, I just read the datasheet again for the Lm393 and saw that it has a supply current ranging from 0.4MA to 1mah So I guess I have to find one which requires less current.
For battery powered projects, most people use deep sleep modes. It is much simpler to wake a processor than to turn it on by controlling the power supply. Plus, the state of the processor is maintained at all times.