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

Features

Mechanical Dimensions

Interface Description

Beam Pattern

beam direction schematic

Communication Protocol

See detailedPB00005-DFRobot I2C protocol V1.0.

Register define

There are 15 registers at the module. The module can be controlled by its registers that can be written(W) or read(R) by Master. These registers are defined as follow:

| align = "center" | Register Address | align = "center" | Write/Read | align = "center" | Function | align = "center" | Default Value | | ----------------------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | | 0 | R | Version of I2C library | | | 1 | R | Module Type | 4 (Ultrasonic) | | 2 | R | Module Serials | 1 (URM) | | 3 | R | Module sub-Serials | 7 | | 4 | R | Hardware Version | | | 5 | R | Software Version | | | 6 | R/W | Control Byte: 0xee=save these registers value to EEPROM,and then the module restart 0xfc=restore default value of registers 0xff=trigger once ranging in Manual Trigger Mode | | | 7 | R/W | Pullup resistor of I2C bus: 0=Disable, 1=Enable | 0 | | 8 | R/W | Slave Address, 1~126 (0 is broadcast address, 127 is Master address) | 0x11(17) | | 9 | R/W | Ranging Trigger Mode: 0=Manual, 1=Auto | 0 | | 10 | R/W | Cycle in Auto trigger mode: 3~254, unit=10ms | 0 (Continue, Cycle is about 30ms) | | 11 | R/W | Ranging Unit: 0=cm,1=mm,2=inch,3=microsecond | 0 | | 12 | R | Temperature,it is Signed char type, unit=Celsius | | | 13 | R | High byte of distance | | | 14 | R | Low byte of distance | |

Note:The new value of writable register will lost after power down until save them to EEPROM.

Usage

Connection

Individual

URM module and the control module is connected via supporting cable or DuPont cable. Any I2C interface can be used.

individual connections

Cascade

cascade

Arduino Sample

Example link:[ https://github.com/DFRobot/DFI2C DFRobot_I2C library and samples].

Note