I’m thinking of making a battery voltage monitor for a 4-cell NiCd pack. The nominal voltage should be around 4.8v. (1.2v/cell). The pack is considered exhausted when this falls to 0.9v/cell (3.6v). The PICAXE 08 will light some LEDs to indicate battery voltage.
If I use a diode+resistor on the ADC and power the PICAXE from the battery, the reading should go up as the battery voltage drops. BUT. The diode voltage drop will vary according to ambient temperature (about 2mV/DegC) and supplied current. I am trying to find ways to correct for this error.
Could putting an identical diode in the PICAXE +ve power supply path offset this error?
If I use a diode+resistor on the ADC and power the PICAXE from the battery, the reading should go up as the battery voltage drops. BUT. The diode voltage drop will vary according to ambient temperature (about 2mV/DegC) and supplied current. I am trying to find ways to correct for this error.
Could putting an identical diode in the PICAXE +ve power supply path offset this error?
Last edited: