change address ultrasonic sensor URM08
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?
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.
Yeez_B
The detailed description of data frame is in the wiki:
https://wiki.dfrobot.com/URM08-RS485_Waterproof_Sonar_Range_Finder_SKU_SEN0246