neazoi
Advanced Member level 6
- Joined
- Jan 5, 2008
- Messages
- 4,157
- Helped
- 13
- Reputation
- 26
- Reaction score
- 15
- Trophy points
- 1,318
- Location
- Greece
- Activity points
- 37,198
Hi NeazoiHow should I measure this negative voltage?
Mr pebe 's idea is very nice . i personally like it . if you are powerful in programming then i recommend this idea.
but if you want to make simple code then make op amp amplifier following using following simple instruction's.
use rf=
View attachment 89278
in ideal condition make Rf=Rin. that can solve your problem.
but noise and many other conditions make this idea false.
so simply use variable resistor at the place of Rf. and set your gain.
Hi I have a micro with an A/D and I want to use it to monitor a voltage
My application outputs a negative voltage of 0 to -1V and it does not allow to interchange poles, so that I use the GND of the application rail as a positive terminal for the micro.
How should I measure this negative voltage?
I used the op-amp method, seen here: https://electronics.stackexchange.com/questions/3105/how-do-i-measure-a-negative-voltage-with-a-adc
to display the negative voltage output of my bench power supply. It works well.
If you know the voltage will never exceed -1V, you can pick a gain of -3 and use a common LM324 to get nice resolution for the microcontroller to read. (Note: The LM324 can't get closer than about 1.5V to its positive supply rail, which is why I chose a gain of 3.) You can go with 10K and 30K resistors.
A simple way would be to use a potential divider of two equal value resistors between +5V and the -1V you are measuring. Take the junction of the resistors to D/A pin. The measured voltages 0V to -1V will then give 2.5V to 2.0V at the D/A. Then make the correction in software.
OK. Can you tell me:I think this may be more accurate than even the opamp, even down to the 10s of mV provided that the +5v supply is dead stable. The positive output voltage variation will precisely folow the negative input voltage variation but at a smaller variable amount.
Low ppm resistors would provide temperature intependent measurements and no need for any re-adjustment in temperature variations.
how should I make the correction in software, any hints?
The author states that the zener method is more accurate. Can this be real?
OK. Can you tell me:
1. How many bits resolution in the A/D of your micro?
2. Is the reference voltage limited to the 5V of the supply, or can you input a different voltage?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?