Hello to all EE jedi masters outhere!
I am trying to build a battery operated device, for opening and closing my bathroom door, via some sort of Bluetooth Low Energy (BLE) proximity sensing.
My board will basically contain a BLE SoC (e.g. nRF 52840) and a motor controller (e.g. DRV 8830).
Let us assume that the device will run on 4 x AA alkaline batteries, connected in series.
Most of the time, the system will be in a deep sleep mode, waking up to advertise its presence as a BLE peripheral.
On average, let us assume that in this state, my system draws around 1 mA.
For 80 seconds daily, the motor will be operating, consuming around 200 mA.
Now the question comes, when is the appropriate time for reading the battery supply voltage, in a way that it actually reflects the energy left in the batteries.
Is it before a motor operation, during a motor operation or after?
If after, shall I take it immediately, or wait for some time?
Being a noob (yes, I am a software guy), the only thing I understand is that when my battery supply's voltage reaches a certain level (4x1.1?) then more or less the batteries have been depleted.
I have observed that immediately after a motor operation the voltage goes down, but then it slowly recovers. I have also observed that this fluctuation becomes greater as times goes by.
Any reference would be greatly appreciated!