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. ›DYP Ultrasonic Level Sensors

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

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the DYP ultrasonic level sensors isDYP ultrasonic level sensors pinoutWiring the DYP ultrasonic level sensorsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

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
01

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.

02

DYP ultrasonic level sensors pinout

The pins on the DYP ultrasonic level sensors and what each one does.

PinFunction
RedVCC
BlackGND
YellowRX / PWM / RS485 A
WhiteTX / RS485 B
PinFunction
Red
VCC
Black
GND
Yellow
RX / PWM / RS485 A
White
TX / RS485 B
03

Wiring the DYP ultrasonic level sensors

Connect the DYP ultrasonic level sensors like this.

DYP ultrasonic level sensors pinArduino UnoESP32
Red (VCC)5 V3.3 or 5 V (check model)
Black (GND)GNDGND
Yellow (RX / trigger)D11GPIO 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
04

Example code

A minimal sketch to check the part works.

Read the tank level (ESP32) · Arduino C++Verify & upload in Electrolark
// 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");
    }
  }
}
05

Setup and tuning

Mount above the centre

keep the beam clear of walls, pipes and inlets.

Blind zone

keep the sensor above the maximum water level by more than its minimum range.

Convert to level

level = tank height minus measured distance.

Filter

average readings to smooth ripples.

Cable and seal

seal the cable entry and protect it from sun.

06

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
07

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

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

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

  • DYP-A07NYUB-V1.0 UART Waterproof Ultrasonic Level Sensor Auto (Measuring Range 25~800cm)
    ₹9,322View
  • DYP-A07NYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)
    ₹8,008View
  • DYP-A07NYTB-V1.0 UART Controlled Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm)
    ₹8,049View
  • DYP A08A Series Ultrasonic Level Sensor Module – PWM Output, Waterproof, 25-800cm Range
    ₹4,459View
  • DYP A08A Series Ultrasonic Level Sensor Module – UART Controlled, Waterproof, 25-800cm Range
    ₹5,439View
  • DYP A08A Series Ultrasonic Level Sensor Module – UART Interface, Waterproof, 25-800cm Range
    ₹4,429View
  • DYP A08BNYTB-V1.0 Ultrasonic Level Sensor – UART Controlled, Waterproof, 25-500cm Range
    ₹4,695View
  • DYP A08BNYUB-V1.0 UART Auto Waterproof Ultrasonic Level Sensor (Measuring Range 25~500cm)
    ₹4,197View
  • DYP A08BNYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (25~500cm Range)
    ₹4,197View
  • DYP-A08CNYUB-V1.0 UART Ultrasonic Sensor Module – 25–200cm Range
    ₹4,709View
  • DYP-A16NY4W-V1.0 Large-Range High-Precision Ultrasonic Water Level Sensor 50-1500cm – RS485
    ₹8,840View
  • DYP-A16NYUW-V1.0 Large-Range Ultrasonic Water Level Sensor 50-1500cm – UART Auto
    ₹6,699View
  • DYP-A17NY4W-V1.0 RS485 Ultrasonic Well Level Sensor (25~1000cm Range)
    ₹9,155View
  • DYP-A17NYTW-V1.0 UART Ultrasonic Well Level Sensor (25-1000cm Range)
    ₹8,819View
  • DYP-A17NYUW-V1.0 UART Auto Ultrasonic Well Level Sensor (25-1000cm Range)
    ₹8,774View
  • DYP-A17NYWW-V1.0 PWM Ultrasonic Well Level Sensor (25~1000cm Range)
    ₹8,774View
  • DYP-A05LY4-V1.1 RS485 Ultrasonic Sensor Module – 25-45cm Range, 9-36V DC
    ₹2,059View
  • DYP-A05LYU-V1.1 Ultrasonic Sensor Module – UART Output, 25-450cm Range, 9-36V DC
    ₹1,859View
  • DYP-A06BLYT-V1.1 Ultrasonic Distance Sensor Module – 30-200cm Range, UART Controlled, Waterproof
    ₹899View
  • DYP-A06BLYU-V1.1 Ultrasonic Distance Sensor 30-200cm – UART Auto Output IP67 Waterproof
    ₹799View
  • DYP-A06LYT-V1.1 Transceiver Ultrasonic Sensor 25-600cm – UART Controlled
    ₹1,201View
  • DYP-A06LYU-V1.1 Ultrasonic Distance Sensor 25-600cm Range – UART Auto, PWM, Switch Outputs
    ₹1,149View
  • DYP-DS1603L V1.0 UART Ultrasonic Sensor Module – RS485 Output, 50-2000mm Range
    ₹1,379View
  • DYP DS1603DA V1.0 RS485 Ultrasonic Sensor 50–2000mm Range
    ₹1,429View
  • DYP DS1603NF V1.0 Switch Ultrasonic Sensor Measuring Range 50–2000mm
    ₹1,179View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • 5V Relay Module with Optocoupler
    ₹74View
  • MAX485 RS-485 to TTL Module
    ₹28View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
  • DYP A02YYUW Waterproof Ultrasonic Sensor UART IP67 3–450cm
    ₹1,989View
Shop Ultrasonic Distance & Ranging Sensors

Keep learning

Buying guideIntermediateLiquid Level SensorsThe right liquid level sensor depends on whether you need a single trip point or a continuous reading.3 min read · SensorsComponent guideIntermediateSubmersible Water Level TransmitterA 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.3 min read · SensorsComponent guideIntermediateDYP A01NYUB, A01 Series, ME007YS, A19, A21B, A12 Narrow BeamDYP A01 and related sensors are sealed IP67 ultrasonic rangefinders for tanks, parking, bins and outdoor robots.5 min read · SensorsComponent guideIntermediateDYP-U022 Fuel and DYP-L062 LPG Ultrasonic Level SensorsDYP's U022 and L062 sensors measure liquid level from outside a tank by sending ultrasound up through the bottom wall and timing the echo from the liquid surface.3 min read · Sensors

Sources

  • DYP A07, A08, A16, A17 and DS1603 datasheets

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 DYP ultrasonic level sensors isDYP ultrasonic level sensors pinoutWiring the DYP ultrasonic level 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 · ₹48,598

DYP-A07NYUB-V1.0 UART Waterproof Ultrasonic Level Sensor Auto (Measuring Range 25~800cm) · DYP-A07NYWB-V1.0 PWM Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm) · DYP-A07NYTB-V1.0 UART Controlled Waterproof Ultrasonic Level Sensor (Measuring Range 25~800cm) · DYP A08A Series Ultrasonic Level Sensor Module – PWM Output, Waterproof, 25-800cm Range · DYP A08A Series Ultrasonic Level Sensor Module – UART Controlled, Waterproof, 25-800cm Range · DYP A08A Series Ultrasonic Level Sensor Module – UART Interface, Waterproof, 25-800cm Range · DYP A08BNYTB-V1.0 Ultrasonic Level Sensor – UART Controlled, Waterproof, 25-500cm Range · DYP A08BNYUB-V1.0 UART Auto Waterproof Ultrasonic Level Sensor (Measuring Range 25~500cm)

Run itChange the inputs and watch the output

Tank 2000 mm deep: water height = 2000 minus the measured air gap.

Tank60 %
Serial monitor115200 baud
1199 mm of water

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