working on a project that uses 4 proximity magnetic sensors. 2 max positions and 2 home positions(horizontal and vertical). these sensors are connected to a PIC.
problem is I only have 2 inputs left on the pic. I was using a relay to switching them, but sometimes getting some false readings. I think is because of the relay's contacts bouncing.
other better way to switch?
Thanks in advance.
problem is I only have 2 inputs left on the pic. I was using a relay to switching them, but sometimes getting some false readings. I think is because of the relay's contacts bouncing.
other better way to switch?
Thanks in advance.