Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
openatelier:projet:attiny-drum [2020/02/10 14:47]
mitoufflon [Programmation de l'ATtiny via Arduino Nano]
openatelier:projet:attiny-drum [2021/07/27 13:12] (Version actuelle)
gweltaz
Ligne 1: Ligne 1:
 +{{tag>​synth}} {{tag>​audio}} {{tag>​eurorack}} {{tag>​electronique}}
 +
 ======ATtiny85 drum module Eurorack ====== ======ATtiny85 drum module Eurorack ======
  
 =====Programmation de l'​ATtiny via Arduino Nano===== =====Programmation de l'​ATtiny via Arduino Nano=====
 +====Programmation de l'​Arduino Nano comme programmeur ISP====
 +ISP : In System Programmer
  
 Via Arduino IDE Via Arduino IDE
-  * Lancer : Exemple > ArduinoISP ​+  * Lancer : Exemple > ArduinoISP ​Ŭ
   * Type de carte : Arduino Nano   * Type de carte : Arduino Nano
   * Processeur : ATmega 328p (OldBootloader)   * Processeur : ATmega 328p (OldBootloader)
   * Téléverser   * Téléverser
 +
 +====Programmation de l'​ATtiny85====
 +
 +===Câblage===
 +
 +Câblage sur breadBoard (les pin indiquées pour l'​attiny sont dans l'​ordre physique)
 +  Nano> > > > > > > >ATtiny
 +  Miso ICSP1         Miso (pin n°6)
 +  Sck  ICSP2         Sck (pin n°7)
 +  Mosi ICSP5         Mosi (pin n°5)
 +  +5V                VCC (pin n° 8)
 +  GND                GND (pin n°4)
 +  pin 10             Reset (pin n°1)
 +  ​
 +Placer un condensateur 10uF entre les pin Reset et GND du Nano
 +
 +===Brûler le bootloader===
 +
 +    Type de Carte > ATtiny 25/45/85
 +    Chip > ATtiny85 ​
 +    Clock > 1MHz (Internal)''​\\ * Programmateur > Arduino as ISP ''​
 +
 +===Test blink===
 +Téléverser:​
 +<​code>​
 + void setup() {
 +
 +    pinMode(4, OUTPUT);
 +    ​
 + }
 + void loop() {
 +
 +   ​digitalWrite(4,​ HIGH); ​  // turn the LED on (HIGH is the voltage level)
 +   ​delay(100); ​                      // wait for a second
 +   ​digitalWrite(4,​ LOW);    // turn the LED off by making the voltage LOW
 +   ​delay(100); ​                      // wait for a second
 + }
 +</​code>​
 +ça clignote!!
 +
 +=====Faire du bruit=====
 + * Test drum8.ino
 +
 +
 +====Bootloader ====
 +Voir ici :​https://​ressources.labomedia.org/​lovetape#​programmation_de_l_attiny
 +
 +
  
 =====Sources===== =====Sources=====
 http://​www.circuitstoday.com/​arduino-nano-tutorial-pinout-schematics http://​www.circuitstoday.com/​arduino-nano-tutorial-pinout-schematics
 +
 +https://​emalliab.wordpress.com/​2018/​03/​31/​attiny85-synth-from-jan-ostman/​
 +
 +https://​ressources.labomedia.org/​attiny
 +
 +http://​hex.ro/​wp/​blog/​attiny85-diy-programmer/​
 +
 +https://​www.youtube.com/​watch?​v=MK4ARnpljZg
 +
 + ​*bootloader
 +
 +https://​www.hackster.io/​porrey/​attiny-16mhz-610d41
 +
 +https://​github.com/​SpenceKonde/​ATTinyCore
 +
 +http://​sammy76.free.fr/​conseils/​electronique/​arduino/​asm/​asm_avr.php
  • openatelier/projet/attiny-drum.1581342478.txt.gz
  • Dernière modification: 2020/02/10 14:47
  • par mitoufflon