Hi All,
I am hoping someone will be able to give me some assistance with the design of a circuit I need to carry out urgently for a project I am involved with at work.
I have been out of the electronics design world for a few years now and are a little rusty with my design skills.
Basically, I need to send the status of 10 switches (simple on/off contact closure) multiplexed serially down 1 wire. At the other end I need a circuit to re-create the 10 contact closure outputs ready to interface to another circuit (open-collector outputs are fine)
I don't require anything fast - this is for a control panel for a paging system. However, one or all of the switches may be operated at any one time, so the circuit needs to cope with this.
In addition, I need this circuit again to operate in the opposite direction down (ideally) the same wire. This is so I can light any one or all of 10 led's mounted on the same panel as the switches. If I have to use another wire for this (so 3 in total, 2+GND) that would be OK.
Are there any dedicated chips available to perform this function, or would the solution be say a PIC micro controller? I have looked at some chips used for encoding keypads in remote-control handsets, but they are not suitable. The cable in question would be a piece of cat5, about 50m in length.
Any pointers and/or help with a circuit design/PIC code would be much appreciated since I am a little stuck!
Thanks, Dan
I am hoping someone will be able to give me some assistance with the design of a circuit I need to carry out urgently for a project I am involved with at work.
I have been out of the electronics design world for a few years now and are a little rusty with my design skills.
Basically, I need to send the status of 10 switches (simple on/off contact closure) multiplexed serially down 1 wire. At the other end I need a circuit to re-create the 10 contact closure outputs ready to interface to another circuit (open-collector outputs are fine)
I don't require anything fast - this is for a control panel for a paging system. However, one or all of the switches may be operated at any one time, so the circuit needs to cope with this.
In addition, I need this circuit again to operate in the opposite direction down (ideally) the same wire. This is so I can light any one or all of 10 led's mounted on the same panel as the switches. If I have to use another wire for this (so 3 in total, 2+GND) that would be OK.
Are there any dedicated chips available to perform this function, or would the solution be say a PIC micro controller? I have looked at some chips used for encoding keypads in remote-control handsets, but they are not suitable. The cable in question would be a piece of cat5, about 50m in length.
Any pointers and/or help with a circuit design/PIC code would be much appreciated since I am a little stuck!
Thanks, Dan