Modifications

Sauter à la navigation Sauter à la recherche
Ligne 9 : Ligne 9 :     
Arduino.CC (1.6.5) dispose du Board Manager, tandis que Arduino.ORG (1.7.7) n'en a pas.
 
Arduino.CC (1.6.5) dispose du Board Manager, tandis que Arduino.ORG (1.7.7) n'en a pas.
 +
 +
Qu'il est triste d'en arriver là!
    
== Installer le support ATTiny sur Arduino.CC 1.6.4 ==
 
== Installer le support ATTiny sur Arduino.CC 1.6.4 ==
Ligne 19 : Ligne 21 :  
[[Fichier:Arduino-ATTiny-85-Programmer-01.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-01.png]]
   −
* Paste the following URL into the field (use a comma to separate it from any URLs you’ve already added):<br />[https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json]
+
* Collez l'URL suivante dans le champs (utilisez une virgule pour le séparer de l'importe quel autre URL que vous auriez déjà ajouté):<br />[https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json]
* Click the OK button to save your updated preferences.
+
* Cliquez sur le bouton OK pour sauver vos préférences.
* Open the boards manager in the “Tools > Board” menu.
+
* Ouvrez la gestionnaire de carte (''boards manager'') dans le menu Outils > Carte (''Tools > Board'').
    
[[Fichier:Arduino-ATTiny-85-Programmer-02.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-02.png]]
   −
* Scroll to the bottom of the list; you should see an entry for “ATtiny”.
+
* Naviguez vers le bas de la liste, vous devriez voir l'entrée “ATtiny”.
    
[[Fichier:Arduino-ATTiny-85-Programmer-03.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-03.png]]
   −
* Click on the ATtiny entry. An install button should appear. Click the install button.
+
* Cliquez sur l'entrée ATtiny. Un bouton installer (''install'') devrait être visible. Cliquez sur le bouton d'installation.
    
[[Fichier:Arduino-ATTiny-85-Programmer-04.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-04.png]]
   −
* The word “installed” should now appear next to the title of the ATtiny entry.
+
* Le mot "installed" (installé) devrait apparaître à côté du titre correspondant à ATtiny.
    
[[Fichier:Arduino-ATTiny-85-Programmer-05.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-05.png]]
   −
* Close the boards manager. You should now see an entry for ATtiny in the “Tools > Board” menu.
+
* Fermez le gestionnaire de carte (''boards manager''). Vous devriez voir une nouvelle entrée ATtiny dans le menu Outils > Carte (''Tools > Board'').
    
[[Fichier:Arduino-ATTiny-85-Programmer-06.png]]
 
[[Fichier:Arduino-ATTiny-85-Programmer-06.png]]
Ligne 45 : Ligne 47 :     
== Programmer l'ATTiny ==
 
== Programmer l'ATTiny ==
Next, we can use the ISP to upload a program to the ATtiny:
+
Ensuite, nous pouvons utiliser l'ISP pour téléverser un programme sur l'ATtiny:
 +
 
 +
* Ouvrez le Croquis/Sketch {{fname|Blink}} dans le menu des exemples.
 +
* Changez le numéro de broche de 13 à 0.
 +
* Sélectionnez "ATtiny" dans le menu Outils > Carte (''Tools > Board'') et plus particulièrement l'ATTiny que vous utilisez (depuis le menu Outils > Processeur (''Tools > Processor'')).<br />(Dans Arduino 1.0.x, ces options sont combinées dans le menu Outils > Carte.)
 +
* Sélectionnez l'élément approprié dans le menu Outils > Programmateur (''Tools > Programmer''). Par Exemple "Arduino as ISP" étant donné que nous utilisons un Arduino Uno comme programmateur ISP mais cela aurait put être USBtinyISP pour USBtinyISP, FabISP, ou TinyProgrammer, etc en fonction des circonstances).
 +
* Téléversez le croquis.
   −
* Open the Blink sketch from the examples menu.
+
Vous devriez voir le message "Done uploading." / "Téléversement Terminé" dans le logiciel Arduino (sans message d'erreur). Si vous avez connecté une LED entre la broche 0 et la masse alors vous devriez voir la LED glignotée.  
* Change the pin numbers from 13 to 0.
  −
* Select “ATtiny” from the Tools > Board menu and the particular ATtiny you’re using from the Tools > Processor menu. (In Arduino 1.0.x, these options are combined in just the Tools > Board menu.)
  −
* Select the appropriate item from the Tools > Programmer menu (e.g. “Arduino as ISP” if you’re using an Arduino board as the programmer, USBtinyISP for the USBtinyISP, FabISP, or TinyProgrammer, etc).
  −
* Upload the sketch.
     −
You should see “Done uploading.” in the Arduino software and no error messages. If you then connect an LED between pin 0 and ground, you should see it blink on and off. Note that you may need to disconnect the LED before uploading a new program.
+
{{Underline|Note:}} Il vous faudra probablement déconnecter la LED avant de téléverser le programme sur votre ATTiny.
    
{{Arduino-ATTiny-85-TRAILER}}
 
{{Arduino-ATTiny-85-TRAILER}}
29 918

modifications

Menu de navigation