Différences entre versions de « Pololu-Zumo-Shield-Arduino-servo »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
 
(Une version intermédiaire par le même utilisateur non affichée)
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.
* [[Pololu-Zumo-Shield-Arduino-servo-arduino|Contrôler un servo avec Arduino Uno]]
+
 
* [[Pololu-Zumo-Shield-Arduino-servo-leonardo|Controller un servo avec Arduino Leonardo ou A-Star 32U4 Prime]]
+
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.
  
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.
+
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.
  
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-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-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}

Version actuelle datée du 16 avril 2017 à 22:34

Cette section explique comment contrôler un servo moteur hobby RC servo lien pololu depuis un Arduino Uno, Arduino Leonardo ou A-Star 32U4 Prime connecté sur le Zumo Shield.

L'environnement Arduino IDE inclus une 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 section 8.a pour contrôler un servo moteur avec un Arduino Uno . La Section 8.b se penchera sur le contrôle d'un servo avec un Arduino Leonardo ou A-Star 32U4 Prime.


Basé sur "Zumo Shield for Arduino" de Pololu (www.pololu.com/docs/0J57) - Traduit en Français par shop.mchobby.be CC-BY-SA pour la traduction
Toute copie doit contenir ce crédit, lien vers cette page et la section "crédit de traduction". Traduit avec l'autorisation expresse de Pololu (www.pololu.com)

Based on "Zumo Shield for Arduino" from Pololu (www.pololu.com/docs/0J57) - Translated to French by shop.mchobby.be CC-BY-SA for the translation
Copies must includes this credit, link to this page and the section "crédit de traduction" (translation credit). Translated with the Pololu's authorization (www.pololu.com)