Site Tools


misc:avr-programming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
misc:avr-programming [2026-03-19 Thu 01:46] – created theorytoemisc: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?300|Atmega328P DIP Pinout}}]
 <code> <code>
 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 +                             GND 
-PB6 ---------|-------22pF--| +PB6 ----------|-------[22pF]--| 
-          Crystal          +          [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 ''Sketch -> Upload using Programmer''. Then upload the code with ''Sketch -> Upload using Programmer''.
  
misc/avr-programming.1773884775.txt.gz · Last modified: by theorytoe