Hi,
I'm using the Adafruit_Motor library to control (PWM) a brushless speed controller.
Here's the WEIRD part..
When the QT PY is powered via USB, the motor is stopped (neutral) with this command:
my_servo.throttle = 0.0
As it should be, but..
When the QT PY is powered via a battery, the motor does not stop, I need to offset the value like this:
my_servo.throttle = -0.095
Why is that?
Thanks
QT PY PWM issue
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: QT PY PWM issue
Offhand I have no idea.
At a guess, it may have something to do with the rising and falling edges of the PWM pulses, and the motor controller’s voltage thresholds. To get a better idea, you’d probably have to look at the signals on an oscilloscope.
At a guess, it may have something to do with the rising and falling edges of the PWM pulses, and the motor controller’s voltage thresholds. To get a better idea, you’d probably have to look at the signals on an oscilloscope.
Please be positive and constructive with your questions and comments.