Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Hi, any idea on reading plus minus 5 volt input. just wandering how to read negative voltage. Dave
aargee Senior Member Joined: 21/08/2008 Location: AustraliaPosts: 255
Posted: 12:51am 09 Sep 2011
Copy link to clipboard
Print this post
If it's on the same ground reference, the easiest thing would be to use an inverting/differential op-amp circuit. Have a Google of it...
For crying out loud, all I wanted to do was flash this blasted LED.
Xiongmao Regular Member Joined: 25/08/2011 Location: AustraliaPosts: 48
Posted: 07:23am 09 Sep 2011
Copy link to clipboard
Print this post
And if the grounds are different or you need isolation for other reasons, feed the voltage to a V/F chip and output that through an opto. Count the pulses to determine the voltage.
seco61 Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 205
Posted: 07:31am 09 Sep 2011
Copy link to clipboard
Print this post
It all depends on your ground reference. If the -5V supply was completely independent of the Maximite, then (with an appropriate voltage divider network) you could connect the negative rail to the Maximite ground and the supply 0V line to the Maximite input. Then just subtract the appropriate amount from the result.
However, if there is any risk of common grounds then using an inverting op-amp as mentioned above is probably the way to go (and you can scale the voltage by using appropriate values in the op-amp circuit). Regards