Electric bicycles should turn off the motor during braking. Therefore, I have invented a method to build a switch into a brake lever; the brake lever doesn't have to be replaced and no external switch is needed.

I use Hall effect sensors as switch, because they are reliable, watertight, small, and inexpensive. Used is the SS411P, the same as the one in the PAS sensor, but almost every hall sensor may be used. The 5mm magnet comes from a PAS sensor magnet ring.

As an example, the Shimano Deore XT brake lever is taken:

Shimano Deore XT brake lever switch with Hall effect sensor
Shimano Deore XT brake lever switch with Hall effect sensor

4mm hole for the cable
4mm hole for the cable

5mm hole for the magnet
5mm hole for the magnet

Magnet mounted
Magnet mounted

Hall sensor SS411P inside the brake lever
Hall sensor SS411P inside the brake lever

Hall sensor SS411P glued with epoxy
Hall sensor SS411P glued with epoxy

We can choose between active high or active low output. Just rotate the magnet 180 degrees to change the behaviour:

  • Active low output
    The output is 0V during braking. For two brakes, the outputs can simply be connected together.
  • Active high output
    The output is 5V during braking. The advantage is that the switch is fail-safe, see here. For two brakes, the outputs can be connected together with two diodes.

Do you have any comments? Please let me know.
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.