Hi Hendric , yes its gong to be a bit tricky , as the pin is digital output normally ACTIVE LOW , then need to go setup ACD on the pin , sample positive voltage , then switch bak, but the goal is to have some battery monitor on the main input voltage to the regulator , this will make the power LED flash at a rapid rate when battery is low , ( normally power led would flash 1 time in 2 sec or so)

The mosfet chosen has to allow gate to source voltage larger than say 5v???

see attached proposed diagram

Cheers

Sheldon


Name:  proposed adc ver.BMP
Views: 5387
Size:  189.6 KB