A breadboard programming header for AVR microcontrollers
I’ve been working with AVRs quite a bit lately, and I wanted a quick way to program them on a breadboard. Something that would be durable, and easy to stick into an existing circuit for rapid iteration of code.
This is what I came up with. I call it the Bread Head.
This little guy was easy to make, and has been a real time saver when iterating on a breadboard. The trick is upside-down protoboard, and longer-than-usual headers! Read on to see how it’s built.
That’s the Bread Head. This has been such a success, that I think I will make other sizes for other common AVRs, such as the ATtiny2313.
26 thoughts on “Bread Head”
Great idea. I did something similar but with a socket and the header extending from the end. http://i1213.photobucket.com/albums/cc466/Neuport/IMG_4485.jpg
I have another built with a 28 pin socket and along with the header I included a pair of female headers and caps so I can plug in a XTL if I want external XTL timing.
That’s a great idea! I like the use of a longer socket. I used that trick myself on the Dish-O-Tron (http://blondihacks.com/?p=92). If you look closely, the two 555s are actually in a single 18-pin socket. The extra row of pins between them is used as a socket for the tilt switch. Saved me a header, plus I have a big pile of 18-pin sockets I’m trying to get rid of. 🙂
I like the idea of mounting smaller chips in multiples in a single holder!
Here are some better pictures of the 8 pin version and the 28 pin version with the XTAL, ISP header, and an LED on pin 13. Like yours, this saves a lot of time when breadboarding. I had seen posts on minimalist Arduino and thought this would be a nice way to go. It has the same profile as the chip side to side, i.e. doesn’t use any more holes and I hang the header over the end of the BB so that doesn’t take up any space either.
Nice! That’s another great approach to this problem. I was also inspired by those minimalist arduinos, and frankly, I think this sort of thing is better. I don’t really want all the baggage that goes with an arduino. I just want the uC!
Brilliant in it’s simplicity. Thanks for sharing!
nice idea I will make one for 28 pins avrs looks great and easy to use and build, yo can also do debugging with that 😀 via ISP
Love this idea! I’ve been using Attiny13’s quite a bit lately as well, and have been thinking about setting up an easier way to connect them from breadboard to programmer rather than jumper wires. My solutions aren’t nearly as elegant as this, great job!
I love the idea, and will adapt it a bit, as I found the square pins widen the breadboard quite a bit, I will try a cut-in-half IC socket with round pins as platform, they are not as wide. Experience might vary with breadboard manufacturers.
Interesting- I have noticed that the square pins are more difficult to insert than round leads. Stands to reason that they would result in more stretching of the connections. Some lengths of snap able SIP socket could be of use here- nice single rows of .1″ spaced round pins.
Just a thought, to make it even tighter and simpler, use an 8-pin socket to build on. The kind with strong but flat pins. Then you just slide it down over the top of the chip and voila. The pins will make contact with those of the chip directly rather than going into the next row of holes on the breadboard. This is handy if you want to reprogram a chip already soldered onto a board. I’ve used this method to make test connections on boards for many years.
Enjoy,
Ray Moore
Good idea, Ray! I seen people do this with pogo pins as well. For me personally, I like something that I can leave connected and will stay solidly in place under its own power. This allows me to go back and forth from code to circuit very often.
For a JTAG connection for a ATmega 644 40 pin DIP. The biggest departure I used from you technique was to use plastic (“Shapelock”) instead of epoxy to hold it together. I also considered hot glue, but I can’t seem to glue stuff without making a huge mess.
I really wish someone would make a proper PCB for this (and for other AVRs) so I could just order one and solder headers onto it. I’ve been wishing that for a while, maybe it’s time I was that someone. Unless you know of a PCB design out there for this already… ?
Hah- I had no idea someone had done that. It’s not a new idea, I don’t think, but I assume that person borrowed it from me since they used the name.
Anyways, honestly, it’s only about two minutes of running some jumpers on perfboard to get it going. An etched PCB seems like overkill to me. But hey, to each their own. 🙂
Sorry, that was a quote from a previous comment. I’ve not made this. Just noticed that the link had been posted by Dustin Andrews, where he gave you credit in 2012.
The perfboard solution definitely has the “making do with what’s at hand” awesomeness to it. 🙂
At only $2.30 (free shipping) for 3 of them from oshpark.com though, it’s hard to go wrong.
Holy cow, that’s cheap. I had no idea. Then yes, by all means, OSH away. 🙂
What’s that circuit on the background of the last picture? Looks like a breadboard-compatible, dual-voltage power adapter.
Yup, that’s basically exactly what it is! I call it the JuiceBridge:
Great idea. I did something similar but with a socket and the header extending from the end. http://i1213.photobucket.com/albums/cc466/Neuport/IMG_4485.jpg
I have another built with a 28 pin socket and along with the header I included a pair of female headers and caps so I can plug in a XTL if I want external XTL timing.
That’s a great idea! I like the use of a longer socket. I used that trick myself on the Dish-O-Tron (http://blondihacks.com/?p=92). If you look closely, the two 555s are actually in a single 18-pin socket. The extra row of pins between them is used as a socket for the tilt switch. Saved me a header, plus I have a big pile of 18-pin sockets I’m trying to get rid of. 🙂
I like the idea of mounting smaller chips in multiples in a single holder!
Here are some better pictures of the 8 pin version and the 28 pin version with the XTAL, ISP header, and an LED on pin 13. Like yours, this saves a lot of time when breadboarding. I had seen posts on minimalist Arduino and thought this would be a nice way to go. It has the same profile as the chip side to side, i.e. doesn’t use any more holes and I hang the header over the end of the BB so that doesn’t take up any space either.
http://i1213.photobucket.com/albums/cc466/Neuport/top2.jpg
http://i1213.photobucket.com/albums/cc466/Neuport/side2.jpg
http://i1213.photobucket.com/albums/cc466/Neuport/bottom2.jpg
Nice! That’s another great approach to this problem. I was also inspired by those minimalist arduinos, and frankly, I think this sort of thing is better. I don’t really want all the baggage that goes with an arduino. I just want the uC!
Brilliant in it’s simplicity. Thanks for sharing!
nice idea I will make one for 28 pins avrs looks great and easy to use and build, yo can also do debugging with that 😀 via ISP
Love this idea! I’ve been using Attiny13’s quite a bit lately as well, and have been thinking about setting up an easier way to connect them from breadboard to programmer rather than jumper wires. My solutions aren’t nearly as elegant as this, great job!
I love the idea, and will adapt it a bit, as I found the square pins widen the breadboard quite a bit, I will try a cut-in-half IC socket with round pins as platform, they are not as wide. Experience might vary with breadboard manufacturers.
Interesting- I have noticed that the square pins are more difficult to insert than round leads. Stands to reason that they would result in more stretching of the connections. Some lengths of snap able SIP socket could be of use here- nice single rows of .1″ spaced round pins.
Just a thought, to make it even tighter and simpler, use an 8-pin socket to build on. The kind with strong but flat pins. Then you just slide it down over the top of the chip and voila. The pins will make contact with those of the chip directly rather than going into the next row of holes on the breadboard. This is handy if you want to reprogram a chip already soldered onto a board. I’ve used this method to make test connections on boards for many years.
Enjoy,
Ray Moore
Good idea, Ray! I seen people do this with pogo pins as well. For me personally, I like something that I can leave connected and will stay solidly in place under its own power. This allows me to go back and forth from code to circuit very often.
Sweet! You have skills…
I love this a lot. I made a PCB version since my soldering skills aren’t as good as yours with loose wires. Photos: http://www.facebook.com/media/set/?set=a.419041118113431.119285.262175783799966&type=1
Eagle files here: https://github.com/dustinandrews/MicroCore/tree/master/breadhead
Nicely done, thanks for sharing!
Your blog inspired me to make my own version of the Bread Head:
http://bytecruft.blogspot.com/2012/04/bench-psu-avr-jtag-update-4-i-think-i.html
For a JTAG connection for a ATmega 644 40 pin DIP. The biggest departure I used from you technique was to use plastic (“Shapelock”) instead of epoxy to hold it together. I also considered hot glue, but I can’t seem to glue stuff without making a huge mess.
I really wish someone would make a proper PCB for this (and for other AVRs) so I could just order one and solder headers onto it. I’ve been wishing that for a while, maybe it’s time I was that someone. Unless you know of a PCB design out there for this already… ?
Looks like I didn’t google hard enough before posting!
https://www.facebook.com/media/set/?set=a.419041118113431.119285.262175783799966&type=3
https://github.com/dustinandrews/MicroCore/tree/master/breadhead
Someone’s done it, yay! (at least for the ATtiny?5 line) Given the similarity in the pinouts of the ATmega??8, it should be easy to adapt it, I would think.
Hah- I had no idea someone had done that. It’s not a new idea, I don’t think, but I assume that person borrowed it from me since they used the name.
Anyways, honestly, it’s only about two minutes of running some jumpers on perfboard to get it going. An etched PCB seems like overkill to me. But hey, to each their own. 🙂
Dustin Andrews says:
March 27, 2012 at 9:52 pm
I love this a lot. I made a PCB version since my soldering skills aren’t as good as yours with loose wires. Photos: http://www.facebook.com/media/set/?set=a.419041118113431.119285.262175783799966&type=1
Eagle files here: https://github.com/dustinandrews/MicroCore/tree/master/breadhead
Well done! That’s an adorable little PCB. 🙂
Sorry, that was a quote from a previous comment. I’ve not made this. Just noticed that the link had been posted by Dustin Andrews, where he gave you credit in 2012.
The perfboard solution definitely has the “making do with what’s at hand” awesomeness to it. 🙂
At only $2.30 (free shipping) for 3 of them from oshpark.com though, it’s hard to go wrong.
Holy cow, that’s cheap. I had no idea. Then yes, by all means, OSH away. 🙂
What’s that circuit on the background of the last picture? Looks like a breadboard-compatible, dual-voltage power adapter.
Yup, that’s basically exactly what it is! I call it the JuiceBridge:
http://blondihacks.com/?p=374
Just made the 10 pin version the AVR programmer uses. It was too simple not to have this accessory dealing with breadboard assemblies first!