Modifications

Sauter à la navigation Sauter à la recherche
893 octets ajoutés ,  16 octobre 2013 à 11:34
Ligne 104 : Ligne 104 :     
== Communication ==
 
== Communication ==
 +
Yún dispose d'un certain nombre d'aménagement pour communiquer avec un ordinateur, un autre Arduino, ou un autre micontrôleur. L'ATmega32U4 dispose d'un canal de communication série TTL (5V, UART) dédicacé. L'32U4 supporte également la communication série sur USB et apparait comme un port com virtuel aux logiciels de votre ordinateur. Le circuit agit également comme un périphérique USB 2.0 (et débit USB 2.0) utilisant les pilotes USB COM standards. Le logiciel Arduino inclus un moniteur série qui permet de d'envoyer et recevoir des données textes élémentaires avec la carte Arduino. Les LEDs RX et TX de la carte clignotent lors d'un échange de donnée série par l'intermédiaire du connecteur USB.
   −
The Yún has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers. The ATmega32U4 provides a dedicated UART TTL (5V) serial communication. The 32U4 also allows for serial (CDC) communication over USB and appears as a virtual com port to software on the computer. The chip also acts as a full speed USB 2.0 device, using standard USB COM drivers. The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the USB connection to the computer.  
+
Les broches digitals 0 et 1 sont utilisées pour la communicatio série entre le 32U4 et le AR9331. La communication entre les processeurs est prise en charge par [[Arduino Yun-Librairie|la libraire Bridge]].  
   −
Digital pins 0 and 1 are used for serial communication between the 32U4 and the AR9331. Communication between the processors is handled by the [[Arduino Yun-Librairie|Bridge library]].  
+
La [[ARDLib-SoftwareSerial|librairie SoftwareSerial]] permet d'établir une communication série avec n'importe quelles broches digitals du Yún à l'exception des broches 0 et 1.  
   −
A [[ARDLib-SoftwareSerial|SoftwareSerial library]] allows for serial communication on any of the Yún's digital pins except for pins 0 and 1.  
+
L'ATmega32U4 support également la communication I2C (TWI) et SPI. Le logiciel Arduino inclus la librairie Wire pour simplifier l'usage du bus I2C; Voir la [[ARDLib-Wire|documentation de wire pour plus de détails]]. Pour la communication SPI, il faut utiliser la [[ARDLib-SPI|librairie SPI]].
   −
The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino software includes a Wire library to simplify use of the I2C bus; see the [[ARDLib-Wire|documentation for details]]. For SPI communication, use the [[ARDLib-SPI|SPI library]].
+
Yún apparait comme un clavier et une souris générique et peut être programmer pour contrôler des périphériques d'entrée en utilisant la classe [[ARDLib-Keyboard|Keyboard and Mouse]].
   −
The Yún appears as a generic keyboard and mouse, and can be programmed to control these input devices using the [[ARDLib-Keyboard|Keyboard and Mouse]] classes.
+
Les interfaces Ethernet et WiFi de la carte sont mis à disposition directement par le processeur AR9331. Vous pouvez utiliser la [[Arduino Yun-Librairie|librairie Bridge]] pour envoyer et recevoir des informations par leur intermédiaires. Pour configurer les interfaces, vous pouvez passer le panneau de configuration comme décris dans le [[Arduino Yun-Guide|guide de démarrage]].
   −
The onboard Ethernet and WiFi interfaces are exposed directly to the AR9331 processor. To send and receive data through them, use the [[Arduino Yun-Librairie|Bridge library]]. To configure the interfaces, you can access the network control panel as described in the [[Arduino Yun-Guide|getting started page]].
+
Le Yún peut également devenir un hôte USB ("''USB host''") par l'intermédiaire de Linino. Vous pouvez connecter des périphériques comme lecteur flash USB (pour un stockage additionnel), clavier ou webcam. Vous devrez télécharger et installer des logiciels complémentaire pour faire fonctionner ces périphériques. Référez vous aux notes d'utilisation du [[Arduino Yun-PackageManager|gestionnaire de paquet]] pour ajouter de nouveaux logiciels au AR9331, .
 
  −
The Yún also has USB host capabilities through Linino. You can connect peripherals like USB flash devices for additional storage, keyboards, or webcams. You may need to download and install additional software for these devices to work. For information on adding software to the AR9331, refer to the notes on using the  [[Arduino Yun-PackageManager|package manager]].
      
== Programmation ==
 
== Programmation ==
The Yún can be programmed with the Arduino software ([http://arduino.cc/en/Main/Software download]). Select "Arduino Yún from the Tools > Board menu (according to the microcontroller on your board). For details, see the [http://arduino.cc/en/Reference/HomePage reference] (''Anglais'', Arduino.cc) and [http://arduino.cc/en/Tutorial/HomePage tutorials]] (''Anglais'', Arduino.cc).
+
Arduino Yún se programme avec le logiciel Arduino ([http://arduino.cc/en/Main/Software téléchargement]). Sélectionnez "Arduino Yún" depuis le menu Outil > Carte (Tools > Board) conformément au microcontrôleur sur votre carte. Pour plus de détails, voyez le la page de [http://arduino.cc/en/Reference/HomePage reference] (''Anglais'', Arduino.cc) et celle des tutoriels [http://arduino.cc/en/Tutorial/HomePage tutorials]] (''Anglais'', Arduino.cc).
   −
The ATmega32U4 on the Arduino Yún comes preburned with a [http://arduino.cc/en/Tutorial/Bootloader bootloader] (''Anglais'', Arduino.cc) that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the AVR109 protocol.
+
L'ATmega32U4 d'Arduino Yún est pré-initialisé avec un [http://arduino.cc/en/Tutorial/Bootloader bootloader] (''Anglais'', Arduino.cc) permettant de télécharger de nouveaux programmes sur ce dernier sans devoir utiliser un programmateur matériel externe. Le bootloader communique en utilisant le protocol AVR109.
   −
You can also bypass the bootloader and program the microcontroller through the ICSP (In-Circuit Serial Programming) header; see [http://arduino.cc/en/Hacking/Programmer these instructions] (''Anglais'', Arduino.cc) for details.  
+
Vous pouvez ''by-passer'' le bootloader et programmer directement le microcontrôleur par l'intermédiaire du connecteur ICSP (In-Circuit Serial Programming); voyez [http://arduino.cc/en/Hacking/Programmer ces instructions] (''Anglais'', Arduino.cc) pour plus de détails.
    
== Reset Automatique ==
 
== Reset Automatique ==
 
Cette section concernent le Reset Automatique (Logiciel) et le démarrage du Bootloader.
 
Cette section concernent le Reset Automatique (Logiciel) et le démarrage du Bootloader.
   −
Rather than requiring a physical press of the reset button before an upload, the Yún is designed in a way that allows it to be reset by software running on a connected computer. The reset is triggered when the Yún's virtual (CDC) serial / COM port is opened at 1200 baud and then closed. When this happens, the processor will reset, breaking the USB connection to the computer (meaning that the virtual serial / COM port will disappear). After the processor resets, the bootloader starts, remaining active for about 8 seconds. The bootloader can also be initiated by pressing the reset button on the Yún. Note that when the board first powers up, it will jump straight to the user sketch, if present, rather than initiating the bootloader.
+
Plutôt que d'imposer une pression physique sur le bouton "Reset" avant le téléversement, le Yún est conçu de façon à permettre au logiciel fonctionnant sur votre ordinateur de commander un "Reset" par voie logicielle. Le "reset" est déclenché lorsque le port série virtuel (CDC) / port COM du Yún est ouvert à 1200 bauds et ensuite fermé. Lorsque cela arrive, le processeur fait alors un "reset", interrompant la connexion USB avec l'ordinateur (ce qui implique la disparition du port série virtuel / port COM). Après le "reset" du processeur, le bootloader démarre et reste actif pendant 8 secondes.  
   −
Because of the way the Yún handles reset it's best to let the Arduino software try to initiate the reset before uploading, especially if you are in the habit of pressing the reset button before uploading on other boards. If the software can't reset the board you can always start the bootloader by pressing the reset button on the board.  
+
Le bootloader peut également être invoqué en pressant le bouton "Reset" du Yún. Notez qu'a la première mise sous tension de la carte, le processeur exécute immédiatement le sketch/croquis utilisateur (s'il est présent) plutôt de démarrer le bootloader.
 +
 
 +
A cause de la façon dont le Yún gère les "resets", il est préférable de laisser le logiciel Arduino invoqué le "reset" logiciel avant le téléversement. Cette information est surtout pertinent pour ceux d'entre vous habitués à presser le bouton "Reset" avant de faire un téléversement sur d'autres type de cartes. Si le logiciel ne sais pas effectuer un "reset" logiciel, vous pouvez toujours presser le bouton "Reset" de la carte.
    
== Protection sur-courant sur USB ==
 
== Protection sur-courant sur USB ==
 
+
Le Yún dispose d'un polyfuse résettable qui protège le port USB de votre ordinateur contre les court-circuits et les sur-courant. Même si la plupart des ordinateurs disposent de leur propre protection interne, ce fusible offre une protection supplémentaire. Le fusible déclenche automatiquement si plus de 500 mA passe sur le port USB. La connexion reste interrompue aussi longtemps que le court-circuit (ou sur-courant) est présent.
The Yún has a resettable polyfuse that protects your computer's USB ports from shorts and overcurrent. Although most computers provide their own internal protection, the fuse provides an extra layer of protection. If more than 500 mA is applied to the USB port, the fuse will automatically break the connection until the short or overload is removed.  
      
== Encombrement ==
 
== Encombrement ==
29 917

modifications

Menu de navigation