TroubleshootingArduino

SEN0492 address change

userHead jorin.Post 2024-03-25 17:30:25 195 Views0 Replies

By sending “0x50, 0x03, 0x00, 0x34, 0x00, 0x01, 0xC8, 0x45” I get the response in mm.

But now I want more than 1 SEN0492 on my Modbus, so I need to change the address.

By sending “0x50, 0x06, 0x00, 0x1A, 0x00, 0x7A, 0x6F, 0x24” I hope to change the address from 0x50 to 0x7A.

And then ask the distance with “0x7A, 0x03, 0x00, 0x34, 0x00, 0x01, 0x8F, 0xCF” but no return.

 

I think my CRC hex values are wrong but can't find out why. Can someone help me further?