Sunteți pe pagina 1din 11

Food

Living

Outside

Play

Technology

Workshop

8-Pin Programming Shield


by randofo on October 11, 2011 Table of Contents 8-Pin Programming Shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intro: 8-Pin Programming Shield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 1: Go get stuff . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 2: Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 3: Resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 4: Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 5: Socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 6: Dual headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 7: Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 8: LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 9: Capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 10: Short . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 11: ATtiny . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 2 3 4 5 5 6 7 7 8 9 9

Step 12: Plug it in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Step 13: Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Step 14: Get your own . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

http://www.instructables.com/id/8-Pin-Programming-Shield/

Author:randofo

Randy Sarafan loves you! I am the author of the book '62 Projects to Make with a Dead Computer' and Community Manager here at Instructables. I'm always sharing tons of awesome projects. Subscribing to me = fun and excitement!

Intro: 8-Pin Programming Shield


The 8-Pin Programming Shield allows you to program ATtiny series chips using the Arduino itself as the programmer. In other words, you plug this into your Arduino and then you can easily program 8-pin chips. These small microcontrollers can then be incorporated into any project that you want. Follows are instructions for assembling your own 8-Piin Programming Shield. To find out how you can get a free kit, skip to Step 14.

Step 1: Go get stuff


What you will need: - Shield circuit board (download the source file) - ATtiny chip - 8-pin 0.3" socket - SPST tactile switch - 10uF 16V electrolytic capacitor - 5mm LeD - 220 ohm 1/4 watt resistor - 6-pin male header - 8-pin male header - (x2) 2-pin male header - (x2) shorting blocks

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 2: Headers
Solder the 6-pin and 8-pin male headers to the circuit board such that they are pointing down from the underside of the board. These headers will plug into the Arduino sockets.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 3: Resistor
Solder the resistor to the board in the spot that kind of looks like a resistor outline right below the bottom of the chip's footprint. Make sure to solder this to the top side of the board and not the bottom like the headers.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 4: Switch
Solder the tactile switch atop the large square footprint that is in the shape of a tactile switch. This is the chip's reset switch.

Step 5: Socket
Solder the socket in place. Make certain that the notch in the socket aligns with the notch on the screen printed footprint. To be more clear, the notch should be pointing towards the tactile switch and 6-pin male header.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 6: Dual headers


Solder the 2-pin headers to the top of the board as shown.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 7: Sockets
Next solder the two 4-pin female sockets on each side of the chip's socket.

Step 8: LED
Make certain that the flat notched side of the LED lines up with the flat side of the LED footprint and then solder it in place.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 9: Capacitor
Electrolytic capacitors are polarized, which means they can allow electricity to flow in one direction, so you don't want to wire this backwards. Carefully align the side of the capacitor without the minus stripe label with the + sign that is labeled on the circuit board. The minus stripe aligns with the hole without the plus sign.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 10: Short


Put the shorting blocks onto the 2-pin header. You may want to consider removing the shorting block next the LED during programming (and circuit depending). This shorting block basically connects the LED to Digital Pin 0 and is used for testing. If you are using that pin for anything else, you probably want to keep the LED disconnected. The other shorting block is for connecting the 10uF capacitor between resistor and ground. This capacitor is largely needed when working with the Arduino Uno. Earlier versions may or may not need this capacitor connected while programming the ATtiny.

Step 11: ATtiny


Insert an ATtiny chip into the socket such that the notch in the chip lines up with the notch in the socket.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 12: Plug it in


Plug the programming shield into the Arduino such that the labels on the shield align with corresponding pins on the board.

http://www.instructables.com/id/8-Pin-Programming-Shield/

Step 13: Program


Plug the whole thing into your computer and program the ATtiny chip using the programming directions found here. *Note: You can skip ahead to Step 3 of that Instructable, as the circuit is already built.

Step 14: Get your own


I have 50 of these 8-Pin Programming Shield Kits to give away. I will be sending them as thank you gifts to the first 50 people that post Instructables that meet the following criteria: - Was posted on or after October 12th, 2011 - Uses an Arduino or ATtiny - Has 4 or more steps - Has full written and photo documentation Simply post a link to your project in the comment section of this Instructable and I will compile a list of the first 50 people to properly complete a project and respond. All of these people will receive one one of these kits as a thank you gift.

Related Instructables

Hacking an Arduino ISP Shield for AtTiny45 / AtTiny85 by rleyland

Program an ATtiny with Arduino by randofo

Turn Your Arduino Into an ISP by mr_mac3

TinyDice LED die (Arduino compatible) (Photos) by emihackr97

Repair dead AVR's - Attiny fusebit doctor (HVSP) by manekinen

Apple-style LED pulsing using a $1.30 MCU by hardwarehank

http://www.instructables.com/id/8-Pin-Programming-Shield/

S-ar putea să vă placă și