General

change address ultrasonic sensor URM08

userHead MuhammadFarid Ghozi 2024-09-11 11:56:37 13 Views2 Replies

how to change address ultrasonic sensor URM08 using modbus poll apps?i already search on youtube still not found.maybe there is application to change it?

2024-09-11 14:10:19

It is recommended that you modify the slave address by sending a data frame, the following is an example of modifying URM08 to 0x12.

 

0x55 0xAA 0xAB 0x01 0x55 0x12 0x12

 

If you need to modify it to an address other than 0x12, the first five bytes of data are fixed and you need to modify the last two bytes.
The sixth byte is the new address you need to modify.
The seventh byte is the CRC checksum, which means that you add up the data from the first six bytes and take the lower two bits.
Take the above data frame as an example, all the data is added up to 0x212, take the lower two data is 0x12.

 

 

userHeadPic Yeez_B
Yeez_B wrote:

The detailed description of data frame is in the wiki:

https://wiki.dfrobot.com/URM08-RS485_Waterproof_Sonar_Range_Finder_SKU_SEN0246

 

2024-09-11 14:13:31
1 Replies