Hi,
I'm going make a battery monitor circuit (below, not my design) I want to be able to detect 3.41v
Apparently this circuit will allow the voltage to rise at the A/D pin as the battery voltage drops and allows me to turn it on/off
Anyone got any suggestions on the diode to use to give best performance under various temperatures, also anyone any idea what sort of fluctuation I will get due to temperature etc.
I'm going make a battery monitor circuit (below, not my design) I want to be able to detect 3.41v
Apparently this circuit will allow the voltage to rise at the A/D pin as the battery voltage drops and allows me to turn it on/off
Anyone got any suggestions on the diode to use to give best performance under various temperatures, also anyone any idea what sort of fluctuation I will get due to temperature etc.
Code:
Vcc = Vbat
---
|
|
-------------------
R1 |
10k |
------------/\/\/\-------------| Digital i/o
| |
| |
| | PIC
| Vref |
-------------------------------| A/D input
| | |
--- D1 --- C1 |
/ \ zener --- 0.1uF |
--- 1.5V | optional |
| | -------------------
| | |
/// /// ///
GND GND GND