{"product_id":"dfrobot-sen0313-a01nyub-waterproof-ultrasonic-distance-sensor","title":"DFRobot SEN0313 A01NYUB Waterproof Ultrasonic Distance Sensor 28-750cm UART","description":"\u003ch2\u003eDFRobot SEN0313 A01NYUB Waterproof Ultrasonic Distance Sensor\u003c\/h2\u003e\u003cp\u003eMeasure the distance to a target using ultrasonic echoes and read the result through a TTL UART connection. The A01NYUB combines the probe and signal processing in one enclosed sensor. Its removable bell-mouth supports the maker's 28–750 cm range for flat targets, making it useful for obstacle-detection and level-monitoring prototypes with enough clearance.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eBefore choosing:\u003c\/strong\u003e Allow at least 28 cm between the sensor and the nearest target. The 1 mm distance resolution is not the same as accuracy: DFRobot specifies ±1 cm accuracy. The maximum range depends on the target and mounting conditions, and the 7.5 m figure is specified with the bell-mouth fitted. IP67 is the sensor's protection rating, not a claim that it can measure distance underwater.\u003c\/p\u003e\u003ch3\u003eFeatures and specifications\u003c\/h3\u003e\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003eMaker model\u003c\/th\u003e\n\u003ctd\u003eDFRobot SEN0313 \/ A01NYUB\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eMeasurement method\u003c\/th\u003e\n\u003ctd\u003eUltrasonic echo ranging\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eRange for flat targets\u003c\/th\u003e\n\u003ctd\u003e28–750 cm with bell-mouth fitted\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eBlind zone\u003c\/th\u003e\n\u003ctd\u003e0–28 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eDistance resolution\u003c\/th\u003e\n\u003ctd\u003e1 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eSpecified accuracy\u003c\/th\u003e\n\u003ctd\u003e±1 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eSupply voltage\u003c\/th\u003e\n\u003ctd\u003e3.3–5 V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eAverage current\u003c\/th\u003e\n\u003ctd\u003eUp to 15 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eOutput\u003c\/th\u003e\n\u003ctd\u003eTTL UART, 9600 bps, 8 data bits, 1 stop bit, no parity\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProbe frequency\u003c\/th\u003e\n\u003ctd\u003e40 kHz ±1 kHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eSensing angle\u003c\/th\u003e\n\u003ctd\u003e55° with bell-mouth; 40° without, per maker\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eOperating temperature\u003c\/th\u003e\n\u003ctd\u003e−15 to 60°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eStorage temperature\u003c\/th\u003e\n\u003ctd\u003e−25 to 80°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eProtection rating\u003c\/th\u003e\n\u003ctd\u003eIP67, per maker\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eConnector\u003c\/th\u003e\n\u003ctd\u003ePH2.0 four-pin\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\u003ch3\u003eConnection and UART data\u003c\/h3\u003e\u003cp\u003eThe four connections are VCC, GND, RX and TX. Connect VCC and GND to a compatible supply, then connect the sensor's TX output to the controller's UART receive input. Check the controller's input voltage limits and the official wiring guide before connecting. This is a UART-output sensor, not a separate trigger\/echo interface.\u003c\/p\u003e\u003cp\u003eThe RX connection selects the output mode. According to the official protocol reference, leaving RX floating or high selects the steadier processed output, with a 150–300 ms response time; holding RX low selects real-time output, with a 150 ms response time. The general product specifications also list a nominal 100 ms response, so use the mode-specific protocol figures when planning data timing.\u003c\/p\u003e\u003cp\u003eDistance is sent as a four-byte frame: 0xFF header, distance high byte, distance low byte and checksum. Combine the two distance bytes to obtain millimetres, and validate the checksum before using the reading. Arduino and Raspberry Pi examples are linked below.\u003c\/p\u003e\u003ch3\u003eMounting and use\u003c\/h3\u003e\u003cp\u003eKeep the sensing opening clear and aim the sensor at a suitable target. Leave room for the blind zone and check the beam diagram when choosing a mounting position. Protect controller boards, exposed cable joins and the power supply separately. Use the sensor for through-air ranging; do not treat the enclosure's water-resistance rating as an underwater measurement specification.\u003c\/p\u003e\u003ch3\u003ePackage Includes\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e1 × DFRobot A01NYUB waterproof ultrasonic sensor\u003c\/li\u003e\n\u003cli\u003e1 × PH2.0 four-pin connector cable\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eArduino, Raspberry Pi, expansion board and power supply are not included. Wiring images show example connections, not additional package contents.\u003c\/p\u003e\u003ch3\u003eUseful Links\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/www.dfrobot.com\/product-1934.html\"\u003eOfficial product specifications and package\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/wiki.dfrobot.com\/sen0313\/\"\u003eSEN0313 pinout and setup overview\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/wiki.dfrobot.com\/sen0313\/docs\/20021\"\u003eArduino wiring and distance-reading example\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/wiki.dfrobot.com\/sen0313\/docs\/20020\"\u003eRaspberry Pi distance-reading example\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/wiki.dfrobot.com\/sen0313\/docs\/20019\"\u003eUART protocol, checksum and output modes\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"DFRobot","offers":[{"title":"Default Title","offer_id":51936427475111,"sku":"IN000385","price":3380.51,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0618\/9042\/9095\/files\/SEN0313_Main_01.jpg?v=1795131390","url":"https:\/\/rees52.com\/products\/dfrobot-sen0313-a01nyub-waterproof-ultrasonic-distance-sensor","provider":"REES52","version":"1.0","type":"link"}