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

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 3 : Ligne 3 :
 
{{traduction}}
 
{{traduction}}
  
By connecting an RC receiver and running this example program, you can turn your Zumo into a radio-controlled vehicle. With the [[Pololu-Zumo-Shield-Arduino-bibliotheque-Zumo|Zumo Shield Arduino Libraries]] installed, the sketch file can be opened in Arduino by selecting '''File > Examples > ZumoExamples > RCControl'''.
+
En connectant un récepteur RC (Radio Commande) et en exécutant ce programme d'exemple, vous pouvez transformer un Zumo en véhicule télécommandé. Si vous avez installé [[Pololu-Zumo-Shield-Arduino-bibliotheque-Zumo|la bibliothèque Shield Zumo pour Arduino]] alors vous trouverez le croquis/sketch Arduino via le point de menu '''Fichier > Exemples > ZumoExamples > RCControl'''.
  
 
{{POLImage|Pololu-Zumo-Shield-Arduino-RC-Zumo-00.jpg|250px|Un robot Zumo branché avec un récepteur RC pour créer un véhicule contrôlé à distance}}  
 
{{POLImage|Pololu-Zumo-Shield-Arduino-RC-Zumo-00.jpg|250px|Un robot Zumo branché avec un récepteur RC pour créer un véhicule contrôlé à distance}}  
  
An easy way to connect the receiver to the Zumo Shield is to solder two 1×3 male header strips {{polpl|966}} to the locations shown in the diagram below, then plug in a pair of standard servo cables <small>[https://www.pololu.com/category/112/servo-cables lien pololu]</small>between the receiver and the Zumo Shield. (If your receiver has a separate power source, you should only connect the signal and ground wires between it and the Zumo.)
+
Pour connecter facilement un récepteur sur le Shield Zumo, vous pouvez souder deux {{pl|76|connecteur/pinHeader mâle}} 1×3 broches {{polpl|966}} comme indiqué sur le diagramme ci-dessous. Ensuite, vous pouvez connecter une paire de câble servo <small>[https://www.pololu.com/category/112/servo-cables lien pololu]</small> entre le récepteur et les shield Zumo. (Si votre récepteur RC dispose d'une source d'alimentation séparée alors vous devriez uniquement connecter la masse et le source du signal vers votre Zumo.)
  
 
{{POLImage|Pololu-Zumo-Shield-Arduino-RC-Zumo-01.png|600px|Diagramme de connexion du récepteur RC sur le shield Zumo.}}
 
{{POLImage|Pololu-Zumo-Shield-Arduino-RC-Zumo-01.png|600px|Diagramme de connexion du récepteur RC sur le shield Zumo.}}
  
This program uses Arduino’s [http://arduino.cc/en/Reference/PulseIn PulseIn library] to read the signals from the receiver. By default, it assumes the throttle and steering channels are connected as the diagram shows on pins 4 and 5, respectively. The signals from the two channels are mixed to determine the left and right motor speeds, allowing for more intuitive control.
+
Ce programme utilise la [http://arduino.cc/en/Reference/PulseIn bibliothèque PulseIn] d'Arduino pour lire le signal en provenance du récepteur. By default, it assumes the throttle and steering channels are connected as the diagram shows on pins 4 and 5, respectively. The signals from the two channels are mixed to determine the left and right motor speeds, allowing for more intuitive control.
  
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}

Version du 13 avril 2017 à 13:41

En connectant un récepteur RC (Radio Commande) et en exécutant ce programme d'exemple, vous pouvez transformer un Zumo en véhicule télécommandé. Si vous avez installé la bibliothèque Shield Zumo pour Arduino alors vous trouverez le croquis/sketch Arduino via le point de menu Fichier > Exemples > ZumoExamples > RCControl.

Pololu-Zumo-Shield-Arduino-RC-Zumo-00.jpg

Un robot Zumo branché avec un récepteur RC pour créer un véhicule contrôlé à distance

Cliquer l'image pour l'agrandir

Pour connecter facilement un récepteur sur le Shield Zumo, vous pouvez souder deux connecteur/pinHeader mâle 1×3 broches lien pololu comme indiqué sur le diagramme ci-dessous. Ensuite, vous pouvez connecter une paire de câble servo lien pololu entre le récepteur et les shield Zumo. (Si votre récepteur RC dispose d'une source d'alimentation séparée alors vous devriez uniquement connecter la masse et le source du signal vers votre Zumo.)

Pololu-Zumo-Shield-Arduino-RC-Zumo-01.png

Diagramme de connexion du récepteur RC sur le shield Zumo.

Cliquer l'image pour l'agrandir

Ce programme utilise la bibliothèque PulseIn d'Arduino pour lire le signal en provenance du récepteur. By default, it assumes the throttle and steering channels are connected as the diagram shows on pins 4 and 5, respectively. The signals from the two channels are mixed to determine the left and right motor speeds, allowing for more intuitive control.


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)