Component guide · Intermediate · 3 min read
Submersible Water Level Transmitter (OULD PT-928, DFRobot GL-136)

Tank Level with Arduino
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A submersible level transmitter sits at the bottom of a tank, well or sump and measures the water pressure above it, which is proportional to depth: 1 metre of water is about 9.8 kPa. It sends 4 to 20 mA over a vented cable, so 4 mA means empty and 20 mA means the full range (for example 5 m). It is far more reliable than ultrasonic sensors in narrow or foamy tanks.
Key specs at a glance
- Principle
- Hydrostatic pressure, gauge (vented)
- Ranges
- 0 to 5 m (GL-136) or 0 to 10 m (PT-928), others to order
- Output
- 4 to 20 mA two-wire
- Supply
- 12 to 30 V DC (24 V typical)
- Protection
- IP68 stainless body, vented cable
- Accuracy
- About 0.5 percent of full scale
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the Submersible level transmitter is
The cable has a thin vent tube that lets air pressure reach the back of the sensor, so weather changes do not affect the reading. The vented end must stay dry and open to air, often in a small junction box.
Level in metres = (mA - 4) / 16 x range. For a tank with straight sides, multiply level by the floor area to get volume. Density matters: diesel or brine reads differently from water.
Submersible level transmitter pinout
The pins on the Submersible level transmitter and what each one does.
| Pin | Function |
|---|---|
| Red | Loop + (supply positive) |
| Black or blue | Loop - (output to load) |
| Vent tube | Must stay open and dry |
| Shield | Cable shield, ground at one end |
- Red
- Loop + (supply positive)
- Black or blue
- Loop - (output to load)
- Vent tube
- Must stay open and dry
- Shield
- Cable shield, ground at one end
Wiring the Submersible level transmitter
Hang the sensor by its cable or a support wire, not by its body, and keep it off thick sludge. Never cut or kink the vented cable; seal joints outside the tank.
| Submersible level transmitter pin | Arduino Uno | ESP32 |
|---|---|---|
| Red (+) | 24 V supply + | 24 V supply + |
| Black (-) | 250 ohm to GND, junction to A0 | 4-20 mA converter IN, output to GPIO 34 |
| Supply - | GND | GND |
- Red (+)
- Arduino Uno:
- 24 V supply +
- ESP32:
- 24 V supply +
- Black (-)
- Arduino Uno:
- 250 ohm to GND, junction to A0
- ESP32:
- 4-20 mA converter IN, output to GPIO 34
- Supply -
- Arduino Uno:
- GND
- ESP32:
- GND
Example code
Change RANGE_M to the sensor range and TANK_M to the tank height. Average several readings in tanks with waves or inflow.
const float RANGE_M = 5.0; // GL-136: 5 m
const float TANK_M = 2.0; // your tank's full height
void setup() { Serial.begin(9600); }
void loop() {
float mA = analogRead(A0) * 5.0 / 1023.0 / 250.0 * 1000.0;
float level = (mA - 4.0) / 16.0 * RANGE_M;
if (level < 0) level = 0;
Serial.print(level, 2); Serial.print(" m ");
Serial.print(level / TANK_M * 100.0, 0); Serial.println(" %");
delay(1000);
}Setup and tuning
read the current with the sensor in air; it should be 4 mA.
switch a pump relay at set levels with a gap (hysteresis) to avoid rapid cycling.
lower it below the pump, protected from the pump intake.
outdoor tanks benefit from a surge protector on the loop.
What you need
Shop this list8 of 9 found in our store · ₹13,888
OULD PT-928 Submersible Pressure Level Transmitter (0-10m Cable) – 4-20mA Output: the part this guide coversOULD PT-928 Submersible Pressure Level Transmitter (0-10m Cable) – 4-20mA Output₹5,779
DFRobot Gravity GL-136 Industrial Stainless Steel Submersible Pressure Level Sensor (0-5m) – 4-20mA Output, 5m Cable, IP68: another version this guide coversDFRobot Gravity GL-136 Industrial Stainless Steel Submersible Pressure Level Sensor (0-5m) – 4-20mA Output, 5m Cable, IP68₹6,267- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
24V 4A switching power supply board: the loop supply for a transmitter24V 4A AC-DC Switching Power Supply Board₹411
4-20mA to 0-5V converter board: to read loop current on an analog pin4-20mA to 0-5V Converter Board₹82
DFRobot Gravity analog current to voltage converter (4-20 mA): a ready-made 4 to 20 mA receiverDFRobot Gravity Analog Current to Voltage Converter (4–20mA)₹531
16x2 LCD with I2C: to show readings on a character display16×2 LCD with I2C (RG1602A)₹179Closest match, check the specs
Resistor kit: for dividers and a 250 ohm current sense resistorResistor Assortment Kit₹250Closest match, check the specs
Alternatives and when to choose them
- 4-20 mA pressure transmitters: the same signal for pipes.
- Liquid level sensors: float, ultrasonic and other ways to read level.
- 4-20 mA signal conditioners: receivers and isolators.
Common mistakes to avoid
- Blocking or wetting the vent tube.
- Cutting the vented cable to shorten it.
- No loop resistor, so the board reads nothing.
- Forgetting to correct for liquid density.
Frequently asked questions
Does it work in drinking water tanks?
Yes, stainless steel bodies are suitable; check the cable material for food use.
Can I shorten the cable?
Not safely; coil the extra cable instead.
Which range should I buy?
Slightly above the deepest water level.
Does it work in diesel?
Yes, with a density correction in code.
Can it run on solar?
Yes, with a 24 V boost converter and power cycling between readings.
Parts for 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.


