put a potentiometer in or near the controller, so taht you can set the level of power you're after with the button, and adjust it experimentally until it does wha tyou want.
the middle wire from the pot goes to one side of the "activation button".
the other side of the "activation button" goes to the sp pad in the controller.
one end wire from the pot goes to any 5v pad in the controller.
the other end wire from the pot goes to any ground gnd pad in the controller.
flip the bike upside down and turn it on.
turn the pot's knob to the middle of ti's range.
press and hold the activation button, and turn the pots knob until the wheel goes as fast as it can, just before it stops spinning.
now it is set for full power output whenever you press that button.
Thanks, this sounds the easiest to implement. If I’m using a normal 12v horn button as my “throttle button”, what kind of potentiometer should I be using? Is a 10k pot sufficient?amberwolf said:https://endless-sphere.com/forums/viewtopic.php?f=2&t=103995&p=1520028&hilit=button#p1520028
put a potentiometer in or near the controller, so taht you can set the level of power you're after with the button, and adjust it experimentally until it does wha tyou want.
the middle wire from the pot goes to one side of the "activation button".
the other side of the "activation button" goes to the sp pad in the controller.
one end wire from the pot goes to any 5v pad in the controller.
the other end wire from the pot goes to any ground gnd pad in the controller.
flip the bike upside down and turn it on.
turn the pot's knob to the middle of ti's range.
press and hold the activation button, and turn the pots knob until the wheel goes as fast as it can, just before it stops spinning.
now it is set for full power output whenever you press that button.
if yo udon't want full power ewhenver you press the button, turn the pots knob until it is at the power you want it to be.
I live in a country where ebikes are not allowed to have throttles, having a small throttle button makes it less inconspicuous.Hwy89 said:Trying to understand why you would want a full throttle button rather than a smooth controllable throttle which can also be used as a full throttle button. Thumb throttles are probably less expensive than the parts you would need to jury rig a button on the bars and a throttle would be a lot safer.
I tried it with a 10k potentiometer and having some issues. When I hold down the button and turn the pot knob slowly, the motor does accelerate. However when I let go of the button and press it again, it doesn’t work anymore. I have to hold the button again and readjust the knob in order for it to work.amberwolf said:https://endless-sphere.com/forums/viewtopic.php?f=2&t=103995&p=1520028&hilit=button#p1520028
put a potentiometer in or near the controller, so taht you can set the level of power you're after with the button, and adjust it experimentally until it does wha tyou want.
the middle wire from the pot goes to one side of the "activation button".
the other side of the "activation button" goes to the sp pad in the controller.
one end wire from the pot goes to any 5v pad in the controller.
the other end wire from the pot goes to any ground gnd pad in the controller.
flip the bike upside down and turn it on.
turn the pot's knob to the middle of ti's range.
press and hold the activation button, and turn the pots knob until the wheel goes as fast as it can, just before it stops spinning.
now it is set for full power output whenever you press that button.
if yo udon't want full power ewhenver you press the button, turn the pots knob until it is at the power you want it to be.
Rider90 said:I tried it with a 10k potentiometer and having some issues. When I hold down the button and turn the pot knob slowly, the motor does accelerate. However when I let go of the button and press it again, it doesn’t work anymore. I have to hold the button again and readjust the knob in order for it to work.
Left pin of pot to gnd
Right pin of pot to +5v
Center pin of pot to button A wire
Button B wire to controller signal wire
doesn't really matter, 10k works fine.Rider90 said:Thanks, this sounds the easiest to implement. If I’m using a normal 12v horn button as my “throttle button”, what kind of potentiometer should I be using? Is a 10k pot sufficient?
that's odd.Rider90 said:I tried it with a 10k potentiometer and having some issues. When I hold down the button and turn the pot knob slowly, the motor does accelerate. However when I let go of the button and press it again, it doesn’t work anymore. I have to hold the button again and readjust the knob in order for it to work.
Left pin of pot to gnd
Right pin of pot to +5v
Center pin of pot to button A wire
Button B wire to controller signal wire
E-HP said:Did you add the two 1k resistors in series with the 5v and ground, as shown in the diagram at the bottom of the page I linked?
https://electricbike.com/forum/forum/kits/golden-motor-magic-pie/70584-guide-to-hall-sensor-throttle-operation-testing-and-modification
I was thinking the one on the 5V line would keep from overshooting the high threshold (it sounded like the OP adjusted the pot until it was above 4.3V).amberwolf said:E-HP said:Did you add the two 1k resistors in series with the 5v and ground, as shown in the diagram at the bottom of the page I linked?
https://electricbike.com/forum/forum/kits/golden-motor-magic-pie/70584-guide-to-hall-sensor-throttle-operation-testing-and-modification
that only matters if using a pot *as* a throttle, so that it doesn't have a dead range at either end as it is twisted in use.
not relevant in this application where the pot is only used to set a single voltage that will then be applied ot throttle input.
Rider90 said:When I hold down the button and turn the pot knob slowly, the motor does accelerate. However when I let go of the button and press it again, it doesn’t work anymore. I have to hold the button again and readjust the knob in order for it to work.
Do i add need to add another resistor in parallel such that when the button is not pressed, there is a min voltage of 0.8v feeding to the signal line?amberwolf said:that's odd.Rider90 said:I tried it with a 10k potentiometer and having some issues. When I hold down the button and turn the pot knob slowly, the motor does accelerate. However when I let go of the button and press it again, it doesn’t work anymore. I have to hold the button again and readjust the knob in order for it to work.
Left pin of pot to gnd
Right pin of pot to +5v
Center pin of pot to button A wire
Button B wire to controller signal wire
that shoudl work, as long as the pot is not set higher or lower than whatever threshold the controller has for "failed throttle".
if the contrllers throttle line is getting noise on it when not connected to the pot, then it should work to instead wire the button between right pin of pot and 5v, and directly connect controller signal wire to center pin of pot.
that will keep throttle line at zero volts except when throttle button is pushed.
i'm trying to think of another simple circuit to keep a minimum voltage on the throttle line when button isn't pressed, that doesnt' require anythign active like transistors, but atm i'm having trouble doing so.
if the pot gets adjusted above the controllers throttle max the controller will just stop responding in the cases i've had.E-HP said:I was thinking the one on the 5V line would keep from overshooting the high threshold (it sounded like the OP adjusted the pot until it was above 4.3V).
Rider90 said:Do i add need to add another resistor in parallel such that when the button is not pressed, there is a min voltage of 0.8v feeding to the signal line?
it's possible, some controllers error out if theres not enough or too much signal.Based on your set up when button isn’t pressed, voltage is 0 which I suspect could be causing the issue.