Component guide · Intermediate · 5 min read
M18 and M30 Industrial Ultrasonic Sensors

PONO GM, Pepperl+Fuchs UC2000, JXBS RS485), DFRobot URM12 / URM15 and NU High-Frequency Transducers
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Industrial ultrasonic sensors in M18 and M30 threaded barrels measure distance to liquids, granules, boxes and people in factories. PONO GM and Pepperl+Fuchs UC2000 models give 4 to 20 mA, 0 to 10 V or RS232 output from a 12 to 30 V supply. JXBS, URM12 and URM15 sensors speak RS485 Modbus, and NU transducers are bare high-frequency elements for designing your own system.
Key specs at a glance
- Range
- About 10 to 80 cm (short modules) up to 15 m (URM12)
- Supply
- 12 to 30 V DC (most)
- Output
- 4 to 20 mA, 0 to 10 V, RS232, RS485 Modbus, UART, PWM
- Frequency
- 40 to 300 kHz (higher for short range and precision)
- Housing
- M18 or M30 thread, M12 connector, IP65 to IP67
- Accuracy
- About 0.1 to 1% of range
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1PONO 30GM85-2000-I Ultrasonic Distance Sensor, 4-20mA Output, 15-30VDC, M12 Connector, IP67, Range: 180mm-2000mm₹22,529
Option 2PONO 30GM85-3000-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, 180mm~3000mm Range₹24,349
Option 3PONO 30GM85-2000-232 Ultrasonic Distance Sensor, RS232 Output, 12~30VDC, M12 Connector, Range: 350mm~2000mm₹9,999
Option 4PONO 18GM40-150-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, Range: 20mm~150mm₹19,429
Option 5PONO 18GM75-1000-I Ultrasonic Distance Sensor, 4~20mA Output, 12~30VDC, M12 Connector, IP67, Range: 60mm~1000mm₹20,709
Option 6PONO US1000-18W30-TTL Ultrasonic Distance Sensor, TTL UART Output, IP65, 200kHz, 12V DC, Range 150mm-1000mm₹9,629
What the M18 and M30 industrial ultrasonic sensors is
M18 and M30 industrial ultrasonic sensors in threaded metal barrels measure distance or detect objects using sound, with 4 to 20 mA, 0 to 10 V or switching outputs.
Higher frequency sensors (125 to 300 kHz) have shorter range but finer resolution and narrower beams. Lower frequency (40 to 75 kHz) reach further.
Teach-in or software settings set the analog span: for example 4 mA at 200 mm and 20 mA at 2000 mm.
M18 and M30 industrial ultrasonic sensors pinout
The pins on the M18 and M30 industrial ultrasonic sensors and what each one does.
| Pin | Function |
|---|---|
| Brown | +24 V |
| Blue | 0 V |
| Black / white | Analog or switching output |
| Grey | Teach or sync (some models) |
- Brown
- +24 V
- Blue
- 0 V
- Black / white
- Analog or switching output
- Grey
- Teach or sync (some models)
Wiring the M18 and M30 industrial ultrasonic sensors
Connect the M18 and M30 industrial ultrasonic sensors like this.
| M18 and M30 industrial ultrasonic sensors pin | PLC | ESP32 |
|---|---|---|
| Brown | 24 V supply + | 24 V supply + |
| Blue | 0 V | 0 V |
| 4-20 mA output | PLC analog input | 250 ohm to GND, read via ADS1115 |
| RS485 A / B | PLC RS485 | MAX485 A / B |
- Brown
- PLC:
- 24 V supply +
- ESP32:
- 24 V supply +
- Blue
- PLC:
- 0 V
- ESP32:
- 0 V
- 4-20 mA output
- PLC:
- PLC analog input
- ESP32:
- 250 ohm to GND, read via ADS1115
- RS485 A / B
- PLC:
- PLC RS485
- ESP32:
- MAX485 A / B
Example code
Better: read the shunt with an ADS1115 for accuracy. For RS485 models, read the distance register over Modbus.
const float MIN_MM = 200, MAX_MM = 2000; // span set on the sensor
void setup() { Serial.begin(115200); }
void loop() {
float v = analogRead(34) * 3.3 / 4095.0; // 1 to 5 V scaled down by a divider to 0.66 to 3.3 V
float ma = v / 0.66 * 4.0; // adjust for your divider
float mm = MIN_MM + (ma - 4.0) / 16.0 * (MAX_MM - MIN_MM);
Serial.print(mm, 0); Serial.println(" mm");
delay(500);
}Setup and tuning
most run on 12 to 30 V DC.
choose analog (4 to 20 mA or 0 to 10 V) for distance, or NPN/PNP for switching.
keep targets beyond the minimum range listed on the datasheet.
align the face square to the target and use both lock nuts.
set the window or switch point with the teach wire or button.
What you need
Shop this list20 of 20 found in our store · ₹2,53,205
PONO 30GM85-2000-I Ultrasonic Distance Sensor, 4-20mA Output, 15-30VDC, M12 Connector, IP67, Range: 180mm-2000mm: the part this guide coversPONO 30GM85-2000-I Ultrasonic Distance Sensor, 4-20mA Output, 15-30VDC, M12 Connector, IP67, Range: 180mm-2000mm₹22,529
PONO 30GM85-3000-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, 180mm~3000mm Range: another version this guide coversPONO 30GM85-3000-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, 180mm~3000mm Range₹24,349
PONO 30GM85-2000-232 Ultrasonic Distance Sensor, RS232 Output, 12~30VDC, M12 Connector, Range: 350mm~2000mm: another version this guide coversPONO 30GM85-2000-232 Ultrasonic Distance Sensor, RS232 Output, 12~30VDC, M12 Connector, Range: 350mm~2000mm₹9,999
PONO 18GM40-150-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, Range: 20mm~150mm: another version this guide coversPONO 18GM40-150-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, Range: 20mm~150mm₹19,429
PONO 18GM75-1000-I Ultrasonic Distance Sensor, 4~20mA Output, 12~30VDC, M12 Connector, IP67, Range: 60mm~1000mm: another version this guide coversPONO 18GM75-1000-I Ultrasonic Distance Sensor, 4~20mA Output, 12~30VDC, M12 Connector, IP67, Range: 60mm~1000mm₹20,709
PONO US1000-18W30-TTL Ultrasonic Distance Sensor, TTL UART Output, IP65, 200kHz, 12V DC, Range 150mm-1000mm: another version this guide coversPONO US1000-18W30-TTL Ultrasonic Distance Sensor, TTL UART Output, IP65, 200kHz, 12V DC, Range 150mm-1000mm₹9,629
Pepperl+Fuchs UC2000-30GM-IUR2-V15 Ultrasonic Sensor, 80mm-2000mm Range, 4-20mA/0-10V Output: another version this guide coversPepperl+Fuchs UC2000-30GM-IUR2-V15 Ultrasonic Sensor, 80mm-2000mm Range, 4-20mA/0-10V Output₹77,629
JXBS-3001-CSB-YW J-RS Ultrasonic Sensor 0-5m Range – RS485 Modbus, IP65: another version this guide coversJXBS-3001-CSB-YW J-RS Ultrasonic Sensor 0-5m Range – RS485 Modbus, IP65₹12,639
Generic UART Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – IP65: another version this guide coversUART Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – IP65₹6,389
RS485 Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – Modbus RTU, IP65: another version this guide coversRS485 Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – Modbus RTU, IP65₹6,389
Generic PWM Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – IP65 Waterproof: another version this guide coversPWM Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement₹6,293
DFRobot URM12 Ultra Long Range Ultrasonic Distance Sensor (70-1500cm, RS485 Modbus): another version this guide coversDFRobot URM12 Ultra Long Range Ultrasonic Distance Sensor (70-1500cm, RS485 Modbus)₹14,695
DFRobot URM15 75kHz Ultrasonic Sensor 30–500cm RS485: another version this guide coversDFRobot URM15 75kHz Ultrasonic Sensor 30–500cm RS485₹10,307
NU125E25TR-2 25mm 125kHz Ultrasonic Sensor – Ceramic Face, Analog Output: another version this guide coversNU125E25TR-2 25mm 125kHz Ultrasonic Sensor – Ceramic Face, Analog Output₹3,989
NU175E27TR-1 27mm 175kHz Ultrasonic Proximity Sensor: another version this guide coversNU175E27TR-1 27mm 175kHz Ultrasonic Proximity Sensor₹3,151
NU200E12TR-5 12mm 200kHz Ultrasonic Distance Sensor: another version this guide coversNU200E12TR-5 12mm 200kHz Ultrasonic Distance Sensor₹2,281
NU200E18TR-2 18mm 200kHz Ultrasonic Distance Sensor – Aluminum Shell: another version this guide coversNU200E18TR-2 18mm 200kHz Ultrasonic Distance Sensor – Aluminum Shell₹2,309
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
MAX485 RS-485 to TTL module: to read RS485 versions from a microcontrollerMAX485 RS-485 to TTL Module₹28
USB to RS485 converter adapter: to test RS485 versions from a PCUSB to RS485 Converter Adapter₹74
Alternatives and when to choose them
- MaxBotix WR sensors: 4 to 20 mA PVC sensors.
- DYP level sensors: low-cost tank level.
- Modbus RTU: reading RS485 versions.
Common mistakes to avoid
- Placing targets in the blind zone.
- Tilting the sensor face.
- Feeding 10 V output into a 5 V pin.
- Mounting two sensors that interfere.
Frequently asked questions
Can ultrasonic sensors detect clear objects?
Yes. Sound reflects from glass and clear plastic, unlike light sensors.
What is the blind zone?
A short distance in front of the sensor where it cannot measure.
How do I read a 4 to 20 mA output with Arduino?
Use a 250 Ω resistor for 1 to 5 V, or 165 Ω for 3.3 V boards.
Why are readings unstable on liquids?
Foam, ripples or vapour scatter sound; use a stilling tube.
Can two sensors face each other?
They can interfere; use sync mode or space them apart.
Parts for this guide
PONO 30GM85-2000-I Ultrasonic Distance Sensor, 4-20mA Output, 15-30VDC, M12 Connector, IP67, Range: 180mm-2000mm₹22,529View
PONO 30GM85-3000-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, 180mm~3000mm Range₹24,349View
PONO 30GM85-2000-232 Ultrasonic Distance Sensor, RS232 Output, 12~30VDC, M12 Connector, Range: 350mm~2000mm₹9,999View
PONO 18GM40-150-I Ultrasonic Distance Sensor, 4~20mA Output, 15~30VDC, M12 Connector, IP67, Range: 20mm~150mm₹19,429View
PONO 18GM75-1000-I Ultrasonic Distance Sensor, 4~20mA Output, 12~30VDC, M12 Connector, IP67, Range: 60mm~1000mm₹20,709View
PONO US1000-18W30-TTL Ultrasonic Distance Sensor, TTL UART Output, IP65, 200kHz, 12V DC, Range 150mm-1000mm₹9,629View- ₹77,629View
- ₹12,639View
- ₹6,389View
- ₹6,389View
- ₹6,389View
- ₹14,695View
- ₹10,307View
- ₹3,989View
- ₹3,151View
- ₹2,281View
- ₹2,309View
- ₹389View
- ₹28View
- ₹74View
- ₹298View
- ₹177View
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.



