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

duty cycle range for DC motor #5

Open
michelco86 opened this issue Apr 20, 2018 · 0 comments
Open

duty cycle range for DC motor #5

michelco86 opened this issue Apr 20, 2018 · 0 comments

Comments

@michelco86
Copy link
Collaborator

michelco86 commented Apr 20, 2018

https://github.com/hugocool24/RobotSM/blob/2bb54f8a0c097134e9c9f963a299fc74c9e3b94d/2018/main.ino#L166

dCycle = map(dCycle,0,255,minimumPWM,maximumPWM);

find the suitable values for minimumPWM and maximumPWM. currently minimumPWM is at 150 which makes the car get stuck when turning at maximum angle so this value needs to be increased some what. maximumPWM should be set at as fast as we dare to go :) (max value for this is 255)

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

No branches or pull requests

1 participant