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

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 13 : Ligne 13 :
  
 
If you use an Arduino Uno R2 or an older Arduino, which lack separate I²C pins, the SDA and SCL pins on the Zumo Shield will not be connected to anything. To use an I²C device on those pins, you can connect SDA to A4 and SCL to A5 yourself by bridging across those two sets of pins in the front expansion area. [[Pololu-Zumo-Shield-Arduino-seneur-inertiel|Section 3.c]] further explains the I²C lines and the jumpers connecting them to the on-board compass module.
 
If you use an Arduino Uno R2 or an older Arduino, which lack separate I²C pins, the SDA and SCL pins on the Zumo Shield will not be connected to anything. To use an I²C device on those pins, you can connect SDA to A4 and SCL to A5 yourself by bridging across those two sets of pins in the front expansion area. [[Pololu-Zumo-Shield-Arduino-seneur-inertiel|Section 3.c]] further explains the I²C lines and the jumpers connecting them to the on-board compass module.
 +
 +
{{ambox-stop|text=Depending on the Arduino model, digital pin 3 or 6 is used to control the buzzer if you install the buzzer control jumper. If you are using an Uno, pin 6 will be available for general-purpose I/O. If you are using a Leonardo or A-Star, pin 3 will be available if you are not using I²C. These pins are not accessible via the front expansion, but they can be accessed from other points on the shield and used for interfacing with additional electronics if free. Additionally, digital pin 12 can be used for interfacing with many types of additional electronics, especially if you are not using the shield’s user pushbutton. Pin 12 is completely free when the pushbutton is in its default, unpressed state, and it is pulled low through a 1k resistor when the pushbutton is pressed.}}
  
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}
 
{{Pololu-Zumo-Shield-Arduino-TRAILER}}

Version du 9 avril 2017 à 14:30

The pins in the front expansion area of the Zumo Shield are shown in the following diagram:

Pololu-Zumo-Shield-Arduino-extension-avant-00.png

Brochage de l'extension avant

Cliquer l'image pour l'agrandir

This diagram is also available as a downloadable PDF: Zumo Shield front expansion pinout (552k, pdf, pololu.com).

The front expansion makes available digital pins 2, 4, 5, and 11 and analog pins A0 through A5. It also provides access to the two I²C pins (SDA and SCL). However, please note that the I²C pins are not independent pins; they are respectively duplicates of analog pins A4 and A5 on the Uno R3 and digital pins 2 and 3 on the Leonardo and A-Star 32U4 Prime. Typically, you will only be able to use these pins for either I²C communication or general I/O, not both. Additionally, pin A1 is used to monitor the battery voltage if you install the battery monitor jumper.

Please note that only components and connectors in the front three rows of pins can extend below the shield; the fourth row covers the chassis and is only suitable for components mounted above the shield.

If you use an Arduino Uno R2 or an older Arduino, which lack separate I²C pins, the SDA and SCL pins on the Zumo Shield will not be connected to anything. To use an I²C device on those pins, you can connect SDA to A4 and SCL to A5 yourself by bridging across those two sets of pins in the front expansion area. Section 3.c further explains the I²C lines and the jumpers connecting them to the on-board compass module.


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)