9

Currently, I working on a project to make a car tracker device. At the moment, the device can work well, but I want to improve it.

The situation is that my device is running on a external power (lead-acid battery) and I want to send an alert to remote server when the device is in low-battery.

As far as I know, one way to do it is to check frequently the remaining of battery which is complicated (using more hardware and complex algorithm).

My design is based on an Arduino uno R3, and a Sim080 module.

I just need to trigger the remote server when it is in low-power, no need to define the accuracy measurement of remaining in battery.

Sean Houlihane
  • 10,524
  • 2
  • 26
  • 62
juggernaut156
  • 421
  • 2
  • 6

2 Answers2

4

Since you haven't included info about hardware, just mentioned a device.

A low power detection circuit is quite simple, a OP-amp, zener diode and a couple of resistors/potentiometer is all whats is needed.

MatsK
  • 951
  • 6
  • 18
3

As far as I know, one way to do it is to check frequently the remaining of battery which is complicated (using more hardware and complex algorithm).

but

I just need to trigger the remote server when it is in low-power, no need to define the accuracy measurement of remaining in battery.

You have the scope with this design to collect data which will help you to trigger this event at the best time - this is the great advantage of IoT designs compared with trying to implement a feature without two-way connectivity.

The lead-acid battery is a fairly simple beast. On charge, the voltage rises to around 14.2V, and will drop over time (at rest) to 12V. With a load, the voltage will drop a little - depending on the load. Close to discharge, it will drop faster. See this answer for an example discharge curve.

With a 10V zenner dropper and a clamping circuit, you can measure 10-13.3V full-scale using the ADC. This is enough to identify discharge, but you will want to monitor and adjust the threshold that you use. You might find that temperature affects the threshold that you use, along with time since the engine was running (and many other variables).

By collecting more data, you have the opportunity to make indirect measurements, and even to identify changes in behaviour which can give you early warning of faults.

Sean Houlihane
  • 10,524
  • 2
  • 26
  • 62