Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
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 Zumo Shield Arduino Libraries installed, the sketch file can be opened in Arduino by selecting '''File > Examples > ZumoExamples > RCControl'''.
+
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'''.
 +
 
 +
{{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.)
 +
 
 +
{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.
    
{{{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{{{Pololu-Zumo-Shield-Arduino-TRAILER}}
29 917

modifications

Menu de navigation