Différences entre versions de « Galileo-Guide »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 176 : Ligne 176 :
 
Pas de problème, pouvez poursuivre votre exploration par:
 
Pas de problème, pouvez poursuivre votre exploration par:
 
* La lecture du [http://df.mchobby.be/galileo/galilero-starter-guide.pdf Starter Guide Galileo réalisé par Intel] (''Intel, anglais'').<br />Ce document contient plein d'info croustillante.
 
* La lecture du [http://df.mchobby.be/galileo/galilero-starter-guide.pdf Starter Guide Galileo réalisé par Intel] (''Intel, anglais'').<br />Ce document contient plein d'info croustillante.
* Notre [section ressources] dans laquelle nous allons accumuler des liens.
+
* Notre [[Galileo-Ressources|section "ressources"]] dans laquelle nous allons accumuler des liens.
  
 
== Documents de conception ==
 
== Documents de conception ==

Version du 12 avril 2014 à 10:01


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Préambule

Ce guide de démarrage s'intéresse aux aspects du point de vue Arduino.

La plateforme Galileo ne s'arrête pourtant pas là.

Ainsi donc, après avoir pris connaissance de ce lonnnnnggg et intéressant chapitre, vous pourrez poursuivre votre acquisition de connaissance en poursuivant la lecture du Stater Guide Galileo réalisé par Intel (Intel, anglais). Cet autre document contient d'autres informations croustillante :-)

Prise en main

Pour démarrer, connectez simplement l'alimentation 5V AC-vers-DC (5V continu) puis branchez la carte sur l'ordinateur à l'aide d'un câble micro-USB. Par défaut les mesures se font de la masse à 5 volts.


Galileo-Guide-01.jpg

Brochage

I2C bus, TWI

SDA and SCL pins that are near to the AREF pin.

TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using the Wire library.

Bus SPI

Defaults to 4MHz to support Arduino Uno shields. sing the board.

Compatibilité des broches Arduino Uno Rev3

Arduino Shield Supported Features Galileo is compatible with Arduino UNO shields and is designed to support 3.3V or 5V shields, following the Arduino Uno Revision 3, including:

  • 14 digital input/output pins, of which 6 can be used as Pulse Width Modulation (PWM) outputs;
    • Each of the 14 digital pins on Galileo can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions.
    • They operate at 3.3 volts or 5 volts. Each pin can provide a maximum of 10 mA or receive a maximum of 25 mA and has an internal pull-up resistor (disconnected by default) of 5.6k to 10 kOhms.
  • A0 – A5: 6 analog inputs, via an AD7298 A-to-D converter
    • Each of the 6 analog inputs, labeled A0 through A5, provides 12 bits of resolution (i.e., 4096 different values). By default they measure from ground to 5 volts.
  • I2C bus, TWI: SDA and SCL pins that are near to the AREF pin.
    • TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using the Wire library.
  • SPI:
    • Defaults to 4MHz to support Arduino Uno shields. Programmable to 25 MHz.
    • Note: While Galileo has a native SPI controller, it will act as a master and not as an SPI slave. Therefore, Galileo cannot be a SPI slave to another SPI master. It can act, however, as a slave device via the USB Client connector.
  • UART (port série): Programmable speed UART port (digital pins 0 (RX) and 1 (TX))
  • ICSP (SPI): a 6 pin in-circuit serial programming (ICSP) header, located appropriately to plug into existing shields. These pins support SPI communication using the SPI library.
  • VIN: The input voltage to the Galileo board when it's using an external power source (as opposed to 5 volts from the regulated power supply connected at the power jack). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
    • Warning: The voltage applied to this pin must be a regulated 5V supply otherwise it could damage the Galileo board or cause incorrect operation.
  • 5V output pin: This pin outputs 5V from the external source or the USB connector. Maximum current draw to the shield is: 800 mA
  • 3.3V output pin: A 3.3 volt supply generated by the on-board regulator. Maximum current draw to the shield is: 800 mA
  • GND: Ground pins.
  • IOREF: The IOREF pin on Galileo allows an attached shield with the proper configuration to adapt to the voltage provided by the board. The IOREF pin voltage is controlled by a jumper on the board, i.e., a selection jumper on the board is used to select between 3.3V and 5V shield operation.
  • Bouton/broche RESET: Bring this line LOW to reset the sketch. Typically used to add a reset button to shields that block the one on the board.
  • AREF is unused on Galileo. Providing an external reference voltage for the analog inputs is not supported.
    • For Galileo it is not possible to change the upper end of the analog input range using the AREF pin and the analogReference() function.

Voyez le projet Arduino Sampler/séquenceur Audio basé sur Galileo que Verkstad à au Maker Faire de Rome.

Fonctionnalités supportées par l'architecture Intel

The genuine Intel processor and surrounding native I/O capabilities of the Clanton SoC provides for a fully featured offering for both the maker community and students alike. It will also be useful to professional developers who are looking for a simple and cost effective development environment to the more complex Intel® Atom processor and Intel® Core processor-based designs.

The genuine Intel processor and surrounding native I/O capabilities of the Clanton SoC provides for a fully featured offering for both the maker community and students alike. It will also be useful to professional developers who are looking for a simple and cost effective development environment to the more complex Intel® Atom processor and Intel® Core processor-based designs.

  • 400MHz 32-bit Intel® Pentium instruction set architecture (ISA)-compatible processor o 16 KBytes on-die L1 cache
    • 512 KBytes of on-die embedded SRAM
    • Simple to program: Single thread, single core, constant speed
    • ACPI compatible CPU sleep states supported
    • An integrated Real Time Clock (RTC), with an optional 3V “coin cell” battery for operation between turn on cycles.
  • 10/100 Ethernet connector
  • Full PCI Express* mini-card slot, with PCIe 2.0 compliant features
    • Works with half mini-PCIe cards with optional converter plate
    • Provides USB 2.0 Host Port at mini-PCIe connector
  • USB 2.0 Host connector
    • Support up to 128 USB end point devices
  • USB Device connector, used for programming
    • Beyond just a programming port - a fully compliant USB 2.0 Device controller
  • 10-pin Standard JTAG header for debugging
  • Reboot button to reboot the processor
  • Reset button to reset the sketch and any attached shields
  • Storage options:
    • Default - 8 MByte Legacy SPI Flash main purpose is to store the firmware (or bootloader) and the latest sketch. Between 256KByte and 512KByte is dedicated for sketch storage. The download will happen automatically from the development PC, so no action is required unless there is an upgrade that is being added to the firmware.
    • Default 512 KByte embedded SRAM, enabled by the firmware by default. No action required to use this feature.
    • Default 256 MByte DRAM, enabled by the firmware by default.
    • Optional micro SD card offers up to 32GByte of storage
    • USB storage works with any USB 2.0 compatible drive
    • 11 KByte EEPROM can be programmed via the bibliothèque EEPROM (Arduino.cc, anglais).

Schéma, référence de conception et Pin Mapping

Alimentation

Galileo is powered via an AC-to-DC adapter, connected by plugging a 2.1mm center-positive plug into the board's power jack. The recommended output rating of the power adapter is 5V at up to 3Amp.

Caractéritiques électriques

Caractéristique Valeur
Input Voltage (recommended) 5V
Input Voltage (limits) 5V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
Total DC Output Current on all I/O lines 80 mA
DC Current for 3.3V Pin 800 mA
DC Current for 5V Pin 800 mA

Communication

Galileo has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. Galileo provides UART TTL (5V/3.3V) serial communication, which is available on digital pin 0 (RX) and 1 (TX). In addition, a second UART provides RS-232 support and is connected via a 3.5mm jack. The USB Device ports allows for serial (CDC) communications over USB. This provides a serial connection to the Serial Monitor or other applications on your computer. It also enables Galileo to act as a USB mouse or keyboard to an attached computer. To use these features, see the Mouse and Keyboard library reference pages. The USB Host port allows Galileo act as a USB Host for connected peripherals such as mice, keyboards, and smartphones. To use these features, see the USBHost reference pages. Galileo is the first Arduino board to provide a mini PCI Express (mPCIe) slot. This slot allows full size and half size (with adapter) mPCIe modules to be connected to the board and also provides an additional USB Host port via the slot. Any standard mPCIe module can be connected and used to provide applications such as WiFi, Bluetooth or Cellular connectivity. Initially, the Galileo mPCie slot provides support for the WiFi Library. For additional information, see the Intel® Galileo Getting Started Guide (Intel, anglais). An Ethernet RJ45 Connector is provided to allow Galileo to connect to wired networks. When connecting to a network, you must provide an IP address and a MAC address. Full support of on-board Ethernet interface is fully supported and does not require the use of the SPI interface like existing Arduino shields. The onboard Texte grasmicroSD card reader is accessible through the SD Library. The communication between Galileo and the SD card is provided by an integrated SD controller and does not require the use of the SPI interface like other Arduino boards. The Arduino software includes a Wire library to simplify use of the TWI/I2C bus; see the documentation for details. For SPI communication use the SPI library (Arduino.cc, anglais).

Programming

Galileo can be programmed with the Arduino software (download). When you are ready to upload the sketch to the board, program Galileo through the USB Client port by selecting "Intel Galileo" as your board in the Arduino IDE. Connect Galileo's port labelled USB Client (the one closest to the Ethernet) to your computer. For details, see the reference, tutorials and Intel® Galileo Getting Started Guide. Rather than requiring a physical press of the reset button before an upload, Galileo is designed to be reset by software running on a connected computer.

When the board boots up two scenarios are possible:

  • If a sketch is present in persistent storage, it is executed.
  • If no sketch present, the board waits for upload commands from the IDE.

If a sketch is executing, you can upload from the IDE without having to press the reset button on the board. The sketch is stopped; the IDE waits for the upload state, and then starts the newly uploaded sketch.

Pressing the reset button on the board restarts a sketch if it is executing and resets any attached shields.

Propriété des broches en Output

Pins configured as OUTPUT with pinMode() are said to be in a low-impedance state. On Galileo, when a pin is configured as OUTPUT, the functionality is provided via an I2C-based Cypress I/O expander datasheet). Digital pins 0 to 13 and Analog pins A0 to A5 can be configured as OUTPUT pins on Galileo.

The I/O expander’s pins, when configured as OUTPUT, can source (provide positive current) up to 10 mA (milliamps) and can sink (provide negative current) up to 25 mA of current to other devices/circuits. The individual per pin current sourcing capability of 10 mA is subject to an overall limit of 80 mA combined between all OUTPUT pins. The per pin capability current sinking capability is subject to an overall limit of 200 mA. The following table provides a breakdown of the overall OUTPUT capabilities of the pins.

Caractéristique Current Source Current Sink
Per Pin Capability 10 25
Digital Pins 3,5,9,10,12, 13 Combinées 40 100
Digital Pins 0,1,2,4,6,7,8,11 and Analog Pins A0,A1,A2,A3,A4,A5 combinée 40 100
Digital Pins 0-13 and Analog Pins A0-A5 Combined 80 200

Cavalier de configuration Galileo

There are three jumpers on Galileo that are used to vary the configuration of the board. IOREF Jumper To allow Galileo support both 3.3V and 5V shields, the external operating voltage is controlled via a jumper. When the jumper is connected to 5V, Galileo is configured to be compatible with 5V shields and IOREF is set to 5V. When the jumper is connected 3.3V, Galileo is configured to be compatible with 3.3V shields and IOREF is set to 3.3V. The input range of the Analog pins is also controlled by the IOREF jumper and must not exceed the chosen operating voltage. However, the resolution of AnalogRead() (Arduino.cc, anglais) remains at 5 V/1024 units for the default 10-bit resolution or, 0.0049V (4.9mV) per unit regardless of IOREF jumper setting.

Warning: The IOREF jumper should be used to match the board and shield operating voltages. Incorrectly setting the voltage could damage the board or the shield. I2C Address Jumper To prevent a clash between the I2C Slave address of the on board I/O expander and EEPROM with any external I2C Slave devices, jumper J2 can be used to vary the I2C address of the on-board devices. With J2 connected to pin 1 (marked with white triangle), the 7-bit I/O Expander address is 0100001 and the 7-bit EEPROM address is 1010001. Changing the jumper position changes the I/O Expander address to 0100000 and the EEPROM address to 1010000. VIN Jumper On Galileo, the VIN pin can be used to supply 5V from the regulated power supply connected at the power jack to attached shields or devices. If there is a need to supply more than 5V to a shield using VIN then the VIN jumper should be removed from Galileo to break the connection between the on-board 5V supply and the VIN connection on the board header.

Galileo-Guide-00.jpg

Reset Automatique (par logiciel)

Rather than requiring a physical press of the reset button before an upload, Galileo is designed in a way that allows it to be reset by software running on a connected computer. USB CDC-ACM control signals are used to transition Galileo from run-time to bootloader mode. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment. For details, see the Intel® Galileo Getting Started Guide (Intel, anglais).

Caractéristiques Physiques

Galileo is 4.2 inches long and 2.8 inches wide respectively, with the USB connectors, UART jack, Ethernet connector, and power jack extending beyond the former dimension. Four screw holes allow the board to be attached to a surface or case. Note that the distance between digital pins 7 and 8 is 160 mm, is not an even multiple of the 100 mil spacing of the other pins.

Encore plus

Vous avez trouvez cette section fort intéressante mais restez un peu sur votre faim?

Pas de problème, pouvez poursuivre votre exploration par:

Documents de conception

Préservé en anglais...

This Intel® Galileo design document is licensed by Intel under the terms of the Creative Commons Attribution Share-Alike License (ver. 3), subject to the following terms and conditions. The Intel® Galileo design document IS PROVIDED "AS IS" AND "WITH ALL FAULTS." Intel DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED REGARDING THE GALILEO DESIGN OR THIS GALILEO DESIGN DOCUMENT INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intel® may make changes to the specifications, schematics and product descriptions at any time, without notice. The Customer must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel® reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. ENJOY!


Source: Intel Galileo, crédit: Arduino.cc, licence Creative Common Attribution ShareAlike. Diverses documentations publiées par Intel(R), Crédit Intel(R)

Traduit et augmenté par Meurisse D pour MCHobby.be

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.