For my motorcycle turn signal I need to alter the stock switch mechanism. The contacts are OK for a fully analog system but do not provide consistent contact for a digital one. Since the switch is in a 'box' on the handlebar I will have limited space and POSSIBLE moisture. I considered a magnet on the existing switch lever and either a Hall Sensor or a teeny reed switch to detect proximity of the magnet and trigger the left or right event. I would seal them up in heatshrink or epoxy to waterproof it when tested.
Any other ideas??
Which do you think would be better? The reed switch is simple but I worry about the vibration and since the space is small can I really get the magnet far enough away to open the contacts?
For a Hall sensor do I just connect power to the sensor and the output to the PIC or do I need some sort of interface like this: **broken link removed**
of course I will have a pull up resistor enabled on the pic (right now a 16f1829 but open to change) for stability of the input port.
Thanks in advance!!!
Any other ideas??
Which do you think would be better? The reed switch is simple but I worry about the vibration and since the space is small can I really get the magnet far enough away to open the contacts?
For a Hall sensor do I just connect power to the sensor and the output to the PIC or do I need some sort of interface like this: **broken link removed**
of course I will have a pull up resistor enabled on the pic (right now a 16f1829 but open to change) for stability of the input port.
Thanks in advance!!!