Skip to the content
2 layers200 × 101 mmAtmega32, the printed circuit board in 3D

Đây là dự án thiết kế và chế tạo bo mạch học tập lập trình nhúng sử dụng vi điều khiển ATmega32, được xây dựng nhằm phục vụ việc học tập, thực hành và nghiên cứu các hệ thống nhúng.

Size
200 × 101 mm
Copper layers
2
Thickness
1.6 mm
Parts
168
Nets
154
Pads
653
Tracks, vias
1,564, 260
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Aug 2026
Updated
3 Sep 2026

Overview

Atmega32 is an open-source printed circuit board by talonghtn-rgb, from the talonghtn-rgb/MachATmega32 repository on GitHub. It is a 2-layer board of 200 × 101 mm with 168 parts on 154 nets, routed with 1,564 tracks and 260 vias.

It is built around the ATMEGA32A-PU, CH340E and SN74LVC125APWR-TP, with the LM2596S-ADJ, DS18B20 and LM1117MP-3.3 among its other parts. Its parts include 52 resistors, 27 capacitors, 16 diodes, 7 connectors and 6 transistors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

12

README

README.md

ATmega32 Embedded Learning Board

THIẾT KẾ VÀ CHẾ TẠO BO MẠCH LẬP TRÌNH NHÚNG DỰA TRÊN VI ĐIỀU KHIỂN AVR CHO MỤC ĐÍCH GIÁO DỤC

ATmega32 Embedded Training Board


Giới thiệu

Đây là dự án thiết kế và chế tạo bo mạch học tập lập trình nhúng sử dụng vi điều khiển ATmega32, được xây dựng nhằm phục vụ việc học tập, thực hành và nghiên cứu các hệ thống nhúng.

Bo mạch tích hợp nhiều ngoại vi phổ biến, giúp sinh viên có thể thực hành lập trình vi điều khiển, giao tiếp với cảm biến, thiết bị hiển thị, bộ nhớ và các chuẩn giao tiếp thông dụng.

Toàn bộ sơ đồ nguyên lý và PCB của bo mạch được thiết kế bằng KiCad.


Mục tiêu

  • Thiết kế một bo mạch học tập dựa trên vi điều khiển ATmega32.
  • Tích hợp các ngoại vi thường sử dụng trong các bài thực hành vi điều khiển.
  • Hỗ trợ nhiều chuẩn giao tiếp như UART, I2C, SPI và 1-Wire.
  • Thiết kế PCB hoàn chỉnh bằng KiCad.
  • Xây dựng nền tảng phần cứng phục vụ các bài thực hành lập trình nhúng.
  • Kiểm thử từng chức năng của bo mạch trên phần cứng thực tế.

Vi điều khiển: ATmega32

Các ngoại vi tích hợp

Bo mạch được thiết kế với các khối chức năng:

Ngoại viChức năng
LCD 16x2Hiển thị thông tin
LED 7 đoạn 4 sốHiển thị số
LM35Đo nhiệt độ
DS18B20Cảm biến nhiệt độ
DS3231Đồng hồ thời gian thực
RelayĐiều khiển thiết bị
Micro SD CardLưu trữ dữ liệu
LED đơnHiển thị trạng thái
ButtonNhập tín hiệu số
PotentiometerTạo tín hiệu analog
LDRĐo cường độ ánh sáng
CH340EGiao tiếp USB-UART

Các ngoại vi trên được tích hợp nhằm phục vụ nhiều bài thực hành về GPIO, ADC, UART, I2C, SPI, 1-Wire và điều khiển thiết bị.


Các chuẩn giao tiếp

UART,I2C,SPI,1-Wire

Thiết kế bằng KiCad

Project được thiết kế bằng KiCad 9.

Các file chính:

text
ATmega32/
│
├── atmega32.kicad_pro       # KiCad Project
├── atmega32.kicad_sch       # Schematic
├── atmega32.kicad_pcb       # PCB Layout
│
├── aa.kicad_sym             # Custom Symbol Library
│
├── CR1220 SMD.pretty/       # Footprint Library
├── Micro.pretty/            # Footprint Library
├── SN74LVC125APWR.pretty/   # Footprint Library
│
├── fp-lib-table
├── sym-lib-table
└── Logo_hus.png

Hình ảnh sản phẩm trong quá trình làm

Ghi chú: Hình ảnh ở trên là bản đầu tiên làm, file ở trên đã sửa sau khi test các chức năng sửa những lỗi cho ra bản hoàn chỉnh nhất.

Parts

168
QtyValueFootprintReferences
17100nFCapacitor_SMD:C_1206_3216MetricC1, C2, C3, C5, C6, C7, C8, C16, C17, C19, C20, C21, C22, C24, C26, C27 +1
1510KResistor_SMD:R_1206_3216MetricR1, R15, R16, R17, R18, R19, R20, R21, R22, R26, R27, R37, R38, R39, R40
10LEDLED_SMD:LED_1206_3216MetricD1, D2, D3, D4, D5, D6, D7, D8, D9, D16
9220Resistor_SMD:R_1206_3216MetricR29, R30, R31, R32, R33, R34, R35, R36, R47
9SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmButton Reset, SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8
8330Resistor_SMD:R_1206_3216MetricR7, R8, R9, R10, R11, R12, R13, R14
51KResistor_SMD:R_1206_3216MetricR2, R5, R6, R45, R46
51N4007Diode_SMD:D_SMAD10, D11, D12, D13, D14
5BC846Package_TO_SOT_SMD:SOT-23Q2, Q3, Q4, Q5, Q6
43.3KResistor_SMD:R_1206_3216MetricR48, R49, R50, R51
44.7KResistor_SMD:R_1206_3216MetricR24, R25, R28, R53
4TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.0mmTP1, TP2, TP3, TP4
310uFCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-AC4, C15, C18
222pFCapacitor_SMD:C_1206_3216MetricC10, C11
25V or 3.3VConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP2, JP3
25k1Resistor_SMD:R_1206_3216MetricR43, R44
11000nFCapacitor_SMD:C_1206_3216MetricC13
110KPotentiometer_THT:Potentiometer_Alps_RK09K_Single_VerticalVariable Resistor
110kResistor_SMD:R_1206_3216MetricR3
110nFCapacitor_SMD:C_1206_3216MetricC25
110uFCapacitor_SMD:C_1206_3216MetricC23
11N5822Diode_THT:D_DO-201AD_P12.70mm_HorizontalD15
12.2KResistor_SMD:R_1206_3216MetricR42
1330uF/35VCapacitor_SMD:CP_Elec_8x10.5C14
133uHInductor_THT:L_Radial_D8.7mm_P5.00mm_Fastron_07HCPL2
14-digit 7-segment_1Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ4
14-digit 7-segment_2Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ3
14.7kResistor_SMD:R_1206_3216MetricR23
1440uF/35VCapacitor_SMD:CP_Elec_8x10.5C12
1470Resistor_SMD:R_1206_3216MetricR4
15V or xConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP4
15V/3.3VConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical5V/3.3V
18MhzCrystal:Crystal_HC49-U_VerticalY2
1ATmega32A-PPackage_DIP:DIP-40_W15.24mmMCU
1AVR-ISP-10Connector_IDC:IDC-Header_2x05_P2.54mm_VerticalSPI Port
1BUTTON_DONButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmBUTTON
1Barrel_JackConnector_BarrelJack:BarrelJack_Horizontal12V/3A
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6Speaker
1CH340EPackage_SO:MSOP-10_3x3mm_P0.5mmU8
1Conn_01x16_lcdConnector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalJ11
1DS18B20Package_TO_SOT_THT:TO-92_InlineDS18B20
1DS3231MPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmDS3231
1FerriteBeadInductor_SMD:L_1210_3225MetricFB1
1GL5528 photoresistorResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR41
1LCD1MountingHole:MountingHole_2.5mmH5
1LCD2MountingHole:MountingHole_2.5mmH6
1LCD3MountingHole:MountingHole_2.5mmH7
1LCD4MountingHole:MountingHole_2.5mmH8
1LED7_DOAN_4SOButton_Switch_THT:SW_DIP_SPSTx12_Slide_9.78x32.66mm_W7.62mm_P2.54mm7-segment display
1LED_DONButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmLED
1LM1117MP-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U10
1LM2596S-ADJPackage_TO_SOT_SMD:TO-263-5_TabPin3U6
1LM35-LPPackage_TO_SOT_THT:TO-92_InlineLM35
1LOGOLOGO
1MH1MountingHole:MountingHole_4mm_Pad_ViaH1
1MH2MountingHole:MountingHole_4mm_Pad_ViaH2
1MH3MountingHole:MountingHole_4mm_Pad_ViaH3
1MH4MountingHole:MountingHole_4mm_Pad_ViaH4
1MH5MountingHole:MountingHole_2.5mmH9
1MH6MountingHole:MountingHole_2.5mmH10
1MMBT2222APackage_TO_SOT_SMD:SOT-23Q1
1Micro_SD_CardMicro:GCT_MEM2075J1
1Nguồn lọc or USBConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP1
1PINCR1220 SMD:BatteryHolder_RSPRO_2378296_1x1220BT1
1Port AConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalPORT A
1Port BConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalPORT B
1Port CConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalPORT C
1Port DConnector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_VerticalPORT D
1R_PotentiometerPotentiometer_THT:Potentiometer_Alps_RK09K_Single_VerticalRV1
1SANYOU_SRDRelay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_CRelay
1SCL/SDAConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalI2C
1SN74LVC125APWRSN74LVC125APWR:SOP65P640X120-14NSN74LVC125APWR
1SPIConnector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalSPI
1SW_DIP_x06Button_Switch_THT:SW_DIP_SPSTx06_Slide_9.78x17.42mm_W7.62mm_P2.54mmSW10
1SW_LCD_8bitButton_Switch_THT:SW_DIP_SPSTx05_Slide_9.78x14.88mm_W7.62mm_P2.54mmLCD-8bit
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ5
1Screw_Terminal_01x03TerminalBlock:TerminalBlock_bornier-3_P5.08mmJ2
1TX/RXConnector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalUART
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U7
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ10

Similar boards

  • 2 layers100.3 × 38.1 mmRelay shield, the printed circuit board in 3D

    Relay shield

    carlos-jenkins/relay-shield

    Relay and current sensor shield for Spark Core

    25 parts10GPL-2.0
  • 2 layers102.5 × 75 mmK PA Protec, the printed circuit board in 3D

    K PA Protec

    F6ITU/K_PA_Protec

    LA2NI OpenHPSDR Power Amplifier Protection board- kicad port

    91 parts1
  • 2 layers275.9 × 117.8 mmReform2-keyboard3, the printed circuit board in 3D

    Reform2-keyboard3

    jackhumbert/reform

    This is the main repository for the MNT Reform open source laptop.

    379 parts1
  • 2 layers50.4 × 75 mmOpen-01-pcb, the printed circuit board in 3D

    Open-01-pcb

    RonishNadar/open-01

    OPEN-01 - Omnidirectional Perception & Embedded Navigation. An open-source, low-cost ROS2 robot platform.

    64 parts1Apache-2.0
  • 4 layers58.5 × 50.3 mmF407-mainboard, the printed circuit board in 3D

    F407-mainboard

    adrienles/miniMPE

    a sectioned small and low profile MPE MIDI keyboard

    61 parts
  • 2 layers99.1 × 87.9 mmDigital theremin kicad, the printed circuit board in 3D

    Digital theremin kicad

    ncssrtnvnthm/WATCH2026-theremin

    Theremin project for the 2026 WATCH program

    40 parts

Questions

How big is the Atmega32 PCB?

It measures 200 × 101 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Atmega32 use?

168 parts, built around the ATMEGA32A-PU, CH340E, SN74LVC125APWR-TP and LM2596S-ADJ. 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 Atmega32 KiCad files?

From the talonghtn-rgb/MachATmega32 repository on GitHub, at the commit this page was made from: the board is ATmega32/atmega32.kicad_pcb and its schematic ATmega32/atmega32.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Atmega32 design in my own project?

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