generated from TDD-Templates/cmake_cpputest_template_avr
[BUG] Lower duty cycle PWM results in motor stall conditions #6
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: paulM_projects/motorized_fader#6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to fix:
As a side note, I could potentially write a program that would attempt various duty cycles at different frequencies to figure out which one worked correctly.
This could potentially auto calibrate the fader/motor setup, however it may take up too much space.
Added speed control during the motor movement loop. This should help better test the duty cycle. Now it's configured with a
F_CPU
equal to 1/8 of the crystal so9.6/8=1.2
. I think this could have been part of the issue, it previously assumed no clock divider.