Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
composants:attiny85 [2019/08/12 19:57] – created mh | composants:attiny85 [2020/06/01 16:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
{{composants: | {{composants: | ||
+ | |||
+ | ===== Programming ====== | ||
+ | |||
+ | You need an Arduino to act as ISP to flash programs to the ATtiny. | ||
+ | |||
+ | Also, the ATtiny85 runs by default at 1MHz so if you want it to run at 8MHz you need to burn the bootloader into it after having selected the appropriate frequency. | ||
+ | |||
+ | <WRAP info round 95> | ||
+ | |||
+ | **Note :** Arduino in the past did not support ATtiny by default and additional libs had to be provided. | ||
+ | |||
+ | Sooner or later this might not be the case anymore. | ||
+ | </ | ||
+ | |||
+ | The Arduino UNO should be flashed with the ISP program : File > Examples > ArduinoISP | ||
+ | |||
+ | ==== Wiring ==== | ||
+ | |||
+ | {{composants: | ||
+ | |||
+ | //**Note : **The SCK, MISO and MOSI pins can be directly wired to the Arduino' | ||
+ | |||
+ | Set Arduino to ISP, usually located in the IDE in Tools > Programmer > Arduino as ISP | ||
+ | |||
+ | You can add Heartbeat, Error, Programming LEDs (choose your colors) respectively on 9, 8, 7. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Ressources ===== | ||
+ | |||
+ | *[[https:// | ||
+ | |||
+ | *[[https:// | ||
+ | |||
+ | *[[https:// |