For proportional regen. Does not require any drilling/dremmeling etc. Uses a ratiometric hall sensor (I used Allegro Micro A1321EUA-T). It has symmetric response around 2.5V so I only get 0-2.5V response in this magnet configuration but I can adjust the controller for that range. Magnet is the rightmost round thingy (left is the pull pin). The pulling frame is steel so the magnet conveniently sticks to it for alignment and can be CA'ed later. If you get 2.5-5V just flip the magnet. I put the sensor on a sticky tape for now but will eventially hotglue it.
There are ways to get the entire range (0-5V) from the ratiometric hall sensor with a single magnet but it is more sensitive to the alignment. It is also possible to mount two magnets (opposite orientation) within a small distance for 0-5V response.

There are ways to get the entire range (0-5V) from the ratiometric hall sensor with a single magnet but it is more sensitive to the alignment. It is also possible to mount two magnets (opposite orientation) within a small distance for 0-5V response.
