Hello all,
I wanted to detect the battery type. there is fixed resistance is connected in the battery so i wanted to read the resistance value.
Two 18V battery is connected in series and resistance is connected at negative (-) terminal of battery per below image.
There is buck converter which convert 36V to 3.3V and micro controller supply is 3V3.
For lower battery V2, i can easily read the resistance value using divider R3 and R3 since microcontoller GND is same V2 GND.
For upper battery V1, it is hard to read the voltage using microcontoller since voltage microcontoller pin is VR1+18V.
Could any one suggest any solution to read the distance R1 value?
Note R1 and R2 are resistance connected with battery.
I wanted to detect the battery type. there is fixed resistance is connected in the battery so i wanted to read the resistance value.
Two 18V battery is connected in series and resistance is connected at negative (-) terminal of battery per below image.
There is buck converter which convert 36V to 3.3V and micro controller supply is 3V3.
For lower battery V2, i can easily read the resistance value using divider R3 and R3 since microcontoller GND is same V2 GND.
For upper battery V1, it is hard to read the voltage using microcontoller since voltage microcontoller pin is VR1+18V.
Could any one suggest any solution to read the distance R1 value?
Note R1 and R2 are resistance connected with battery.