Component guide · Intermediate · 5 min read
DYP A01NYUB, A01 Series, ME007YS, A19, A21B, A12 Narrow Beam, L08

and H01 Waterproof Ultrasonic Rangefinders
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
DYP A01 and related sensors are sealed IP67 ultrasonic rangefinders for tanks, parking, bins and outdoor robots. The A01NYUB (also sold by DFRobot) measures 28 to 750 cm and streams its reading over UART. The letter after the model tells the output: U is UART auto, T is UART controlled, W is PWM, 4 is RS485 and GD is a switch. The A12 has a narrow beam and the H01 high precision.
Key specs at a glance
- Range
- About 28 to 750 cm (A01), 3 to 500 cm (A21B), 8 to 800 cm (L08)
- Accuracy
- About plus or minus (1 cm + 0.3% of distance)
- Supply
- 3.3 to 5 V (TTL types), 5 to 24 V (RS485)
- Output
- UART 9600 (U auto, T controlled), PWM (W), RS485 (4), switch (GD)
- Beam
- About 40 to 60 degrees; narrow on A12
- Protection
- IP67
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1DFRobot A01NYUB Waterproof Ultrasonic Distance Sensor (28 to 750 cm)₹3,865
Option 2DYP-A01ANYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm₹2,189
Option 3DYP-A01ANYTB-V2.0 Ultrasonic Sensor Module 28–750cm – UART Controlled₹2,079
Option 4DYP-A01BNYTB-V2.0 Ultrasonic Sensor Module – UART Controlled, 28-750cm Range₹2,079
Option 5DYP-A01BNYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm₹2,005
Option 6DYP-A01BNYTW-V2.0 Ultrasonic Proximity Sensor 28-450cm Range – UART, PWM, RS485, IP67₹1,359
What the DYP A01, ME007YS and A19 waterproof ultrasonic sensors is
The DYP A01 family are sealed waterproof ultrasonic rangefinders that report distance over UART, PWM or RS485, for tanks, parking and outdoor robots.
All UART types send four bytes: 0xFF, distance high byte, distance low byte, checksum. Distance is in millimetres.
Auto (U) models send a reading about every 100 ms. Controlled (T) models only answer after you pull RX low or send a byte, which saves power and avoids two sensors interfering.
DYP A01, ME007YS and A19 waterproof ultrasonic sensors pinout
The pins on the DYP A01, ME007YS and A19 waterproof ultrasonic sensors and what each one does.
| Pin | Function |
|---|---|
| Red | VCC |
| Black | GND |
| Yellow | RX / trigger |
| White | TX / output |
- Red
- VCC
- Black
- GND
- Yellow
- RX / trigger
- White
- TX / output
Wiring the DYP A01, ME007YS and A19 waterproof ultrasonic sensors
Connect the DYP A01, ME007YS and A19 waterproof ultrasonic sensors like this.
| DYP A01, ME007YS and A19 waterproof ultrasonic sensors pin | Arduino Uno | ESP32 |
|---|---|---|
| Red (VCC) | 5 V | 3.3 or 5 V (check model) |
| Black (GND) | GND | GND |
| Yellow (RX / trigger) | D11 | GPIO 17 |
| White (TX) | D10 (SoftwareSerial RX) | GPIO 16 |
- Red (VCC)
- Arduino Uno:
- 5 V
- ESP32:
- 3.3 or 5 V (check model)
- Black (GND)
- Arduino Uno:
- GND
- ESP32:
- GND
- Yellow (RX / trigger)
- Arduino Uno:
- D11
- ESP32:
- GPIO 17
- White (TX)
- Arduino Uno:
- D10 (SoftwareSerial RX)
- ESP32:
- GPIO 16
Example code
A minimal sketch to check the part works.
// DYP UART frame: 0xFF, distance high, distance low, checksum ((0xFF + H + L) & 0xFF), distance in mm
const int TRIG = 17; // "controlled" (T) models: pull RX low or send a byte to trigger; "auto" (U) models stream
void setup() {
Serial.begin(115200);
Serial2.begin(9600, SERIAL_8N1, 16, TRIG);
}
void loop() {
Serial2.write(0x55); // trigger for controlled models; ignored by auto models
delay(100);
while (Serial2.available() >= 4) {
if (Serial2.read() != 0xFF) continue;
uint8_t h = Serial2.read(), l = Serial2.read(), sum = Serial2.read();
if (((0xFF + h + l) & 0xFF) == sum) {
Serial.print((h << 8) | l); Serial.println(" mm");
}
}
}Setup and tuning
U versions send UART frames automatically; T versions reply when triggered.
read 4 bytes: 0xFF, high byte, low byte, checksum, at 9600 baud.
objects closer than the minimum range (about 28 cm on the A01) read wrongly.
point the sensor squarely at the surface; angled surfaces reflect sound away.
3.3 to 5 V for TTL versions, 5 to 24 V for RS485.
What you need
Shop this list20 of 20 found in our store · ₹47,439
DFRobot A01NYUB Waterproof Ultrasonic Distance Sensor (28 to 750 cm): the part this guide coversDFRobot A01NYUB Waterproof Ultrasonic Distance Sensor (28 to 750 cm)₹3,865
DYP-A01ANYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm: another version this guide coversDYP-A01ANYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm₹2,189
DYP-A01ANYTB-V2.0 Ultrasonic Sensor Module 28–750cm – UART Controlled: another version this guide coversDYP-A01ANYTB-V2.0 Ultrasonic Sensor Module 28–750cm – UART Controlled₹2,079
DYP-A01BNYTB-V2.0 Ultrasonic Sensor Module – UART Controlled, 28-750cm Range: another version this guide coversDYP-A01BNYTB-V2.0 Ultrasonic Sensor Module – UART Controlled, 28-750cm Range₹2,079
DYP-A01BNYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm: another version this guide coversDYP-A01BNYUB-V2.0 UART-Auto Ultrasonic Sensor 28–750cm₹2,005
DYP-A01BNYTW-V2.0 Ultrasonic Proximity Sensor 28-450cm Range – UART, PWM, RS485, IP67: another version this guide coversDYP-A01BNYTW-V2.0 Ultrasonic Proximity Sensor 28-450cm Range – UART, PWM, RS485, IP67₹1,359
DYP-A01CNYUB-2.1 UART Auto Waterproof Ultrasonic Sensor Measuring Range 28–250cm: another version this guide coversDYP-A01CNYUB-2.1 UART Auto Waterproof Ultrasonic Sensor Measuring Range 28–250cm₹1,989
DYP-A01ANY4B-V2.1 Ultrasonic Rangefinder Module – 28-750cm Range, RS485/UART/PWM/Switch Output, IP67: another version this guide coversDYP-A01ANY4B-V2.1 Ultrasonic Rangefinder Module – 28-750cm Range, RS485/UART/PWM/Switch Output, IP67₹1,947
DYP-A01BNYUW-V2.0 Ultrasonic Precision Rangefinder Module – 28-450cm, UART/PWM/RS485, IP67: another version this guide coversDYP-A01BNYUW-V2.0 Ultrasonic Precision Rangefinder Module – 28-450cm, UART/PWM/RS485, IP67₹1,649
DYP-ME007YS-TX-V2.0 Ultrasonic Rangefinder Module – 28-450cm Range, IP67 Waterproof, UART Auto: another version this guide coversDYP-ME007YS-TX-V2.0 Ultrasonic Rangefinder Module – 28-450cm Range, IP67 Waterproof, UART Auto₹939
DYP-ME007YS-TX1 V2.0 UART Controlled Ultrasonic Sensor Module – 28–450cm Range: another version this guide coversDYP-ME007YS-TX1 V2.0 UART Controlled Ultrasonic Sensor Module – 28–450cm Range₹1,149
DYP-ME007YS-KG V2.0 Switch Ultrasonic Sensor Module – 28-250cm Range, UART Interface: another version this guide coversDYP-ME007YS-KG V2.0 Switch Ultrasonic Sensor Module – 28-250cm Range, UART Interface₹1,199
DYP-A19NYUW-V1.0 High Precision Ultrasonic Sensor 28-450cm – UART Auto IP67 Waterproof: another version this guide coversDYP-A19NYUW-V1.0 High Precision Ultrasonic Sensor 28-450cm – UART Auto IP67 Waterproof₹1,679
DYP-A21BYYUW-V1.0 High Precision Ultrasonic Sensor 3-500cm – UART Auto, IP67 Waterproof PVC Housing: another version this guide coversDYP-A21BYYUW-V1.0 High Precision Ultrasonic Sensor 3-500cm – UART Auto, IP67 Waterproof PVC Housing₹2,839
DYP-A12BNYTW-V1.0 Narrow Beam Ultrasonic Range Finder 25-500cm – UART Controlled IP67 Waterproof: another version this guide coversDYP-A12BNYTW-V1.0 Narrow Beam Ultrasonic Range Finder 25-500cm – UART Controlled IP67 Waterproof₹4,059
DYP-A12BNYUW-V1.0 Narrow Beam Ultrasonic Range Finder 25-500cm – IP67 Waterproof UART Auto: another version this guide coversDYP-A12BNYUW-V1.0 Narrow Beam Ultrasonic Range Finder 25-500cm – IP67 Waterproof UART Auto₹4,059
DYP-L08B50TW-V3.0 Ultrasonic Precision Rangefinder Module – 8-800cm Range, UART Controlled, IP68 Waterproof: another version this guide coversDYP-L08B50TW-V3.0 Ultrasonic Precision Rangefinder Module – 8-800cm Range, UART Controlled, IP68 Waterproof₹3,359
DYP-H01IO4-V1.0 Capacitive High-Precision Ultrasonic Range Finder – RS485: another version this guide coversDYP-H01IO4-V1.0 Capacitive High-Precision Ultrasonic Range Finder – RS485₹4,589
DYP-H01IOU-V1.0 Capacitive High-Precision Ultrasonic Range Finder 10-800cm – UART: another version this guide coversDYP-H01IOU-V1.0 Capacitive High-Precision Ultrasonic Range Finder 10-800cm – UART₹4,018
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Alternatives and when to choose them
- Waterproof ultrasonic sensors: JSN-SR04T and A02YYUW.
- DYP level sensors: narrow-beam tank and well sensors.
- MaxBotix WR sensors: another outdoor range.
Common mistakes to avoid
- Mounting the sensor closer than its blind zone.
- Angling the sensor away from the surface.
- Ignoring the checksum byte.
- Using a TTL version on a long cable instead of RS485.
Frequently asked questions
How do I read the A01 with an Arduino?
Read 4 bytes at 9600 baud: 0xFF header, distance high byte, low byte and checksum.
Is the A01 fully waterproof?
The probe is sealed; keep the cable joint and board dry.
Why do close objects give wrong readings?
They are inside the blind zone. Mount the sensor further away.
Can I use it in a water tank?
Yes. Mount it above the water facing down, clear of tank walls.
What is the difference between U and T versions?
U sends readings continuously; T sends one when triggered, saving power.
Parts for this guide
- ₹3,865View
- ₹2,189View
- ₹2,079View
- ₹2,079View
- ₹2,005View
- ₹1,359View
- ₹1,989View
DYP-A01ANY4B-V2.1 Ultrasonic Rangefinder Module – 28-750cm Range, RS485/UART/PWM/Switch Output, IP67₹1,947View- ₹1,649View
- ₹939View
- ₹1,149View
- ₹1,199View
- ₹1,679View
- ₹2,839View
- ₹4,059View
- ₹4,059View
DYP-L08B50TW-V3.0 Ultrasonic Precision Rangefinder Module – 8-800cm Range, UART Controlled, IP68 Waterproof₹3,359View- ₹4,589View
- ₹4,018View
- ₹389View
- ₹359View
- ₹85View
- ₹28View
- ₹1,989View
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




