Battery Sensors

The most reliable battery sensor is using an MppContact with the following circuit:

For the input use a dual throw switch that alternates between VCC and GND.

This device is ideal for use as a door/window sensor, especially if the sensor is seldom triggered.

The device will wake periodically to check/report battery voltage, and will wake/report each change of state on the input.

MppReporter will wake on a positive going edge and periodically wake to report battery voltage. Input state detection is not as reliable so it's best used for reporting a change event rather than tracking state (e.g. with a motion detector).

MppAnalogReporter will periodically wake to report the analog voltage available on ADC.

MppSleeper will wake with a positive edge, working well with a momentary button to connect RST to ground. It reports battery voltage when triggered.