Go Down

Topic: Voltage Monitoring (Read 620 times) previous topic - next topic

phishstik

My Arduino project involves watching my vehicle's water temperature, and also it's voltage.

To monitor the voltage I acquired this: http://www.phidgets.com/products.php?product_id=1135

I can easily hook the voltage sensor to a 9V or 1.5 V battery and it gives me a perfect reading on the Arduino. However, I tried wiring to the 12V source on the vehicle (which is also the Arduino's power source!!) and my readings are very off. It gives me about 2.2 V.

So after searching these forums I figured it would be easier to read from the Arduino's VIN pin. It is also strange, giving me about 7.2 V reading. My electronics skills are limited, and I'm not sure what's going on here in either case. In the latter, I'm thinking its measuring the voltage left AFTER the Arduino takes its own portion?

James C4S

#1
Jul 23, 2011, 06:17 am Last Edit: Jul 23, 2011, 06:19 am by James C4S Reason: 1
Quote
So after searching these forums I figured it would be easier to read from the Arduino's VIN pin

VIN isn't an input.  VIN can be used to supply >7V to power the arduino through the on-board regulator or to power external hardware from the supply provided at the barrel jack.  I'm not entirely sure what you were doing, but it is clear you were not using it correctly.

Quote
I'm thinking its measuring the voltage left AFTER the Arduino takes its own portion?

Sorry, but that doesn't make any sense.

Going back to the differential sensor you have, how have you connected it to the vehicle's battery?  Do you have a common GROUND connection for all your hardware?
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Magician

#2
Jul 23, 2011, 12:35 pm Last Edit: Jul 24, 2011, 01:18 am by Magician Reason: 1
Most likely, your vehicle has positive ground. Direct voltage measurements in this case become complicated, you will need special sensor with galvanic insulation.

phishstik

James, for the VIN pin I was going by what was said in this thread:

"1. Vin pin is the power supplied from the Arduino external power connector and is in the range of 7.5 to 12vdc depending on what you are using. This Vin voltage has no effect on the analog reference accuracy of the analog input pins, however you may or may not have a desire to measure the Vin voltage, that is not clear to me."
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1263440087


KE7GK, thank you I will try that today!

Go Up