User Manual
www.YeRobot.com
URM04V2.0 Ultrasonic Ragner Sensor
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 115.2K BPS Baud Rate,8/N/1.
1. Set Device Address
Command:
Header
Address
Length
Cmd
Set Address
SUM
55
aa
AB
1
55
ADD
SUM
Return Value:
Header
Address
Length
Cmd
Flag
SUM
55
aa
ADD
1
55
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 0x11)
Example:
Command
0x55 0xaa 0x11 0x01 0x55 0x12 0x79 (Set Address to 0x12)
Return:
0x55 0xaa 0x12 0x01 0x55 0x01 0x69 (Address set sucessfully)
2. Trigger measurement
Command:
Header
Address
Length
Cmd
SUM
55
aa
AD
0
01
SUM
Return Value: