Electronic – arduino – LVD solution with low power indication

arduinobatteries

I power my 3.3V circuit with step-up power converter. Input to the converter should be from two Ni-MH 1.2V batteries or alternatively from two 1.5V alkaline batteries.

I need to indicate low battery (by eg. LED blinking) and when the voltage reaches critical level the circuit should be disconnected. Probably I'll need some LVD (Low Voltage Disconnect) solution. Ideally if I could adjust which voltage should be indicated as warning and which to trigger circuit disconnection.

In my project I am using Arduino Mini Pro (3.3v) so maybe I could use it to measure the input voltage of the converter and warn if it is low.

Could somebody please propose me which circuit to use as LVD to fit my needs? Or any other solution?

Best Answer

I'll hazard a guess that this Over-Discharge Protection circuit proposed by Russell McMahon may fit your needs. Its schematic is below.

Over-Discharge Protection circuit schematic

I think you can use it in the following manner:

  1. Place your batteries between GROUND (the horizontal wire on the bottom) and V_battery;
  2. Feed your step-up converter off of the O-DP circuit's Vout (linking it also to GROUND);
  3. Wire one of your Arduino's digital outputs to HIGH to run;
  4. Link one of your Arduino's analog inputs to Vout so you can measure the battery voltage. Add a voltage divider if Vout can be higher than your MCU ADC maximum voltage.
  5. When you press the Go! button, your MCU must set the digital output linked to HIGH to run to HIGH;
  6. When battery is low, just set HIGH to run to LOW. That will turn off the circuit.

Just make sure you don't link any of your MCU pins directly to the battery, or else these will power your MCU through the protection diodes. That will bypass the O-DP circuit and may damage your MCU.

Note that there may be a voltage drop up to 0.7V between V_battery and Vout because of the BC327 transistor depending on the current you draw from the circuit.