Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›M18 and M30 Industrial Ultrasonic Sensors

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
Short answerWhat the M18 and M30 industrial ultrasonic sensors isM18 and M30 industrial ultrasonic sensors pinoutWiring the M18 and M30 industrial ultrasonic sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

M18 and M30 industrial ultrasonic sensors pinout

The pins on the M18 and M30 industrial ultrasonic sensors and what each one does.

PinFunction
Brown+24 V
Blue0 V
Black / whiteAnalog or switching output
GreyTeach or sync (some models)
PinFunction
Brown
+24 V
Blue
0 V
Black / white
Analog or switching output
Grey
Teach or sync (some models)
03

Wiring the M18 and M30 industrial ultrasonic sensors

Connect the M18 and M30 industrial ultrasonic sensors like this.

M18 and M30 industrial ultrasonic sensors pinPLCESP32
Brown24 V supply +24 V supply +
Blue0 V0 V
4-20 mA outputPLC analog input250 ohm to GND, read via ADS1115
RS485 A / BPLC RS485MAX485 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
04

Example code

Better: read the shunt with an ADS1115 for accuracy. For RS485 models, read the distance register over Modbus.

Convert 4-20 mA across a 250 ohm shunt to distance · Arduino C++Verify & upload in Electrolark
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);
}
05

Setup and tuning

Supply

most run on 12 to 30 V DC.

Output

choose analog (4 to 20 mA or 0 to 10 V) for distance, or NPN/PNP for switching.

Blind zone

keep targets beyond the minimum range listed on the datasheet.

Mounting

align the face square to the target and use both lock nuts.

Teach

set the window or switch point with the teach wire or button.

06

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
07

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.
08

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.
09

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
  • Pepperl+Fuchs UC2000-30GM-IUR2-V15 Ultrasonic Sensor, 80mm-2000mm Range, 4-20mA/0-10V Output
    ₹77,629View
  • JXBS-3001-CSB-YW J-RS Ultrasonic Sensor 0-5m Range – RS485 Modbus, IP65
    ₹12,639View
  • UART Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – IP65
    ₹6,389View
  • RS485 Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – Modbus RTU, IP65
    ₹6,389View
  • PWM Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement – IP65 Waterproof
    ₹6,389View
  • DFRobot URM12 Ultra Long Range Ultrasonic Distance Sensor (70-1500cm, RS485 Modbus)
    ₹14,695View
  • DFRobot URM15 75kHz Ultrasonic Sensor 30–500cm RS485
    ₹10,307View
  • NU125E25TR-2 25mm 125kHz Ultrasonic Sensor – Ceramic Face, Analog Output
    ₹3,989View
  • NU175E27TR-1 27mm 175kHz Ultrasonic Proximity Sensor
    ₹3,151View
  • NU200E12TR-5 12mm 200kHz Ultrasonic Distance Sensor
    ₹2,281View
  • NU200E18TR-2 18mm 200kHz Ultrasonic Distance Sensor – Aluminum Shell
    ₹2,309View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • MAX485 RS-485 to TTL Module
    ₹28View
  • USB to RS485 Converter Adapter
    ₹74View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
  • Digital Multimeter
    ₹177View
Shop Ultrasonic Distance & Ranging Sensors

Keep learning

Component guideIntermediateMaxBotix Weather-Resistant MaxSonarMaxBotix WR sensors put MaxSonar electronics in an IP67 PVC housing with a 3/4 inch pipe thread for outdoor and industrial use.6 min read · SensorsComponent guideIntermediateDYP Ultrasonic Level SensorsDYP level sensors measure the distance down to water or other liquid, so you can work out tank or well level.5 min read · SensorsHow-toAdvancedModbus RTU With Arduino and ESP32Connect industrial Modbus RTU sensors to Arduino or ESP32 with an RS485 module: wiring, termination, slave addresses, baud rate, registers and example code.3 min read · IoT & WirelessComponent guideIntermediate40 kHz Ultrasonic TransducersAn ultrasonic transducer is a ceramic disc that vibrates at one resonant frequency, commonly 40 kHz.3 min read · Sensors

Sources

  • Pepperl+Fuchs UC2000-30GM datasheet
  • DFRobot URM12 and URM15 wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the M18 and M30 industrial ultrasonic sensors isM18 and M30 industrial ultrasonic sensors pinoutWiring the M18 and M30 industrial ultrasonic sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide8 items · ₹1,40,874

PONO 30GM85-2000-I Ultrasonic Distance Sensor, 4-20mA Output, 15-30VDC, M12 Connector, IP67, Range: 180mm-2000mm · Pepperl+Fuchs UC2000-30GM-IUR2-V15 Ultrasonic Sensor, 80mm-2000mm Range, 4-20mA/0-10V Output · PWM Ultrasonic Rangefinder Sensor 10 to 80 cm Distance Measurement · DFRobot URM12 Ultra Long Range Ultrasonic Distance Sensor (70-1500cm, RS485 Modbus) · DFRobot URM15 75kHz Ultrasonic Sensor 30–500cm RS485 · NU125E25TR-2 25mm 125kHz Ultrasonic Sensor – Ceramic Face, Analog Output · NU175E27TR-1 27mm 175kHz Ultrasonic Proximity Sensor · NU200E12TR-5 12mm 200kHz Ultrasonic Distance Sensor

Run itChange the inputs and watch the output

4 to 20 mA across a 165 ohm resistor gives 0.66 to 3.3 V. 4 mA = 200 mm, 20 mA = 2000 mm.

Serial monitor115200 baud
899 mm

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question