URM07_UART_Ultrasonic_Sensor_(SKU_SEN0153) - jimaobian/DFRobotWiki GitHub Wiki

Introduction

The URM07 Series is DFRobot's new ultrasonic range sensor, which uses integrated ultrasonic probe, and has features of compact size and excellent environmental adaptability. Comparing with general ultrasonic sensors which determine range through returning signal strength, the URM07 Series uses algorithms to collect multiple signals and runs signal analysis. As a result, the URM07 Series is able to detect high-absorbent objects.

Whatsmore, the URM07 series is also equipped with temperature compensation, which is achieved by measuring the ambient temperature on the amount of compensation and to get more accurate range results.

Specification

  • Operating Voltage: DC 5V ~ 8V
  • Operating Temperature : -10 ℃ ~ 70 ℃
  • Operating Current : <= 15mA
  • Ultrasonic Frequency: 40 KHz
  • Detecting Angle: 60 °
  • Detecting Distance: 100mm ~ 5000mm
  • Measure Error: 1%
  • Measuring Resolution: 1mm
  • Dimensions: 27mm x 35mm x 19mm

Features

  • High adaptability to a variety of obstacles
  • Built-in temperature compensation
  • Power supply reverse polarity protection
  • Over-current protection
  • Can be cascaded

Mechanical Dimensions

  • Module Size

 Dimensions (Unit:mm)

  • Supporting cable length: 15-16cm

Interface Description

  • UART interface: 4-pin, 2.54mm pitch; has two directly connected UART interfaces, multiple modules can be cascaded to use.
    • GND: negative power supply
    • VIN: positive power supply
    • RX: Serial data receiving port
    • TX: Serial data transmission port
  • Indicator: On when power ready, off when module is ready; On when the module and the host are communicating, off when communication off.

Beam Pattern

 beam direction schematic

Communication Interface

Default baud rate: 19200bps, 8N1

Default Address: 0x11

Communication protocol

See detailed PB00003-DFRobot UART protocol V1.0, the module supports the following commands (not included in the command is not supported ):

| align = "center" | Command Word | align = "center" | Function | align = "center" | Notes | |---------------------------------|-----------------------------------------------------|--------------------------------------------| | align = "center" | 0x02 | align = "left" | read measuring distance | align = "left" | | | align = "center" | 0x03 | align = "left" | read temperature | align = "left" | | | align = "center" | 0x08 | align = "left" | baud rate setting from the machine | align = "left" | Support 4800bps and above | | align = "center" | 0x55 | align = "left" | Set slave address | align = "left" | |

Usage

Connection

Individual

URM module and the control module is connected via supporting cable or DuPont cable. Any UART interface can be used, pay attention to cross-connect RX and TX.

 individual connections

Note : If you need to adjust the sequence of the supporting cable , refer to http://www.dfrobot.com/community/trick-for-changing-sensor-cable-pin-mapping.html line sequence adjustment method

Cascade

 cascade connection

  • In the cascade mode, the module cannot be the same address.

Arduino routine

  • Distance Measurement: See sample URM_uart_measure.
  • Get Temperature: See sample URM_uart_measure.
  • Set Address: See sample URM_uart_set. When multiple modules to be cascaded are same address or unknown, please first connect module by individual way and set the corresponding address. For the convenience of the late identification, proposal paste the address label on the module to facilitate the difference.
  • Set the baud rate: See sample URM_uart_set.
  • Search Baud Rate: If the baud rate is unknown, uses URM_uart_SearchBaudrate sample search its baud rate.

Example link : DFRobot_URM libraries and sample.

Note

  • The module itself is not waterproof.
  • Do not keep long in dusty, highly humid environment.
  • If there are same or similar frequency ultrasounds emitting at the same time in the same space, it will affect the measurement results.
  • Do not support Hot Plugging-in.
⚠️ **GitHub.com Fallback** ⚠️