Pages: [1]   Go Down
Author Topic: Data acquisition with arduino, 12 V analog read  (Read 243 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Greetings

I'm a kind of new with arduino so  i have many problems with this.

i'm using Arduino UNO as DAQ with matlab, perhaps, my input data values of voltage are moreless 12 V
So,

how can i read that values of voltage  whith an analog pin ?

Actually arduino only accepts 5V in any input, it's a risk putting 12 V directly.

Thanks for your Help smiley-grin
Logged

Offline Offline
Edison Member
*
Karma: 36
Posts: 1212
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Using 12V near the Arduino will fry it.

To measure analog voltages, a voltage divider with resistors is used.
Keep the total impedance of the circuit below 10k, or the analog values might be less accurate.

For example a resistor of 22k from 12V to Arduino analog input A0. And a resistor of 10k from A0 to GND.
The 22k and 10k resistors make a voltage divider. With those values you can read up to 16V.
Logged

0
Offline Offline
Shannon Member
****
Karma: 161
Posts: 10438
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Using 12V near the Arduino will fry it.
Near?  no, applying > Vcc+0.3V to a pin will damage it, actual contact is needed!!
Logged

[ I won't respond to messages, use the forum please ]

Offline Offline
Edison Member
*
Karma: 28
Posts: 2037
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The other thing to consider,  is if the voltage you are trying to measure, might be negative.     
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am fairly new to using an Arduino. I was unable find where you can post a new topic so I am posting here looking for some help (sorry).

I have just built an rpm tachometer using an Arduino and producing the results with an LCD screen. I was just wondering if there is any chance that this data could be used with real time data using say for instance MATLAB?? Any sort of help possible would be greatly appreciated!

Thanks!
Logged

Pages: [1]   Go Up
Jump to: