Skip to Content
Dan k
Compact Micro controller with ATmega328 – Arduion Pro/Mini 8 MHz
Explorations Dan Chen / November 13, 2015

Understand ATmega328

Using Eagle, I designed the board to be compact but with essential break out pads . I broke out 4 analog pins and 2 digital pins. The 4 Analog pins are great to drive the servos and sensors,  I also included the USB jack just for power and a LED for debugging. You only need to solder the pins that you frequently use. I left ISP and FTDI pins exposed for programing.

You can download the Eagle drawing here. ATmega328-8mhz

Screen Shot 2015-09-13 at 5.48.57 PM Screen Shot 2015-09-13 at 5.49.08 PM



atmega328-tqfp-arduino-pinout copy

I used and Roland mill to create my board, using the 1/64 End mill to cut out the trace, and  1/32 to cut out the outlines (cutting the entire board out)

DSC07069 DSC07073

Trace with 1/64 end mill ki-trace_double

Outline with 1/32 end mill


After milling out the trace and cutting out the board we are ready the stuff the board.



You only need to break out the pins that out need, you can skip the FTDI and the ISP cable for smaller profile.DSC07284



Burning Boot loader


You will need FTDI cable, to program, get serial data and mainly provide power. You can also program with just AVR Programmer, but you will still need to provide your board power.
AVR ISP MKII Programmer (ISP, Xmega, TDI) to burn the boot loader.
AVR programer does not provide power.


Tips for getting Arduino IDE working on your own board

#1. Here are the json URLs for all Mega & Attiny board with all sorts of processor speed (1, 8, 16, 20 mHz)

Open up your Arduino preferences window,
Paste The following URLs into the Additional board section.,,
Screen Shot 2015-11-23 at 10.59.25 AM
Go to board manager (tool> board) to install
Install these 2 items under board manager (you might need to restart to see them)
Screen Shot 2015-11-24 at 12.49.03 AM

#2. Burn Boot Loader using your FabISP from previous class or AVR MII

Just make sure you pick the right processor speed, especially internal vs external.

#3. Done!
All you need to program now is the FTDI cable, you can also use ISP pins to do all your programing and take out the FTDI cable all together (you might want to break out the TX/RX if yo wanna do serial tutorial communication)

Essential Parts

Atmel ATMEGA328P-AU X1

10K Ohm Resistor X2

0 OhmResister X3

1µF Capacitors X1

0.1µF Capacitors X2

Total: Under $5

Screen Shot 2015-12-22 at 11.14.18 PM

One stop shop


Optional SMD Parts

2×3 Male Pin Header

2×2 Male Pin Header

Male Pin, 1 Row: For FTDI

More Details at

FTDI Cable

AVR Programmer

You can also use FAB ISP and USB Tinny

DAN K CHEN © 2024