A01NYUB Waterproof Ultrasonic Sensor¶
This sensor allows you to use A01NYUB waterproof ultrasonic sensor by DFRobot (datasheet) with ESPHome to measure distances. This sensor can measure ranges between 28 centimeters and 750 centimeters with a resolution of 1 milimeter.
Since this sensor reads multiple times per second, Sensor Filters are highly recommended.
To use the sensor, first set up an UART Bus with a baud rate of 9600 and connect the sensor to the specified pin.
# Example configuration entry
sensor:
- platform: "a01nyub"
name: "Distance"