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.

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.
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.

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.