Hi Guys,
I am using an Arduino to implement a control system on an e-bike. Basically, a manual twist throttle sends a signal to the Arduino from 0.8 to 3.6V . The Arduino then acts on it through PIDs and sends out a signal to the throttle input of the motor controller. Everything is fine when I don't connect the signal to the motor controller: when measuring with a multimeter the signal output is as expected. However, when I make the connection with the motor controller, the signal doesn't go as high as it should and reaches a maximum of 2.9V. It seems that the controller makes it difficult for the arduino to reach its desired output. How could I solve this?
There could be many causes for this - you'll need to do some detective work.
Is the 5V rail to the Arduino stable? How does the Arduino get its power?
Is there interference from the motor controller, motor or its cables?
Is the throttle cable shielded?
elt93:
when measuring with a multimeter the signal output is as expected. However, when I make the connection with the motor controller, the signal doesn't go as high as it should and reaches a maximum of 2.9V.
It seems that the controller makes it difficult for the arduino to reach its desired output. How could I solve this?
A common Arduino has PWM outputs, not "voltage" outputs.
A DMM is not the right tool to measure PWM.
Did you leave the signal as PWM, or change it to a voltage with an RC filter.
What does the controller input expect.
Post a diagram.
Leo..