Homemade
ATMega 328P

Figure 1: My version of ATMega 328P
The ATMega 328P is a entry level microcontroller that's found in many Arduino boards as shown in figure 2. My idea was to build one from scratch and to get a blinking LED. This will obviously consist of the chip itself, but also a 16MHz crystal (for burning the bootloader) & some passive components like resisters and capacitors.


Figure 2: Arduino Uno & Nano
The chip itself
The ATMega 328P has two versions, "PU" & "AU". The "PU" is the through hole version, while the "AU" is the SMD version (that's the one I'll be using). The "AU" version consists of 32 pins (according to figure 3)

Figure 3: ATMega 328P "AU"
Schematic & PCB Design
The images below show the schematic capture and the PCB design that I did for the chip. With the PCB, it's a four layer design, with one layer as GND, while the other layer as VCC. The software that was used was EasyEDA.


Figure 4b: PCB Design
Figure 4a: Schematic Capture
Outcome
The red LED was able to blink, however there were issues with uploading the PCB to the bootloader. Eventually I switched to the Arduino Nano, which worked flawlessly. Full video shown in figure 5.

