Intro: Interfacing PG801E Digital Pressure Sensor With Arduino
The PG801E is a digital pressure sensor. It is mainly used for industrial purposes. But, when I tried to use one in a project I was doing. It's pretty simple but I had a hard time figuring how to do it because there was no information on the net on the connections. So, I am sharing it here on Instructables.
Step 1: What You Will Need
The components you will need are a PG801E digital pressure sensor, a 24 V adapter, a 250 Ohm resistor, an Arduino and a breadboard.The 24 V adapter is to power up the PG801E. The output of the PG801E is 4-20 mA current.
The wires in the PG801E are as follows:
Red - Power
Black - Gnd
Blue and White - Analogue pins
The rest of the wires are pins for using the two alarms in the PG801E.
Step 2: Making the Circuit
The circuit is a simple one. Just connect a 250 Ohm resistor between the two analogue pins. Connect the low voltage side(colour) to the ground and the other(colour) to an analogue pin on the arduino. The 24 V adapter should power up the PG801E. Since the current output is 4-20 mA, the analogue pin should read the input from 1 V to 5 V.
The circuit and the code has been attached. You might use the map function to get the correct readings from the pressure sensor. You might need to put some values in the map function to get some sensible values from the sensor.