Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
avr_bootloader:attiny [2017/01/08 20:37] admin |
avr_bootloader:attiny [2020/06/11 22:13] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Programming the ATtiny ===== | ===== Programming the ATtiny ===== | ||
| - | ==== Pin connection of the ATtiny 85 or 45 ==== | + | Here is a short manual for programming an ATtiny with the Arduino IDE.\\ |
| + | {{:avr_bootloader:paper-avrisp_mkii_attiny.jpg?300|}}\\ | ||
| + | |||
| + | First install the ATtiny support for the Arduino IDE.\\ | ||
| + | 1.In the preferences dialog of the Arduino IDE type in the “Additional Boards Manager URLs” field that URL:\\ | ||
| + | https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json | ||
| + | 2. In the board manager install the ATtiny librarie by David A. Mellis ([[https://github.com/damellis/attiny]])\\ | ||
| + | 3. Connect the ATtiny with your AVRISP programmer like that:\\ | ||
| {{:avr_bootloader:attiny45-85_isp.png?300|}}\\ | {{:avr_bootloader:attiny45-85_isp.png?300|}}\\ | ||
| + | 4. Upload the blink programm (use pin 0 instead of pin13). | ||
| + | |||
| + | ---- | ||
| + | ==== Knowlegde ==== | ||
| + | [[http://highlowtech.org/?p=1695]]\\ | ||
| + | [[https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide/attiny85-use-hints]]\\ | ||
| + | <html> | ||
| + | <div align="left"> | ||
| + | <a href="http://orig06.deviantart.net/82c9/f/2013/038/3/7/attiny_web_by_pighixxx-d5u4aur.png"> | ||
| + | <img src="http://orig06.deviantart.net/82c9/f/2013/038/3/7/attiny_web_by_pighixxx-d5u4aur.png"></a> | ||
| + | </div> | ||
| + | </html> | ||
| + | |||
| + | ---- | ||
| + | ==== License ==== | ||
| + | |||
| + | This manual was made by **Wolfgang Spahn** 2016-20.\\ | ||
| + | It is licensed under a [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]]. | ||
| + | |||
| + | <html> | ||
| + | <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a> | ||
| + | </html> | ||
| + | |||
| + | ---- | ||
| - | ==== Connection to an Arduino ==== | ||
| - | Arduino +5V ---> ATtiny Pin 8 | ||
| - | Arduino Ground ---> ATtiny Pin 4 | ||
| - | Arduino Pin 10 ---> ATtiny Pin 1 | ||
| - | Arduino Pin 11 ---> ATtiny Pin 5 | ||
| - | Arduino Pin 12 ---> ATtiny Pin 6 | ||
| - | Arduino Pin 13 ---> ATtiny Pin 7 | ||