henninggs
Member level 2
Adding a Master-Wake-Up signal to the rs-485 bus ?
Hi.
I have a rs-485 network with one master and multiple slaves. A slave is only speaking if spoken to by the master.
Let's say I have a slave that monitors a sensor. If the sensor value gets outside a predefined range the master must be notified within a few seconds. Chances are that the sensor will get outside the range just once or twice a year.
One way to implement this, is to have the master polling the slave every few seconds asking if the sensor is outside the range. This would mean a lot of unnecessary traffic since 99.999% of the time the answer would be "no".
So I was thinking: Since the network is wired with cat5e cable I have some wires not in use by the rs485 bus. If I could use one of these wires to signal the master that it's time to poll the slaves for a status update I could greatly reduce traffic on the bus. (An properly also the overall power consumption)
The signal could just be a HIGH on the spare wire and it would not be a problem if two slaves sets it high at the same time: As soon as the master gets the signal it goes into polling all slaves asking for their status.
What do you think of this idea and how could it be implemented on the hardware side ?
Are there any simpler or better solutions ?
Any thoughts is greatly appreciated.
Hi.
I have a rs-485 network with one master and multiple slaves. A slave is only speaking if spoken to by the master.
Let's say I have a slave that monitors a sensor. If the sensor value gets outside a predefined range the master must be notified within a few seconds. Chances are that the sensor will get outside the range just once or twice a year.
One way to implement this, is to have the master polling the slave every few seconds asking if the sensor is outside the range. This would mean a lot of unnecessary traffic since 99.999% of the time the answer would be "no".
So I was thinking: Since the network is wired with cat5e cable I have some wires not in use by the rs485 bus. If I could use one of these wires to signal the master that it's time to poll the slaves for a status update I could greatly reduce traffic on the bus. (An properly also the overall power consumption)
The signal could just be a HIGH on the spare wire and it would not be a problem if two slaves sets it high at the same time: As soon as the master gets the signal it goes into polling all slaves asking for their status.
What do you think of this idea and how could it be implemented on the hardware side ?
Are there any simpler or better solutions ?
Any thoughts is greatly appreciated.