Modifications

Sauter à la navigation Sauter à la recherche
862 octets ajoutés ,  14 mars 2016 à 11:12
Ligne 5 : Ligne 5 :  
* {{pl|484|Une capacité de 10 µF}}
 
* {{pl|484|Une capacité de 10 µF}}
 
* {{pl|53|Un breadboard}}
 
* {{pl|53|Un breadboard}}
* {{pl|34|Fils pour breadboard}}  
+
* {{pl|34|Fils pour breadboard}}
    
== Brancher ==
 
== Brancher ==
 
Nous allons connecter notre carte Arduino sur l'ATTiny comme indiqué que le diagramme ci-dessous.  
 
Nous allons connecter notre carte Arduino sur l'ATTiny comme indiqué que le diagramme ci-dessous.  
   −
Utilisez le poinr dans le coin de l'ATTiny pour l'orienter correctement. Nous allons également connecter une capacité de 10 µF entre la broche reset et la masse (capacitor between reset and ground on the Arduino board as shown in the diagram (the stripe on the capacitor that’s marked with a negative sign (-) should go to ground). The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno, and might also be necessary for an Arduino Duemilanove.)
+
Utilisez le point dans le coin de l'ATTiny pour l'orienter correctement. Nous allons également connecter une capacité de 10 µF entre la broche reset et la masse de votre carte Arduino (comme indiqué sur le diagramme). La bande sur la capacité marque le pole négatif à brancher sur la masse.
 +
 
 +
Cette capacité empêche votre carte Arduino de faire un reset (ce qui démarre le bootloader), et nous assure donc qu'Arduino IDE rentre en communication avec ArduinoISP (et non le bootloader) durant le téléversement du croquis.
    
[[Fichier:Arduino-ATTiny-85-brancher-00.png]]
 
[[Fichier:Arduino-ATTiny-85-brancher-00.png]]
    
Connexions:
 
Connexions:
* ATtiny Pin 2 to Arduino Pin 13 (or SCK of another programmer)
+
* ATtiny broche 2 --> Arduino broche 13 (ou SCK d'un autre programmateur)
* ATtiny Pin 1 to Arduino Pin 12 (or MISO of another programmer)
+
* ATtiny broche 1 --> Arduino broche 12 (ou MISO d'un autre programmateur)
* ATtiny Pin 0 to Arduino Pin 11 (or MOSI of another programmer)
+
* ATtiny broche 0 --> Arduino broche 11 (ou MOSI d'un autre programmateur)
* ATtiny Reset Pin to Arduino Pin 10 (or RESET of another programmer)
+
* ATtiny broche Reset --> Arduino Borche 10 (ou RESET d'un autre programmateur)
 +
 
 +
== Brochage ==
 +
Voici le brochage des microcontroleurs ATtiny45/ATtiny85, ATtiny44/ATtiny84
 +
 
 +
[[Fichier:Arduino-ATTiny-85-brancher-20.jpg]]
 +
 
 +
== References ==
 +
Les commandes Arduino suivantes devraient être supportées:
 +
* [http://arduino.cc/en/Reference/PinMode pinMode()]
 +
* [http://arduino.cc/en/Reference/DigitalWrite digitalWrite()]
 +
* [http://arduino.cc/en/Reference/DigitalRead digitalRead()]
 +
* [http://arduino.cc/en/Reference/AnalogRead analogRead()]
 +
* [http://arduino.cc/en/Reference/AnalogWrite analogWrite()]
 +
* [http://arduino.cc/en/Reference/ShiftOut shiftOut()]
 +
* [http://arduino.cc/en/Reference/PulseIn pulseIn()]
 +
* [http://arduino.cc/en/Reference/Millis millis()]
 +
* [http://arduino.cc/en/Reference/Micros micros()]
 +
* [http://arduino.cc/en/Reference/Delay delay()]
 +
* [http://arduino.cc/en/Reference/DelayMicroseconds delayMicroseconds()]
 +
* [http://arduino.cc/en/Reference/SoftwareSerial SoftwareSerial] (mis-à-jour dans Arduino 1.0)
    
{{Arduino-ATTiny-85-TRAILER}}
 
{{Arduino-ATTiny-85-TRAILER}}
29 922

modifications

Menu de navigation