How-to · Intermediate · 3 min read
Pressure Transducers and Transmitters
0.5-4.5 V, 4-20 mA and How to Wire Them
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A pressure transducer turns fluid or gas pressure into an electrical signal. The two common outputs are a 0.5 to 4.5 V ratiometric voltage on 5 V supply and a 4 to 20 mA current loop. Choose the pressure range, thread and wetted material first, then read the signal with an ADC and scale it to the range.
Key specs at a glance
- Output 0.5-4.5 V
- 5 V supply, 3 wires, ratiometric; read directly with a 5 V ADC
- Output 4-20 mA
- 9 to 36 V supply, 2 wires; add a 250 Ω shunt to get 1 to 5 V
- Pressure types
- Gauge, absolute, sealed gauge, differential
- Ranges
- From a few kPa up to hundreds of bar
- Threads
- G1/4, 1/4 NPT, M12 and others
- Media
- Check that the wetted material suits water, oil, air or chemicals
Gauge, absolute and differential
Gauge sensors read relative to the air around them, absolute sensors relative to a vacuum, and differential sensors the difference between two ports. Gauge pressure is the usual choice for tanks and pipes. A tyre or water-line sensor is gauge; a barometer or altimeter is absolute.
Voltage or current output
Pick the output that fits your cable run and controller.
| Output | Wires | Best for | Notes |
|---|---|---|---|
| 0.5-4.5 V (ratiometric) | 3: +5 V, GND, signal | Short runs to an Arduino or ESP32 | Output scales with supply; use a 5 V ADC or a divider for 3.3 V |
| 0-5 V / 0-10 V | 3 or 4 | PLC and panel inputs | Check the supply voltage |
| 4-20 mA | 2 | Long cables and noisy plants | Needs loop supply of 12 to 24 V; broken wire reads 0 mA |
| I2C / SPI chip | 4 | Small boards, low pressure | Chip-level sensors; pressure port on the board |
- 0.5-4.5 V (ratiometric)
- Wires:
- 3: +5 V, GND, signal
- Best for:
- Short runs to an Arduino or ESP32
- Notes:
- Output scales with supply; use a 5 V ADC or a divider for 3.3 V
- 0-5 V / 0-10 V
- Wires:
- 3 or 4
- Best for:
- PLC and panel inputs
- Notes:
- Check the supply voltage
- 4-20 mA
- Wires:
- 2
- Best for:
- Long cables and noisy plants
- Notes:
- Needs loop supply of 12 to 24 V; broken wire reads 0 mA
- I2C / SPI chip
- Wires:
- 4
- Best for:
- Small boards, low pressure
- Notes:
- Chip-level sensors; pressure port on the board
Converting the signal to pressure
For a 0.5 to 4.5 V sensor with a range of 0 to 10 bar, 0.5 V is 0 bar and 4.5 V is 10 bar. Scale linearly. For 4-20 mA, put a 250 Ω shunt resistor across the loop return so 4 mA reads 1 V and 20 mA reads 5 V. See the shunt resistor calculator.
const float P_MAX = 10.0; // sensor range, bar
void setup() { Serial.begin(115200); }
void loop() {
float v = analogRead(A0) * 5.0 / 1023.0;
float bar = (v - 0.5) / 4.0 * P_MAX; // 0.5 V = 0, 4.5 V = full scale
if (bar < 0) bar = 0;
Serial.print(bar); Serial.println(" bar");
delay(250);
}Choosing the right one
- 1Range: select a range so normal pressure sits in the middle and the peak is no more than about 80 % of full scale. Spikes beyond the rating can damage the sensor.
- 2Wetted material: stainless steel suits water, air and most oils. Ceramic suits harsher media. Confirm compatibility before using on chemicals.
- 3Thread and seal: match G, NPT or M thread and use the correct sealing washer or tape.
- 4Electrical connector: Packard, Hirschmann or flying leads, depending on the sensor.
- 5Protection: use a snubber or pulsation damper on pumps.
Try it: Pressure converter calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Buying a range much larger than the real pressure and losing resolution.
- Connecting a 5 V output straight to a 3.3 V ADC.
- Forgetting the loop supply on a 4-20 mA sensor.
- Using the wrong thread or sealing method and leaking.
- Applying pressure spikes beyond the rated overpressure.
Frequently asked questions
What is the difference between a transducer and a transmitter?
A transducer usually outputs a millivolt or voltage signal, a transmitter a conditioned 4-20 mA signal. The names are often used loosely.
Can I read 4-20 mA with Arduino?
Yes, with a 250 Ω precision shunt across the loop return and an ADC input, or with a 4-20 mA input module.
What does ratiometric mean?
The output is a fixed fraction of the supply voltage, so it follows supply changes. Use the same 5 V for the sensor and the ADC reference.
Which unit should I use?
Use bar, kPa or psi to match the sensor label; see the pressure converter.
Can I use it for liquid level?
Yes, a submersible transmitter reads the water column pressure, about 1 bar per 10 m of water.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




