This is a very simple servo control algorithm, designed to use the Motor shield library but easily portable to other situations. It uses two "stages" to better control a servo. The first stage quickly moves the servo close to the setpoint, then the second stage finishes moving it to the exact point. Using a PID controller will make more sense in most situations, but this algorithm might be easier to understand for new programmers.
-
Notifications
You must be signed in to change notification settings - Fork 0
is4n/simple-servo-controller
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple way to control a servo-type motor via Arduino
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published