Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make min PWM a configuration option to allow custom motor drivers #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

timotto
Copy link
Contributor

@timotto timotto commented Sep 10, 2021

The AmMotorDriver class currently never sends a PWM value below 2 to brushless motor drivers to make sure the motor driver never receives a LOW level on the PWM signal input. This impacts the use of custom motor driver hardware requiring a value of 0 to stop the motor.

This pull requests adds the option MOTOR_DRIVER_MIN_PWM to config.h so a user can change this value to 0 when sensitive motor drivers are used.

@MarkKuhmann
Copy link

here is how I solved this,
https://forum.ardumower.de/threads/ardumower-brushless-drive.24030/post-47847

but I like your solution more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants