How to connect a pressure sensor to an arduino

I need to connect a pressure sensor (LP1003 4-20mA) to an Arduino uno. I have little elec experience. I think I have to convert the sensor (analogue pins) from current into voltage for the Arduino? What exactly do I need to do this? Any help would be much appreciated? (apologies if there is a similar thread already)

Hey,
Have you looked in to datasheet of that sensor.? if not here is the link,Look the power lines (pin configuration Page # 2) which is +Supply and GND to GND on Arduino, 2nd pin which is the Signal out of the sensor should go into Analog input A0 pin of an Arduino UNO, Upload the Analoginput Example from Arduino IDE by going into File>Examples>03Analog>Analoginput.
Open the SerialMonitor and you'll see the changes in the values when ever the pressure is applied into the sensor.

If you have a sensor with a 4-20mA output, you first have to convert current to voltage with a resistor.
A 250ohm resistor converts 4-20mA to 1-5volt.

If you want stable readings, use a 51ohm resistor and the internal 1.1volt reference.

Try entering "4-20mA" in the search box on top of this page.
Here's one.
http://forum.arduino.cc/index.php?topic=366007
Leo..

Great, thanks for yee're help :slight_smile:

mudassir9999:
Hey,
Have you looked in to datasheet of that sensor.? if not here is the link,Look the power lines (pin configuration Page # 2) which is +Supply and GND to GND on Arduino, 2nd pin which is the Signal out of the sensor should go into Analog input A0 pin of an Arduino UNO, Upload the Analoginput Example from Arduino IDE by going into File>Examples>03Analog>Analoginput.
Open the SerialMonitor and you'll see the changes in the values when ever the pressure is applied into the sensor.

With the file above - Analoginput - do I need to change anything in that code. I think I have everything connected up correctly but I'm not getting any readings yet

Never mind I have it working now, Thanks for your help :)

Ok so now I have a stepper motor coded with an arduino, and the pressure sensor connected to the arduino to the the output can be read on the laptop.

Could anyone help me find a code to allow the stepper motor to stop once a certain output is reached with the sensor.

Thanks in advance :slight_smile: