User Tools

Site Tools


tutorialslibrary:arduino:arduinoisp.html

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorialslibrary:arduino:arduinoisp.html [2012/01/11 19:48]
ladyada [Load the code]
tutorialslibrary:arduino:arduinoisp.html [2012/12/09 16:53]
ladyada
Line 25: Line 25:
   *[[https://​www.adafruit.com/​products/​289|Some wire]]   *[[https://​www.adafruit.com/​products/​289|Some wire]]
   *[[http://​www.ladyada.net/​wiki/​partfinder/​microcontroller?​s[]=atmega328p|Blank ATmega328P]]   *[[http://​www.ladyada.net/​wiki/​partfinder/​microcontroller?​s[]=atmega328p|Blank ATmega328P]]
 +
 +If you bought the kit from Adafruit, you'll have an extra few items such as a Piezo beeper, LEDs, buttons, etc. that you can use for the [[http://​ladyada.net/​library/​tools/​standaloneisp.html|Standalone version of this project]], just ignore them for now!
 ==== Assemble! ​ ==== ==== Assemble! ​ ====
  
Line 39: Line 41:
  
  
-  *Pin 1 to digital 10 - Blue+  *Pin 1 to digital 10 - Blue **Don'​t forget to bend the wire over underneath to connect to the ZIF socket pin when soldering!!!**
   *Pin 7 to 5V - Red   *Pin 7 to 5V - Red
   *Pin 8 to Ground - Black   *Pin 8 to Ground - Black
Line 61: Line 63:
  
  
-Time to load the sketch! [[https://​raw.github.com/​adafruit/​ArduinoISP/​master/​ArduinoISP2.pde|Grab the code from our Github repository and paste it into a new sketch.]] Then upload it to the Arduino ​+Time to load the sketch! [[https://​raw.github.com/​adafruit/​ArduinoISP/​master/​ArduinoISP.ino|Grab the code from our Github repository and paste it into a new sketch.]] Then upload it to the Arduino ​
  
  
Line 81: Line 83:
 ==== Bonus! Using with AVRdude ==== ==== Bonus! Using with AVRdude ====
  
-You can use ArduinoISP from the command line very easily, with AVRdude which is the standard program used to program AVRs+You can use ArduinoISP from the command line very easily, with AVRdude which is the standard program used to program AVRs by running:
  
  
   * avrdude -c arduino -p **atmega328** -P **COMPORT** -b 19200 -U flash:​w:​**filetoburn.hex**   * avrdude -c arduino -p **atmega328** -P **COMPORT** -b 19200 -U flash:​w:​**filetoburn.hex**
  
 +Instead of **atmega328** you can also program **atmega8** **atmega88** **atmega48** **atmega168** etc 
/home/ladyada/public_html/wiki/data/pages/tutorialslibrary/arduino/arduinoisp.html.txt · Last modified: 2016/01/28 18:05 (external edit)