wvmarle:
I had to look back at your schematic as it’s seriously non-obvious that you have a voltage divider. Just some tiny letters in a drawn line!
100Ω + 200Ω = 300Ω, so at 3.8V (which should be your minimum battery voltage considering you use the RAW pin) you should expect 12.7 mA there. Not 10 mA. Actually even more as running at bare minimum input voltage is a bad idea, the moment your battery voltage starts to drop you have a problem.
There’s probably more wrong with your circuit, but the way it’s drawn it’s too unreadable and I can’t be bothered to try and analyse it as is, tbh. A proper schematic would be helpful, and no doubt someone would’ve picked up on this before.
In the previous posts you talk about a regulator, which I don’t see in that image. Nor is the battery itself specified there, not even the voltage.
Excuse my ignorance I’m just a software developer so don’t know the first thing about drawing proper schematics. I’ve tried fritzing and eagle but after I while I realise I’m doing it wrong. So I just sketched it using a flow diagram. Thanks for your patience I really appreciate it.
The only regulator I mentioned was what a friend proposed to switch off the gps and lora via an enable pin. I don’t have it on the schematic at the moment.
I’m attaching a zoomed in version on that image to make the lettering clear but it looks like you’ve deciphered it already. Battery + and - is on the right, I did not supply voltage because I haven’t decided what to use yet, maybe a 2 cell for 8.4v - 5.6v range.
In short, the voltage divider is costing me dearly in power budget, so now I’m searching the net for a better way to read v.
I really appreciate your time.
srnet:
As has been mentioned, you dont have one.
If you want to measure the battery voltage, the divider to read it needs to go … ?
I thought I did
- a 100 and 200 ohm one on the raw and ground input pins of the pro mini, see my image. It measures the voltage of the battery supplying power to the pro mini.