Kepler wrote: ↑
Jul 26 2018 5:39am
Lots of requests for pedal assist. I can see merit in using pedal assist but I like the idea of still using the single button for 2 speeds and kill but only operational if pedaling. Anyway working on the code at the moment. thought it would be piece of cake lol. Wrong!!!
Anyway, got my litte test jig built and trying a few ideas now. give me a week or two
Been distracted with my Mountain Bike friction drive setup over the past month or 2 https://www.endless-sphere.com/forums/v ... 8&t=96581
but with that done and dusted, I have been back working on an Arduino based PAS system for the drive.
Took me a little while to figure out how I wanted to do this but finally came up with a solution that I liked. Being a minimalistic drive system, I wanted to make sure the PAS system was also minimalistic and as such came up with a solution that uses a single PAS sensor and a single magnet.
The PAS works in conjunction with a a single button throttle.
After the battery is plugged in, the drive stays switch off until the button is held down for half a second.
With the PAS now active, the sensor needs the magnet to pass twice within a a given time period for the drive to activate.
This time period is equal to a cadence of around 40 to 50 RPM.
Once activated by the PAS sensor, the drive will output 60% throttle.
If you stop peddling or drop below the cadence threshold, the drive will deactivate.
The button throttle also acts as a boost button. Holding the button down will ramp the throttle to 100%
Releasing the throttle button will return the drive to cadence control.
A short push of the button will deactivate the assist completely.
Below is a short video of PAS and button throttle operation. Still to road test the system but I think it is looking promising.