Skip to the content
2 layers166.5 × 129.5 mmATmega32 USART Serial Data Monitor System v001, the printed circuit board in 3D

ATmega32 USART Serial Data Monitor System v001

jimyjobs/ATmega32_USART_Serial_Data_Monitor

This project was completed for CT321PBL04 as an exercise in serial communication using the ATmega32 microcontroller.

Size
166.5 × 129.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
45
Pads
99
Tracks, vias
141, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Jun 2026
Updated
18 Jul 2026

Overview

ATmega32 USART Serial Data Monitor System v001 is an open-source printed circuit board by jimyjobs, from the jimyjobs/ATmega32_USART_Serial_Data_Monitor repository on GitHub. It is a 2-layer board of 166.5 × 129.5 mm with 17 parts on 45 nets, routed with 141 tracks and 0 vias.

It is built around the ATMEGA32A-AU. Its parts include 4 capacitors, 3 resistors, 3 switches, 2 diodes and 1 IC. It belongs with the interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

ATmega32 USART Serial Data Monitor System

Overview

This project was completed for CT_321_PBL_04 as an exercise in serial communication using the ATmega32 microcontroller.

The idea behind the project was simple: monitor the state of multiple push buttons and report their status through a USART connection. In addition to transmitting data, the microcontroller was also required to receive commands from a serial terminal and respond appropriately.

The project started with a SimulIDE prototype to verify the firmware logic before moving to schematic capture and PCB design in KiCad.

Development Process

The firmware was written in C using MPLAB XC8. USART communication was configured for 9600 baud at an 8 MHz system clock. Three push buttons were connected as digital inputs and two LEDs were used to provide visual feedback during operation.

Once the firmware was working correctly in simulation, a custom PCB was designed in KiCad. The design includes:

  • ATmega32 DIP package
  • 8 MHz crystal oscillator
  • Crystal load capacitors
  • Decoupling capacitors
  • Three push-button inputs
  • Two indicator LEDs
  • USART header for serial communication

After routing was completed, the board was checked using KiCad's Design Rule Checker (DRC) and all reported issues were resolved before generating the manufacturing files.

Functional Testing

Testing was performed in SimulIDE using the SerialTerm-32 terminal.

Switch Monitoring

Each switch press generated the expected message on the serial terminal.

Example:

SW1 PRESSED

SW2 PRESSED

SW3 PRESSED

Echo Function

To verify bidirectional communication, text entered into the serial terminal was echoed back by the microcontroller.

Example:

Input: hello

Output: hello

STATUS Command

A STATUS command was added to display the current state of the monitored switches.

Example response:

SW1=0

SW2=0

SW3=0

LED Behaviour

One LED was used as a status indicator while the second LED was used to acknowledge valid command processing. During testing both LEDs behaved as expected.

PCB Verification

Before generating the fabrication files, the PCB was checked using KiCad verification tools.

Final verification results:

  • No ERC errors
  • No DRC violations
  • No unrouted nets
  • Gerber files generated successfully
  • Drill files generated successfully

The board was also reviewed using KiCad's 3D Viewer to confirm component placement and overall appearance.

What I Learned

Through this project I gained practical experience with:

  • USART initialization and configuration
  • Serial communication debugging
  • Command-based firmware design
  • PCB layout and routing
  • Gerber generation for manufacturing
  • Verification using ERC and DRC tools

Conclusion

The final system met all project requirements. The ATmega32 successfully transmitted switch events, received serial commands, and provided visual feedback through LEDs. Both the firmware and PCB design were verified through simulation and design checks, resulting in a complete and manufacturable embedded system project.

GROUP MEMBERS

  1. NASANIA MSENGI T23-03-00262
  2. NERUSIGWE PATRICK T23-03-17871
  3. JIM JOB T23-03-11228
  4. STEPHEN SAMWEL T23-03-01246

Parts

17
QtyValueFootprintReferences
3SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2, SW3
2100pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC3, C4
222pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
2330RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
2LEDLED_THT:LED_D5.0mmD1, D2
110KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
18MHzCrystal:Crystal_HC49-U_VerticalY1
1ATmega32APackage_DIP:DIP-40_W15.24mmU1
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1R_PotentiometerPotentiometer_THT:Potentiometer_Bourns_3296W_VerticalRV1
1WC1602ADisplay:WC1602ADS1

Similar boards

  • 2 layers216.7 × 89.7 mmC-13X PCB, the printed circuit board in 3D

    C-13X PCB

    ramonimbao/C-13X-PCB

    A PCB for the C-13X

    135 parts16GPL-3.0
  • 2 layers150 × 97 mmController mega32l, the printed circuit board in 3D

    Controller mega32l

    dmogn/plc_controller_mega32l_pcb_scheme

    PLC controller hardware PCB scheme. ATMega32L, RS485 industrial bus interface, 8 ADC inputs, 8 PWM out, 6 GPIO

    82 parts7MIT
  • 2 layers386.1 × 102 mmPetkn, the printed circuit board in 3D

    Petkn

    fachat/cbm_keyboard

    Keyboard replacement solutions for the Commodore PET

    227 parts7
  • 2 layers100 × 100 mmKicadJE uP DAC, the printed circuit board in 3D

    KicadJE uP DAC

    promesoft/KicadJE_uP_DAC

    STM32 and ATMEGA32A - Eurorack DAC MCP4822 output - Use for Sub 400Hz DDS, LFO, ADSR, Effects - and a small 555 VCO - DDS1 DDS2

    275 parts7
  • 2 layers100 × 100 mmKicadJE ADSR Mega32, the printed circuit board in 3D

    KicadJE ADSR Mega32

    promesoft/KicadJE_ADSR_Mega32

    Envelope for ATMEGA32A - Formant VCO - PT2399 Reverb

    217 parts2MIT
  • 2 layers39 × 58.5 mmAtari SIO2SD Mini, the printed circuit board in 3D

    Atari SIO2SD Mini

    RichardRozehnal/Atari-SIO2SD-Mini

    Atari SIO2SD disk drive emulator for 8bit Atari.

    41 parts2GPL-3.0
  • 2 layers52.6 × 40.2 mmThinkpad keyboard, the printed circuit board in 3D

    Thinkpad keyboard

    vroland/epd-laptop

    Collection of design files and notes towards a portable e-Ink device.

    13 parts1

Questions

How big is the ATmega32 USART Serial Data Monitor System v001 PCB?

It measures 166.5 × 129.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ATmega32 USART Serial Data Monitor System v001 use?

17 parts, built around the ATMEGA32A-AU. 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 USART Serial Data Monitor System v001 KiCad files?

From the jimyjobs/ATmega32_USART_Serial_Data_Monitor repository on GitHub, at the commit this page was made from: the board is kicad/pcb/ATmega32_USART_Serial_Data_Monitor_System_v001.kicad_pcb and its schematic kicad/schematic/ATmega32_USART_Serial_Data_Monitor_System_v001.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ATmega32 USART Serial Data Monitor System v001 design in my own project?

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