Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Pololu-Zumo-Shield-Arduino-NAV}}
 
{{Pololu-Zumo-Shield-Arduino-NAV}}
   −
{{traduction}}
+
Cette section explique comment contrôler un servo moteur hobby {{cl|74|RC servo}} <small>[https://www.pololu.com/category/23/rc-servos lien pololu]</small> depuis un Arduino Uno, Arduino Leonardo ou A-Star 32U4 Prime connecté sur le Zumo Shield.
 +
 
 +
L'environnement Arduino IDE inclus une [http://arduino.cc/en/Reference/Servo bibliothèque Servo] qui génère les impulsions nécessaires au contrôle d'un servo moteur. Cette bibliothèque est cependant en conflit avec la bibliothèque ZumoMotors étant donné que les deux bibliothèques utilisent le Timer 1. Il est donc nécessaire de faire quelque-chose de spécial pour faire fonctionner des servo moteurs.
 +
 
 +
Voyez la section [[Pololu-Zumo-Shield-Arduino-servo-arduino|section 8.a]] pour contrôler un servo moteur avec un Arduino Uno . La [[Pololu-Zumo-Shield-Arduino-servo-leonardo|Section 8.b]] se penchera sur le contrôle d'un servo avec un Arduino Leonardo ou A-Star 32U4 Prime.
 +
 
 
* [[Pololu-Zumo-Shield-Arduino-servo-arduino|Contrôler un servo avec Arduino Uno]]
 
* [[Pololu-Zumo-Shield-Arduino-servo-arduino|Contrôler un servo avec Arduino Uno]]
 
* [[Pololu-Zumo-Shield-Arduino-servo-leonardo|Contrôler un servo avec Arduino Leonardo ou A-Star 32U4 Prime]]
 
* [[Pololu-Zumo-Shield-Arduino-servo-leonardo|Contrôler un servo avec Arduino Leonardo ou A-Star 32U4 Prime]]
  −
This section explains how to control a hobby {{cl|74|RC servo}} <small>[https://www.pololu.com/category/23/rc-servos lien pololu]</small> from an Arduino Uno, Arduino Leonardo, or A-Star 32U4 Prime that is connected to the Zumo Shield. The Arduino IDE includes a [http://arduino.cc/en/Reference/Servo bibliothèque Servo] that generates the pulses needed to control an RC servo. However, this servo library conflicts with the ZumoMotors library in that both rely on Timer 1. Instead, you will need to do something special to get servo control working.
  −
  −
To control a servo with an Arduino Uno, see [[Pololu-Zumo-Shield-Arduino-servo-arduino|Section 8.a]]. To control a servo with an Arduino Leonardo or A-Star 32U4 Prime, see [[Pololu-Zumo-Shield-Arduino-servo-leonardo|Section 8.b]].
      
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
29 917

modifications

Menu de navigation