Modifications

Sauter à la navigation Sauter à la recherche
1 231 octets ajoutés ,  3 janvier 2014 à 11:48
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Adafruit Motor Shield V2-NAV}}
 
{{Adafruit Motor Shield V2-NAV}}
 +
 +
== Intro ==
 +
 +
[[Fichier:Adafruit Motor Shield V2-Servo-01.jpg|480px]]
 +
 +
Hobby servos are the easiest way to get going with motor control. They have a 3-pin 0.1" female header connection with +5V, ground and signal inputs. The motor shield simply brings out the PWM output lines from Arduino pins 9 and 10 to two 3-pin headers so that its easy to plug in and go. They can take a lot of power so a 9V battery wont last more than a few minutes!
 +
 +
The nice thing about using the onboard PWM is that its very precise and goes about its business in the background. You can use the built in '''Servo''' library
 +
 +
[http://www.arduino.cc/en/Reference/Servo Using the servos is easy, please read the official Arduino documentation for how to use them and see the example Servo sketches in the IDE.]
 +
 +
== Alimentation des servos==
 +
'''Power for the Servos comes from the Arduino's on-board 5V regulator, powered directly from the USB or DC power jack on the Arduino'''. If you need an external supply, cut the trace on the bottom of the board and connect a 5V or 6V DC supply directly to the Opt Servo power input. Using an external supply is for advanced users as you can accidentally destroy the servos by connecting a power supply incorrectly!
    
{{Adafruit Motor Shield V2-TRAILER}}
 
{{Adafruit Motor Shield V2-TRAILER}}
29 917

modifications

Menu de navigation