I would like to power my arduino nano with a 9V battery, but I would also like to measure the voltage of the battery to know its charge level.
Can I use the MAX471 Voltage Current Sensor module by connecting the VIN pin to my battery and VOUT to my arduino ?
-
1hackaday.io/project/25461-reading-the-max471-sensor-module, also github.com/wisewolf/Arduino-Power-Meter.Dave Newton– Dave Newton06/02/2021 23:29:45Commented Jun 2, 2021 at 23:29
-
1what kind of a 9 V battery?jsotola– jsotola06/03/2021 02:26:45Commented Jun 3, 2021 at 2:26
-
2If you only need to measure voltage, why not use an Arduino A/D input? All you need to do is connect a voltage divide across the 9V terminals to divide down to the A/D range. Use big resistors in the 100K to 1Meg range for low drain.Boggyman– Boggyman06/03/2021 12:23:49Commented Jun 3, 2021 at 12:23
-
1@Boggyman: If there are other analogRead channels active, 100k to 1M might be a bit high to load the ADC in time. An additional capacitor in parallel to the voltage divider low side might help...DataFiddler– DataFiddler06/03/2021 14:52:32Commented Jun 3, 2021 at 14:52
-
@jsotola This is a 9V GF22NOMAD– NOMAD06/04/2021 16:32:42Commented Jun 4, 2021 at 16:32
1 Answer 1
If you want measuring a "battery level" in mAh for example, you must measure Voltage AND Current, so INA219 is a better deal (it is a I2C control).
answered Jun 8, 2021 at 19:42
user77427user77427
-
Are you sure that this would allow me to power my Arduino, if so is there a difference in autonomy with this module rather than the assembly of @Boggyman (less wasting) ?NOMAD– NOMAD06/17/2021 12:18:59Commented Jun 17, 2021 at 12:18