Kabbage said:
...how would you adjust this circuit to have about 0.8V on the signal with the switch open?, but still keep the slow rise and quick drop?
Okay - here's yet another version.

Try the circuit on the left below:

We add R3 to the earlier circuit to set the baseline ZERO throttle cap voltage which is assumed to be greater than 0.7v - the D1 forward voltage (middle image above). D1 makes this more than a simple resistor divider, but the effect is similar with R2 and R3 as the primary contributors. When the button is pushed, a slightly different divider is in play (right image above), raising the cap voltage to the WOT setting. When the button is released, C1 discharges quickly through D1+R2 and stops discharge at the ZERO throttle divider voltage. This should give curves something like this:

Because R1 does not play a role for quiescent ZERO throttle, use that case to adjust R3 first. Setup should probably go like this:
Choose a value for R3 such that SIGNAL is about 0.1v
below the voltage at which the motor does not run or creep (~0.8v):
- put the bike on a stand if possible
- unplug the motor phase wires so you can mess with the controller without mishap..
- plug in the circuit and hook a DMM from the throttle sense lead to ground.
- adjust R3 until the meter shows the target value.
- test with phase wires plugged in to verify no motor motion.
R3 will probably be between 18K - 47K.
Choose a value for R1 such that SIGNAL is 0.1v
above the voltage that gives max no load motor speed on the stand (~4.0v):
- unplug the motor phase wires.
- with the button shorted, adjust R1 until the meter shows the target value
- test with phase wires plugged in to verify motor achieves max no-load speed
R1 will probably be 12K or less.
For the other values:
- R2 can be 1K - this value controls the discharge rate and is non-critical, but will cause an unnecessarily high current draw if made too small. 1K is about 5ma - about twice the draw of a regular hall throttle - still harmlessly tiny.
- D1 can be anything handy, 1N914, 1N4148, 1N4001.
- C1 is going to be large as with the original circuit - at least 100uF and likely more. See what you like...
I think for your ebikes.ca controller R3 will be in the neighborhood of 40K. If R3 is too small, the motor will not turn off completely, so erring on the high side is good. If you are trying to really tweak this in to match your motor ZERO and WOT voltages, the extra +/- 0.1v mentioned above is to add a little margin of safety for temperature and component aging. Obviously some trimpots could be added for R1 and R3 to make this easier, but...
Apologies for not trying this first, but (famous last words) it
should work....
