![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvJwG1MRU9mXgTfGX6nmwA_5VLfx64uVSAriv5GWoINsUQUHvbtd949OqC7tw2fllxKUWcyLMp8WboFEvy6tLoh9mV35sg4AmFBuYWdUHTyM4tZasQGGHVLMBH2Xfb6Z2Wrew_2IZaKJtu/s200/IMG_0130.jpg)
I've been programming my AVRs using the SparkFun set-up since I started. This is fine for the odd bit of tinkering, but it's a pain having all those wires poked into the programming cable and getting in the way on the breadboard. With an 8-pin dip, there's not a lot of room around the chip for my fat fingers to add wires.
I'd seen these breadboard headers over at Tinkerlog.com and fancied having a go at making my own using the components I'd got lying around (well, ok, I bough the male/female header pins from eBay).
First a rough idea of how I thought it should look:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjsPeaZgqHe3fzp6QbBYkV29ZgP7qlxThG1IDCXfUmcLpazgJOlpz556BNBt-8XfBmee_iNOKBTLkNX50k6cNBr7m0qostzpuR7O-CJjFHWKhEdajz5xgE-Pzwz4JUgPgsv-gk5HIrrXEg/s200/top_view.jpg)
Then I tried to figure out where the wires should go based on my original set-up (pic of wire mess above) and the ATtiny13 datashet.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDnI-igCi5EQqZ1tffqvxViqtTdDJ_kU2RAQwBVCSZC30h-QpBnMA_QnHzC2dqotGh0qL69o7SX2serTLresaEkS2hEtCn6jYIRxahV_1qYRJpf6L0sMchnzXp6DrN_sAaPdIX6p4siUGp/s200/block_diagram.jpg)
Finally I gave a little thought as to where the physical wires were going to go on the perfboard. I decided to swap the position of the 6-pin programming header to make the wiring a little easier. I'm sure there's a better solution, but I was impatient and wanted to get on with it.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpGA0EPBAfQNLv4Yj3Cn_50AAUUFvQ6OZOrbe4uPeB56KioBtI0kzbrNYL0U-hsoWz35qVjWRAk-i15N_6gT7WeHDLIgFdWAZTJmE4CW6hr0aW5wWdMWfy5GHBZonqSo2L9e8EmB_6lzaw/s200/wiring_perf.jpg)
Then it was a matter of soldering everything together. I am not an accomplished solderer - this is only my 3rd real soldering project and I'm sure most people wouldn't even consider the ones I've done so far 'projects'.
First off I soldered the headers, push switch (cannibalized from a broken kids toy) and IC socket. This is pretty much how the finished project looks from the top.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvJwG1MRU9mXgTfGX6nmwA_5VLfx64uVSAriv5GWoINsUQUHvbtd949OqC7tw2fllxKUWcyLMp8WboFEvy6tLoh9mV35sg4AmFBuYWdUHTyM4tZasQGGHVLMBH2Xfb6Z2Wrew_2IZaKJtu/s200/IMG_0130.jpg)
Then I realise that I could bridge pins 1 and 8 using the 10K resisitor and have the resistor out of the way of the rest of the wires by having it on the front of the board.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRlr5TCCZX_dReHHJFwX34JqMCSJCxT293OfFqIFoYaaQ3fKF6GZFU58FvTGpiraUJNl-x5Xj5yMwWWbzLscKArXisxoNUkZL0iE67BLv9-OQk5TGAuc0_nBtc79fS9K9zuBi35iQrAOIY/s200/IMG_0131.jpg)
After that it all got a little messy... I need to give myself more time to figure out wiring/routing! I guess this is all a learning experience :)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrTPoHp3o-p2bqCTOVRE_9KLVWhoXh-VEPRw1DVOUDVnHfzN4LmIo112NNx7Sj-A-vP-A0XSI3wLqI9JofVmHIkHsvjXyoFU-YK6_MukkHzDXc_AF08RuLqQXwkNXIp7NqOXwE2NAySf6K/s200/IMG_0135.jpg)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR3wG3SeLIMJ9I7LYLOGOcsiWaUVc01bbPOgOatrD-8goUyTqnK9Qt7VdYZye-otAG5FgHWzdzD34LknqfviloAZAdY3ye8UNOgxoVXWiL9Evvz3NJJftlJ-Ap1ycHL0nCGMd1yjuUO4il/s200/IMG_0140.jpg)
I kept the insulation on the long wires to prevent short circuits, unfortunately I also ended up melting a lot of the plastic which caused a few issues around pin 5 of the IC socket hence the blackened mess and excess solder around there... I think I managed to sort out my technique a bit better after than and the remaining solder bridges are ok (tips on creating these gratefully received!).
Here it is in action (note that I have to bring in power from the breadboard with my particular programmer).
No comments:
Post a Comment