So for my next upcoming project since this is so kool I would like to know if we can read DC voltage with our UNO ? and if so how high
Final goal would be to read voltage and adjust a linear actuator to keep a given height based on changing voltage.
I hope I have explained this well enough
Reading DC voltage with UNO
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading DC voltage with UNO
The analog pins on the UNO can directly measure 0-5v DC. For voltages higher than that, you can usually scale them down to the 0-5v range using a voltage divider. http://en.wikipedia.org/wiki/Voltage_divider
- mjpcarbon
- Posts: 436
- Joined: Fri Nov 29, 2013 8:57 pm
Re: Reading DC voltage with UNO
Bill at the moment that is over my head I am embarrassed to say.
If I do move forward if I measure the actual voltage perhaps I can get help with the resistors needed etc.
As always thank you
If I do move forward if I measure the actual voltage perhaps I can get help with the resistors needed etc.
As always thank you
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading DC voltage with UNO
There are lots of resistor divider calculators on-line. And if you have an iPhone, there is also one in our Circuit Playground App: http://www.adafruit.com/circuitplayground
And if you are still stuck, by all means, ask on the forum.
And if you are still stuck, by all means, ask on the forum.
- mjpcarbon
- Posts: 436
- Joined: Fri Nov 29, 2013 8:57 pm
Re: Reading DC voltage with UNO
I will download the app and try to figure it out myself.
I measured the VDC and the range is 112vdc-160vdc
I measured the VDC and the range is 112vdc-160vdc
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading DC voltage with UNO
That is a fairly wide range - and a fairly high voltage. Use care when working with voltages in this range. They can be lethal.I measured the VDC and the range is 112vdc-160vdc
And err on the side of safety when when calculating your voltage divider. To avoid damage to the Arduino, you want to make sure that the voltage to the analog pin is 5v or less.
- mjpcarbon
- Posts: 436
- Joined: Fri Nov 29, 2013 8:57 pm
Re: Reading DC voltage with UNO
I agree, I will use a meter until I am certain of the in and out voltages.
My next question if I get it close will be how to move a linear actuator will the voltage.
My next question if I get it close will be how to move a linear actuator will the voltage.
- adafruit_support_bill
- Posts: 88037
- Joined: Sat Feb 07, 2009 10:11 am
Re: Reading DC voltage with UNO
We'll need some more detail about your actuator and how you need it to move in response to the voltage change.My next question if I get it close will be how to move a linear actuator will the voltage.
Please be positive and constructive with your questions and comments.