Component guide · Intermediate · 5 min read
DYP Ultrasonic Level Sensors

A07, A08, A16 (15 m), A17 Well, A05, A06 and DS1603 Liquid Level Sensors
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
DYP level sensors measure the distance down to water or other liquid, so you can work out tank or well level. The A07 and A08 suit tanks up to 5 to 8 m, the A16 reaches 15 m and the A17 is made for narrow wells. The A05 and A06 are compact level sensors, and the DS1603 is unusual: it measures liquid level through the bottom of a tank wall without touching the liquid.
Key specs at a glance
- Range
- 25 to 500 or 800 cm (A07, A08), 50 to 1500 cm (A16), 25 to 1000 cm (A17), 5 to 200 cm (DS1603)
- Beam
- Narrow, to avoid tank wall echoes
- Output
- UART auto or controlled, PWM, RS485, switch by model
- Supply
- 3.3 to 5 V (TTL), 5 to 24 or 9 to 36 V (RS485, A05)
- Protection
- IP67
- Accuracy
- About plus or minus (1 cm + 0.3%)
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1DYP-A07NYUB-V1.0 UART Waterproof Ultrasonic Level Sensor Auto (Measuring Range 25~800cm)₹9,322
Option 2DYP-A07NYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)₹8,008
Option 3DYP-A07NYTB-V1.0 UART Controlled Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)₹8,049
Option 4DYP A08A Series Ultrasonic Level Sensor Module – PWM Output, Waterproof, 25-800cm Range₹4,459
Option 5DYP A08A Series Ultrasonic Level Sensor Module – UART Controlled, Waterproof, 25-800cm Range₹5,439
Option 6DYP A08A Series Ultrasonic Level Sensor Module – UART Interface, Waterproof, 25-800cm Range₹4,429
What the DYP ultrasonic level sensors is
DYP ultrasonic level sensors are sealed narrow-beam sensors that measure the distance to a liquid surface to work out tank level.
Level = mounting height to the tank bottom minus measured distance. Keep the sensor above the maximum water level by more than its blind zone.
The DS1603 is glued to the outside of the tank bottom and measures up through the wall, so it works with sealed tanks of plastic, glass or metal.
DYP ultrasonic level sensors pinout
The pins on the DYP ultrasonic level sensors and what each one does.
| Pin | Function |
|---|---|
| Red | VCC |
| Black | GND |
| Yellow | RX / PWM / RS485 A |
| White | TX / RS485 B |
- Red
- VCC
- Black
- GND
- Yellow
- RX / PWM / RS485 A
- White
- TX / RS485 B
Wiring the DYP ultrasonic level sensors
Connect the DYP ultrasonic level sensors like this.
| DYP ultrasonic level 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) {
int mm = (h << 8) | l;
const int TANK_MM = 2000; // sensor face to tank bottom
Serial.print(TANK_MM - mm); Serial.println(" mm of water");
}
}
}Setup and tuning
keep the beam clear of walls, pipes and inlets.
keep the sensor above the maximum water level by more than its minimum range.
level = tank height minus measured distance.
average readings to smooth ripples.
seal the cable entry and protect it from sun.
What you need
Shop this list20 of 20 found in our store · ₹1,14,181
DYP-A07NYUB-V1.0 UART Waterproof Ultrasonic Level Sensor Auto (Measuring Range 25~800cm): the part this guide coversDYP-A07NYUB-V1.0 UART Waterproof Ultrasonic Level Sensor Auto (Measuring Range 25~800cm)₹9,322
DYP-A07NYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm): another version this guide coversDYP-A07NYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)₹8,008
DYP-A07NYTB-V1.0 UART Controlled Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm): another version this guide coversDYP-A07NYTB-V1.0 UART Controlled Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)₹8,049
DYP A08A Series Ultrasonic Level Sensor Module – PWM Output, Waterproof, 25-800cm Range: another version this guide coversDYP A08A Series Ultrasonic Level Sensor Module – PWM Output, Waterproof, 25-800cm Range₹4,459
DYP A08A Series Ultrasonic Level Sensor Module – UART Controlled, Waterproof, 25-800cm Range: another version this guide coversDYP A08A Series Ultrasonic Level Sensor Module – UART Controlled, Waterproof, 25-800cm Range₹5,439
DYP A08A Series Ultrasonic Level Sensor Module – UART Interface, Waterproof, 25-800cm Range: another version this guide coversDYP A08A Series Ultrasonic Level Sensor Module – UART Interface, Waterproof, 25-800cm Range₹4,429
DYP A08BNYTB-V1.0 Ultrasonic Level Sensor – UART Controlled, Waterproof, 25-500cm Range: another version this guide coversDYP A08BNYTB-V1.0 Ultrasonic Level Sensor – UART Controlled, Waterproof, 25-500cm Range₹4,695
DYP A08BNYUB-V1.0 UART Auto Waterproof Ultrasonic Level Sensor (Measuring Range 25~500cm): another version this guide coversDYP A08BNYUB-V1.0 UART Auto Waterproof Ultrasonic Level Sensor (Measuring Range 25~500cm)₹4,197
DYP A08BNYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (25~500cm Range): another version this guide coversDYP A08BNYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (25~500cm Range)₹4,197
DYP DYP-A08CNYUB-V1.0 UART Ultrasonic Sensor Module – 25–200cm Range: another version this guide coversDYP-A08CNYUB-V1.0 UART Ultrasonic Sensor Module – 25–200cm Range₹4,709
DYP-A16NY4W-V1.0 Large-Range High-Precision Ultrasonic Water Level Sensor 50-1500cm – RS485: another version this guide coversDYP-A16NY4W-V1.0 Large-Range High-Precision Ultrasonic Water Level Sensor 50-1500cm – RS485₹8,840
DYP-A16NYUW-V1.0 Large-Range Ultrasonic Water Level Sensor 50-1500cm – UART Auto: another version this guide coversDYP-A16NYUW-V1.0 Large-Range Ultrasonic Water Level Sensor 50-1500cm – UART Auto₹6,699
DYP-A17NY4W-V1.0 RS485 Ultrasonic Well Level Sensor (25~1000cm Range): another version this guide coversDYP-A17NY4W-V1.0 RS485 Ultrasonic Well Level Sensor (25~1000cm Range)₹9,155
DYP-A17NYTW-V1.0 UART Ultrasonic Well Level Sensor (25-1000cm Range): another version this guide coversDYP-A17NYTW-V1.0 UART Ultrasonic Well Level Sensor (25-1000cm Range)₹8,819
DYP-A17NYUW-V1.0 UART Auto Ultrasonic Well Level Sensor (25-1000cm Range): another version this guide coversDYP-A17NYUW-V1.0 UART Auto Ultrasonic Well Level Sensor (25-1000cm Range)₹8,774
DYP-A17NYWW-V1.0 PWM Ultrasonic Well Level Sensor (25~1000cm Range): another version this guide coversDYP-A17NYWW-V1.0 PWM Ultrasonic Well Level Sensor (25~1000cm Range)₹8,774
DYP-A05LY4-V1.1 RS485 Ultrasonic Sensor Module – 25-45cm Range, 9-36V DC: another version this guide coversDYP-A05LY4-V1.1 RS485 Ultrasonic Sensor Module – 25-45cm Range, 9-36V DC₹2,059
DYP-A05LYU-V1.1 Ultrasonic Sensor Module – UART Output, 25-450cm Range, 9-36V DC: another version this guide coversDYP-A05LYU-V1.1 Ultrasonic Sensor Module – UART Output, 25-450cm Range, 9-36V DC₹1,859
DYP-A06BLYT-V1.1 Ultrasonic Distance Sensor Module – 30-200cm Range, UART Controlled, Waterproof: another version this guide coversDYP-A06BLYT-V1.1 Ultrasonic Distance Sensor Module – 30-200cm Range, UART Controlled, Waterproof₹899
DYP-A06BLYU-V1.1 Ultrasonic Distance Sensor 30-200cm – UART Auto Output IP67 Waterproof: another version this guide coversDYP-A06BLYU-V1.1 Ultrasonic Distance Sensor 30-200cm – UART Auto Output IP67 Waterproof₹799
Alternatives and when to choose them
- Liquid level sensors: float, capacitive and pressure types.
- Submersible level transmitter: pressure-based level.
- DYP A01 family: general distance.
Common mistakes to avoid
- Mounting next to the inlet pipe.
- Placing the sensor so the full tank is inside the blind zone.
- Leaving the cable entry unsealed.
- Not averaging readings on a rippling surface.
Frequently asked questions
How do I calculate tank level?
Subtract the measured distance from the distance to the empty tank floor.
Can the sensor touch the water?
No. It must stay above the surface, outside its blind zone.
Why are readings unstable?
Ripples, foam, inlet splashing or echoes from walls. Mount away from the inlet.
Which model suits a deep well?
The A17 is made for wells, and the A16 reaches about 15 m.
What is the DS1603?
A sensor that measures liquid level from outside the bottom of a container.
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.










