This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| misc:avr-programming [2026-03-19 Thu 01:46] – created theorytoe | misc:avr-programming [2026-03-24 Tue 18:29] (current) – [Programming with ISP] correct pin numbers in tbl theorytoe | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Pin connections: | Pin connections: | ||
| + | [{{ avr-programming-20260324-182624.png? | ||
| < | < | ||
| 16MHz Crystal across PB6/PB7 | 16MHz Crystal across PB6/PB7 | ||
| connect 22pF bipolar caps from the crystal to ground: | connect 22pF bipolar caps from the crystal to ground: | ||
| - | | + | GND |
| - | PB6 ---------|-------22pF--| | + | PB6 ----------|-------[22pF]--| |
| - | Crystal | + | |
| - | PB7 ---------|-------22pF--| | + | PB7 ----------|-------[22pF]--| |
| Pin R10k pullup to +5V | Pin R10k pullup to +5V | ||
| Line 50: | Line 50: | ||
| | VCC | VCC | | | VCC | VCC | | ||
| | GND | GND | | | GND | GND | | ||
| - | | MOSI | MOSI (18) | | + | | MOSI | MOSI (17) | |
| - | | MISO | MISO (19) | | + | | MISO | MISO (18) | |
| - | | SCK | SCK (20) | | + | | SCK | SCK (19) | |
| | RST | RESET (1) | | | RST | RESET (1) | | ||
| Then upload the code with '' | Then upload the code with '' | ||