This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:attiny85 [2021/04/12 04:32] nanodano |
hardware:attiny85 [2021/04/13 02:01] (current) nanodano |
||
---|---|---|---|
Line 4: | Line 4: | ||
* Official product page: [[https:// | * Official product page: [[https:// | ||
+ | |||
===== Wiring/ | ===== Wiring/ | ||
Line 25: | Line 26: | ||
Since the ATtiny85 has no USB plug for serial over USB, you can use an Arduino UNO as an inline serial programmer (ISP) to flash the ATtiny85 with a sketch. | Since the ATtiny85 has no USB plug for serial over USB, you can use an Arduino UNO as an inline serial programmer (ISP) to flash the ATtiny85 with a sketch. | ||
+ | |||
+ | * Nice YouTube video by Mitch Davis on programming Attiny85 [[https:// | ||
Wire up the Arduino UNO to the ATtiny85 over GPIO pins. | Wire up the Arduino UNO to the ATtiny85 over GPIO pins. | ||
Line 34: | Line 37: | ||
| | ||
GND:GND | GND:GND | ||
- | Pin 13: | + | Pin 13: |
- | Pin 12: | + | Pin 12: |
- | Pin 11: | + | Pin 11: |
Pin 10:RESET | Pin 10:RESET | ||
</ | </ | ||
- | In the Arduino IDE, set the target board as the ATtiny85 1MHz speed. And select for the Programmer: Arduino as ISP. | + | The MISO, MOSI, and SCK pings are used for SPI communication. |
+ | |||
+ | In the Arduino IDE, set the target board as the ATtiny85 1MHz speed. And select for the Programmer: Arduino as ISP. If you need to add the board, add this URL to your board manager: [[https:// |