Skip to the content
2 layers150 × 110 mmKIT ATmega16, the printed circuit board in 3D

Đồ án 2 HUST 20261 - DA26111: Thiết kế và phát triển KIT ATmega16

Size
150 × 110 mm
Copper layers
2
Thickness
1.6 mm
Parts
57
Nets
58
Pads
219
Tracks, vias
598, 22
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Oct 2026
Updated
17 Oct 2026

Overview

KIT ATmega16 is an open-source printed circuit board by ndhuy1127, from the ndhuy1127/DA2-KIT-ATmega16 repository on GitHub. It is a 2-layer board of 150 × 110 mm with 57 parts on 58 nets, routed with 598 tracks and 22 vias.

It is built around the ATMEGA16A-PU, LM7805 and 100UF/16V. Its parts include 13 resistors, 11 diodes, 10 capacitors, 9 connectors and 3 switches. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

KIT phát triển ATmega16

Đồ án 2 – Học kỳ 20261 – Đại học Bách khoa Hà Nội

  • Mã lớp / mã đề tài: 772645 / DA26111
  • Sinh viên thực hiện: Nguyễn Đức Huy – 20233448
  • Giảng viên hướng dẫn: ThS. Nguyễn Minh Đức

Đề tài thiết kế và lập trình một bo KIT dùng ATmega16. Trên bo có khối nguồn 5 V, thạch anh 8 MHz, cổng nạp ISP cho USBasp, 8 LED đơn, 2 nút nhấn nối vào ngắt ngoài, biến trở để thử ADC, cổng UART, chỗ cắm LCD1602 và bàn phím 4×4, cùng 4 header để đưa các cổng PORTA–PORTD ra ngoài.

PCB 3D

Tiến độ

TuầnNội dungTài liệuTrạng thái
1Tìm hiểu yêu cầu, datasheet, sơ đồ khốituan-01Xong
2Phân chân, chọn linh kiện, BOMpinmap, BOMXong
3Vẽ schematic, ERCtuan-03, PDFXong
4Vẽ PCB, DRC, xuất Gerbertuan-04, GerberXong
5Mô phỏng GPIO, nút nhấn, ngắt ngoài, Timertuan-05, firmwareĐang làm
6Mô phỏng ADC, UART
7Mô phỏng LCD1602, bàn phím 4×4
8Bài tổng hợp, hàn lắp bo
9Chạy trên bo thật, đo kiểm
10Báo cáo, slide, demo

Lịch chi tiết xem ở docs/ke-hoach/ke-hoach-dieu-chinh.md.

Thư mục

text
docs/          kế hoạch, phiếu báo cáo tuần, tài liệu từng tuần
hardware/      project KiCad, file xuất (PDF, Gerber, BOM, ảnh 3D) và script hỗ trợ
firmware/      mã nguồn các bài lab, board.h chứa phân chân dùng chung
simulation/    mạch mô phỏng Proteus

Build firmware

Trên Windows cài avr-gcc bằng Scoop (scoop install avr-gcc), sau đó:

powershell
cd firmware
powershell -ExecutionPolicy Bypass -File build.ps1                       # build hết, ra build/*.hex
powershell -ExecutionPolicy Bypass -File build.ps1 -Lab 04_timer -Flash  # build và nạp 1 bài qua USBasp

Với chip mới cần ghi fuse một lần để chạy thạch anh 8 MHz và tắt JTAG:

bash
avrdude -c usbasp -p m16 -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m

Phần cứng

Mở hardware/kicad/KIT-ATmega16.kicad_pro bằng KiCad 10. Schematic chạy ERC không còn lỗi; PCB chạy DRC không còn lỗi và khớp với schematic, chỉ còn vài cảnh báo chữ silkscreen bị chồng.

Parts

57
QtyValueFootprintReferences
8330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3, R4, R5, R6, R7, R8, R9, R10
8ĐỏLED_THT:LED_D3.0mmD4, D5, D6, D7, D8, D9, D10, D11
6100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC2, C4, C5, C8, C9, C10
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
310kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R11, R12
210kPotentiometer_THT:Potentiometer_Bourns_3386P_VerticalRV1, RV2
222pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC6, C7
1100uF/16VCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC3
110uHInductor_THT:L_Axial_L5.3mm_D2.2mm_P10.16mm_Horizontal_Vishay_IM-1L1
11N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
11N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD3
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
133Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR13
1470uF/25VCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC1
18MHzCrystal:Crystal_HC49-U_VerticalY1
1ATmega16A-PUPackage_DIP:DIP-40_W15.24mm_SocketU1
1Cấp 5V từ ISPConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP1
1DC 9-12VConnector_BarrelJack:BarrelJack_HorizontalJ1
1ISP (USBasp)Connector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ2
1Keypad 4x4Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ5
1LCD1602Connector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalJ4
1LM7805Package_TO_SOT_THT:TO-220-3_VerticalU2
1PORTAConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ6
1PORTBConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ7
1PORTCConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ8
1PORTDConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ9
1RESETButton_Switch_THT:SW_PUSH_6mmSW3
1SW1 (INT0)Button_Switch_THT:SW_PUSH_6mmSW1
1SW2 (INT1)Button_Switch_THT:SW_PUSH_6mmSW2
1USB-UARTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ3
1XanhLED_THT:LED_D3.0mmD2

Similar boards

  • 2 layers51.7 × 79.4 mmControl motor dc, the printed circuit board in 3D

    Control motor dc

    kr4fty/DCMotorController

    Closed Loop Position Control for DC Servo Motors. STEP / DIR compatible Driver

    26 parts5GPL-2.0
  • 2 layers100 × 90 mmEntrenador atmega328p, the printed circuit board in 3D

    Entrenador atmega328p

    davixcky/entrenador-atmega328p

    Entrenador de microcontroladores con ATMega328P (DIP) - Sistemas Embebidos 1, actividad 10.1.12

    75 parts
  • 2 layers96.9 × 110.7 mmI2c tester, the printed circuit board in 3D

    I2c tester

    dilshan/i2c-test-terminal

    I2C hardware test terminal/master mode emulator.

    69 parts20MIT
  • 2 layers150 × 90 mmOsprey68, the printed circuit board in 3D

    Osprey68

    clementtttttttt/osprey_dev

    osprey computer os source files

    51 parts
  • 4 layers100 × 100 mmStez80, the printed circuit board in 3D

    Stez80

    imix/stez80

    a Z80 based system including an emulator

    39 parts
  • 2 layers81.5 × 57.3 mmPPURS projekt, the printed circuit board in 3D

    PPURS projekt

    jadranm/PPURS-projekt

    C02 alarm baziran na ATmega platformi

    28 parts
  • 2 layers160 × 100 mmKneipp thermometer, the printed circuit board in 3D

    Kneipp thermometer

    MartinFeichtinger/kneippometer

    This is a project to build an self-sufficient temperatur display for the local kneipp bath

    140 parts
  • 2 layersEgg incubator project, the printed circuit board in 3D

    Egg incubator project

    Zinjpq/Egg_incubator_project

    Major exercise of pulse engineering subject

    37 parts

Questions

How big is the KIT ATmega16 PCB?

It measures 150 × 110 mm and has 2 copper layers, 1.6 mm thick.

What parts does the KIT ATmega16 use?

57 parts, built around the ATMEGA16A-PU, LM7805 and 100UF/16V. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the KIT ATmega16 KiCad files?

From the ndhuy1127/DA2-KIT-ATmega16 repository on GitHub, at the commit this page was made from: the board is hardware/kicad/KIT-ATmega16.kicad_pcb and its schematic hardware/kicad/KIT-ATmega16.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the KIT ATmega16 design in my own project?

Its repository states no licence, so its author keeps all rights: ask ndhuy1127 before reusing the design.