Posted by Dave Oconnell on 20/06/2018 15:44:08:
Thanks to all, yes I believe it is a Hall effect switch…
Apologies for being a pedant but it might help. I think the sensor is a linear Hall effect device rather than a switch. It produces a DC voltage proportional to the proximity of a magnet on the plastic arm. (For safety there might also be an on/off switch inside that piston thingy?)
Hall effect sensors as used in Tachometers contain a built-in amplifier arranged to trigger so that the output is either fully on or fully off. It doesn't make sense to use that type in a speed controller.
Unlike a potentiometer the Hall effect arrangement has nothing to wear out, is robust and electrically safe. The motor controller probably doesn't care how its control voltage is produced, provided it stays within range, so there are any number of ways of varying a few volts that would drive it. But because the mechanical part is more complicated than the electronics, I'd be inclined to stick with what you have, making the magnet travel more slowly for a given foot movement with a longer lever, or levers.
Just a suggestion. What works best for you depends on what you have available, not what I think.
Dave