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).
Two quick questions.
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?