Intro: DIY Atmel Microcontroller Development Board
In this Instructables I am going to show you how to make a very useful development board for your favourite Atmel microcontroller that will help you save up to the third of the space on your breadboard and let you move your microcontroller around without any loose connections problems. It will also help you connect your programmer easily without the need of connecting all the cables individually with jumper wires every time, Only one simple connection will be needed and you'll be ready to program it.
I used an ATmega32A but this can be done with almost any Atmel microcontrollers (Through holes DIP pins one only) .
Step 1: Gather the Parts Needed.
Here's what you'll need:
- Two 40 pin female header strip ($1.31 CA/$1.03 US for 3 pcs)
- One 10 pin male header that has the same pinout than the programmer's connector that are very common on Computer motherboards and scrap circuit boards or it can be done with a male header strip 40 pin male header strip ($1.06 CA/$0.99 US for 10 pcs)
- One 5x7cm point-to-point circuit board ($1.84 CA/$1.45 US for 10 pcs)
- One 3 or 5mm LED (who doesn't have LED's???)
- One 330 Ohm resistor
- One Atmel microcontroller of your choice, I used the ATmega32A 8bit AVR microcontroller that I bought on ebay for only $3.02 CA/$2.38 US :) ATmega32A Microcontroller
- One USB programmer, I used a super cheap USBasp programmer for only $2.60 CA/$2.05 US. USBasp Programmer
That's all! ^^
NOTE: all the links are from ebay sellers from china and it can take up to over a month before you receive your items.
Step 2: Solder the Famale Headers Strip to the Circuit Board
Break the female header strips at the same length than your microcontroller and place them on your circuit board making sure that the spacing is the same than your microcontroller.
Then, solder them at their end making sure they are strait. Now that they are holding in place solder all the pins to the circuit board.
Step 3: Bridge the Headers Together
Bridge the headers together with solder making sure you don't short any connections.
Step 4: Install the 10 Pin Programmer Male Header and Power LED
Solder the 10 pin male header to the circuit board and connect it to the microcontroller female header with solder bridges and wires following the datasheet of your microcontroller.
Connect the power indicator LED cathode (-) to GND (5V-) and the anode (+) to one end of the 330 Ohm resistor and connect the other end of the resistor to VCC (5V+).
Now you're ready to test it to make sure everything is working.
Step 5: Test It!
First of all before plugging it for the first time, check all your connection making sure they are all connected at the right place and that nothing is shorting out.
Make sure that the jumper on the programmer is selecting the right voltage for your microcontroller (3.3V or 5V).
Plug the USBasp programmer into a USB port of your programmer and test... The LED on the programmer and your development board should turn on, without everything burning into smoke!
Setting up the Cheap USBasp to work with Atmel studio isn't easy so if you want, request an Instructables on how to set it up and I'll gladly do it for you guys. :)
Hope you enjoyed my Instructables and found it useful.
Have fun and feel free to follow, comment and share.