PAS To Throttle converter using Arduino Nano

JohnnyT

1 µW
Joined
Jan 7, 2020
Messages
1
Here is my solution to convert PAS signal to Throttle input for cheap/high-power ebike controllers that doesnt have PAS input.
Output power will follow pedaling speed, smoothed with a moving average logic. You might need to adjust system variables to match your motor/controller/PAS.
Solder according to the schematic and program the Arduino Nano using attached program.
PASTHR.jpg
PAS output can be connected directly to D2, Arduino has an in-built pull-up.
You will need 1K resistor and 10uF capacitor to convert PWM output to analog voltage.
You can put the Arduino Nano inside the controller case (insulate using shrinking plastic), in that case connect the power to +5 pin, ground to GND pin, output to ZB pin.
If you put it outside the case, connect output to throttle input, power to throttle power and ground to throttle ground. Before reassembling, remove all power sources and short-circuit the big capacitors or you could blow the board as you insert it in the conductive housing.
Thanks to fkopac for the basics.
 
thanks for posting this.

for future readers, fkopac's original solution here:
https://endless-sphere.com/forums/viewtopic.php?f=2&t=87116
 
Last edited:
Back
Top