Atmega328
owhite·QS165_encoder·AS5048_atmega328p/atmega328.kicad_pcb
About the Atmega328 PCB
Atmega328 is an open source AVR/Arduino PCB design by owhite, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 55.3 × 55.3 mm, with 25 components from 21 distinct parts.
Its main chip is the ATMEGA328P-AU, from the AVR/Arduino family. Other key parts include the AS5047D. By type, the board carries 9 capacitors, 5 connectors, 3 resistors, 2 ICs, 2 diodes and 1 transistor.
From the project
QS165 encoder based on the AS5047 chip.
Project area for an encoder retrofit for the QS165 motor with a magnetic sensor that produces hall output.
See the firmware directory to run the atmega.

Main components on the Atmega328
Atmega328 bill of materials (BOM)
25 components, 21 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATMEGA328P-AU ATmega328P-AU | TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | AS5047D AS5048A | TSSOP-14_4.4x5mm_P0.65mm | U2 |
| 1 | SI2319CDS Si2319CDS | SOT-23 | Q1 |
| 1 | Crystal | Crystal_SMD_5032-2Pin_5.0x3.2mm | Y1 |
| 1 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | Conn_01x02 | myPinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | Conn_01x03 | PinHeader_1x03_P2.54mm_Vertical | J4 |
| 1 | Conn_01x08 | PinHeader_1x08_P2.54mm_Vertical | J5 |
| 1 | Conn_01x02 | PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | Conn_02x03_Top_Bottom | isp_6pin | ISP1 |
| 1 | SolderJumper_2_Open | SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP1 |
| 1 | BZV55C6V2 | D_MiniMELF | D1 |
| 1 | C90692 RED_LED | LED_0603_1608Metric | D2 |
| 1 | 100N 100n | C_0603_1608Metric | C1 |
| 1 | 4.7 | CP_EIA-3216-18_Kemet-A | C2 |
| 4 | 100N 100n | C_0402_1005Metric | C3, C4, C5, C8 |
| 2 | 20P 20p | C_0402_1005Metric | C6, C7 |
| 1 | 10 | C_0402_1005Metric | C9 |
| 1 | 100K 100k | R_0603_1608Metric | R1 |
| 1 | 10K 10k | R_0603_1608Metric | R2 |
Show 1 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 20K 20k | R_0603_1608Metric | R3 |
Atmega328 design files
The KiCad project lives in the owhite/QS165_encoder repository on GitHub; these links point at the commit this page was built from.
Atmega328: common questions
What microcontroller does the Atmega328 use?
The Atmega328 is built around the ATMEGA328P-AU, from the AVR/Arduino family.
How big is the Atmega328 PCB?
The Atmega328 measures 55.3 × 55.3 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Atmega328?
25 components, from 21 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Atmega328 design files?
From the owhite/QS165_encoder repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Atmega328 design in my own project?
Yes, under the terms of its GPL-3.0 license, which owhite chose for the repository.
Can I test firmware for the Atmega328 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
More boards in QS165_encoder
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746