SEN0002

SEN0002 Datasheet


URM04 V2.0 SKU:SEN0002

Part Datasheet
SEN0002 SEN0002 SEN0002 (pdf)
PDF Datasheet Preview
URM04 V2.0 SKU:SEN0002

URM04 V2.0

Figure 1 URM04 Beam Width 60 degree

Contents
1 Introduction 2 Specification 3 Dimension and Pin definition 4 Communication Protocols

Set Device Address Trigger measurement Read Distance Read tempeature 5 Sensor Connection Diagram 6 Sensor Networking 7 Arduino sketch for driving one URM04 sensor

Introduction A. Please read this mannual carefully before power on the device. B. Do not use this device for military or medical purpose as they are not designed to.

URM04 is developed based upon our popular URM37 ultrasonic sensor. The RS485 interface allows a number of sensors working together. Up to 32 URM04 may be connected together in a network.

Specification

Power +5V Current <20mA Working temperature -10 Detecting range 4cm-500cm Resolution 1cm Frequency 40KHz Interface RS485 Units Range reported in cm Temperature sensor 12 bits reading from serial port Size 34mm x 51 mm Weight 30g Default Address:0x11 Default Baudrate:19200

Dimension and Pin definition

URM4 V2 Front view


URM4 V2 Back view

RS485 connectors + +5V DC Power +5V - GND Ground A RS485 A + B RS485 B -

ISP Pin For factory firmware uploading

Communication LED As the device is powered up, this LED will flash four times which indicates that the sensor is working properly. This LED will also flash when it is communcating with other devices. Jumper A Not in use Jumper B When the sensor is working under a network, only the Jumper B for the first Device and the last Device need to be bridged.

Communication Protocols

The device is fixed at 19200 bps Baud Rate,8/N/1.

Note:The previous version has 115200 bps Baud Rate,8/N/1.

Set Device Address

Command:

Header Cmd Length Cmd Set Address SUM
55 aa AB

Return

Header 55 aa

Address ADD

Length 1

Cmd Flag SUM

S SUM

PS The address of each device can be changed when multiple devices are connected. The new Address must be between 0x11 and 0x80. If the address is set sucessfully, the flag will be set to 0x01 in the return data. If unsucessful, there is no return data. The default address for the sensor is 0x12

Note:The previous default address is 0x11.

Example:

Command 0x55 0xaa 0xab 0x01 0x55 0x12 Set Address to 0x12

Return 0x55 0xaa 0x12 0x01 0x55 0x01 0x69 Address set sucessfully

Trigger measurement

Command:

Header

Address

Length

Cmd SUM
55 aa
More datasheets: AK672/3-1-R | FAN1582D25X | FAN1582T15 | FAN1582D12X | FAN1582D15X | FAN1582T25 | FAN1582T | FAN1582DX | MW153KB1203F01 | 101A0-4CZ3JL


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0002 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0002 509041