Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 17 : Ligne 17 :  
* The '''buzzer control jumper''' connects one of the Arduino’s PWM outputs to the buzzer on the Zumo Shield. This {{underline|jumper is disconnected by default}} on both the assembled and kit versions of the Zumo robot; it must be connected to enable the buzzer.
 
* The '''buzzer control jumper''' connects one of the Arduino’s PWM outputs to the buzzer on the Zumo Shield. This {{underline|jumper is disconnected by default}} on both the assembled and kit versions of the Zumo robot; it must be connected to enable the buzzer.
   −
If you have an Arduino '''Uno''' or an older Arduino (with an ATmega328P or ATmega168 microcontroller), you should jumper the two holes bracketed with the label '''328P''' to connect the BZ pin to digital pin 3. If you have an '''A-Star 32U4 Prime''' or Arduino '''Leonardo''', you should jumper the two holes bracketed with the label '''32U4''' to connect the BZ pin to digital pin 6. These are the pins our [[Pololu-Zumo-Shield-Arduino-bibliotheque-Zumo|ZumoBuzzer library]] expects the buzzer to be connected to for each respective microcontroller. More details about the buzzer can be found in Section 3.a.
+
If you have an Arduino '''Uno''' or an older Arduino (with an ATmega328P or ATmega168 microcontroller), you should jumper the two holes bracketed with the label '''328P''' to connect the BZ pin to digital pin 3. If you have an '''A-Star 32U4 Prime''' or Arduino '''Leonardo''', you should jumper the two holes bracketed with the label '''32U4''' to connect the BZ pin to digital pin 6. These are the pins our [[Pololu-Zumo-Shield-Arduino-bibliotheque-Zumo|ZumoBuzzer library]] expects the buzzer to be connected to for each respective microcontroller. More details about the buzzer can be found in [[Pololu-Zumo-Shield-Arduino-fonctionnalites|Section 3.a]].
 +
 
 +
* The '''compass/gyro I²C jumpers''' connect the I²C clock (SCL) and data (SDA) lines of the inertial sensors on the Zumo Shield to the SCL and SDA pins on the Arduino. These jumpers are connected by default, but can be disconnected by cutting the thin trace between each pair of holes.
 +
 
 +
On the Arduino Uno R3, SCL and SDA are duplicates of analog pins 5 and 4, respectively. On the A-Star and Arduino Leonardo, SCL and SDA are duplicates of digital pins 3 and 2, respectively. Using the I²C sensors on the shield will prevent these pins from being used for other purposes, and the I²C pull-up resistors will affect readings on these pins even if the compass is not being actively used, so you must cut the jumpers to disconnect the inertial sensors and pull-ups if you want to repurpose the SCL and SDA pins.
 +
 
 +
Please note that the SCL and SDA pins do not exist on Arduino hardware versions prior to the Uno R3, so you will have to manually connect SCL to analog pin 5 and SDA to analog pin 4 on the Zumo Shield in order to use the compass with an older Arduino. The most convenient place to do this is in the front expansion area, where these pins are all located together, as indicated by the light blue boxes in the picture above.
 +
 
 +
More details about the inertial sensors can be found in Section 3.d.
    
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
29 917

modifications

Menu de navigation