maniac84
Full Member level 6
- Joined
- Mar 4, 2012
- Messages
- 337
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Activity points
- 3,661
I have a master device which will communicate with 2 slave device using RS485. These 3 devices is connected together. These 2 slave device each have different ID, let say it's ID 1 and ID 2. If master device transmit data to slave ID1, only slave ID 1 will reply. If master device transmit data to slave ID2, only slave ID 2 will reply.
So, if the user accidentally set same ID on the 2 slave devices, if master device transmit data to the 2 slave devices, normally both will reply and the signal will crash with each other making the master device receive rubbish only.
I now face the problem of no crash signal. If I set the two slave devices to same ID, their signal won't crash with each other. Both my slave device is using ATmega mcu and programmed with the same firmware. So, if both reply at the same time, normally the signal will crash, but mine won't. Do you guys know why?
So, if the user accidentally set same ID on the 2 slave devices, if master device transmit data to the 2 slave devices, normally both will reply and the signal will crash with each other making the master device receive rubbish only.
I now face the problem of no crash signal. If I set the two slave devices to same ID, their signal won't crash with each other. Both my slave device is using ATmega mcu and programmed with the same firmware. So, if both reply at the same time, normally the signal will crash, but mine won't. Do you guys know why?