Skip to the content
2 layersLCD Project, the printed circuit board in 3D

An embedded user-interface project built on the ATmega32 microcontroller. A 16×2 LCD displays a menu and parameter values while push buttons let the user navigate menus, adjust settings, and save values.

Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
55
Pads
108
Tracks, vias
186, 16
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
5 Jul 2026
Updated
5 Jul 2026

Overview

LCD Project is an open-source printed circuit board by belishaza-jordan, from the belishaza-jordan/Atmega32 repository on GitHub. It is a 2-layer board with 18 parts on 55 nets, routed with 186 tracks and 16 vias.

It is built around the ATMEGA32-16AU. Its parts include 4 resistors, 2 capacitors, 2 ICs, 2 diodes and 1 crystal. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

ATmega32 LCD Menu System

LCD-Based Menu Navigation and Parameter Setting System

An embedded user-interface project built on the ATmega32 microcontroller. A 16×2 LCD displays a menu and parameter values while push buttons let the user navigate menus, adjust settings, and save values. LEDs and a buzzer provide visual and audio feedback.


Table of Contents


Overview

Many embedded systems (digital clocks, temperature controllers, motor-speed controllers, alarm systems) need a simple interface to display status and change settings. This project implements that idea using an ATmega32, a 16×2 LCD in 4-bit mode, and five push buttons.

The workflow follows the full PBL flow: system operation → hardware selection → pin mapping → KiCad design → firmware development → SimulIDE testing → GitHub submission → demonstration.

Features

  • 16×2 LCD interfacing in 4-bit mode (fewer pins used)
  • Push-button menu navigation (Menu, Up, Down, Select, Save/Increase)
  • Parameter setting with on-screen value display
  • Save confirmation with VALUE SAVED message
  • Buzzer feedback for confirmation and error beeps
  • Status / Mode LEDs for indication
  • Button debouncing to prevent false readings
  • Reset to return to the welcome screen

Hardware Components

ComponentQtyPurpose
ATmega32 microcontroller1Main controller
16×2 LCD module1Displays menu and parameter values
Push buttons5Menu, up, down, select, save/increase
LEDs2Status and mode indication
Current-limiting resistors2LED protection
Buzzer1Audio feedback
Potentiometer1LCD contrast adjustment
Reset push button1Manual MCU reset
Crystal oscillator1Clock source (if external clock used)
CapacitorsAs req.Clock and power filtering
Power supply15 V supply

Pin Mapping

ATmega32 PinDirectionNet LabelConnected Device
PC0OutputLCD_RSLCD Register Select
PC1OutputLCD_ENLCD Enable
PC2–PC5OutputLCD_D4–LCD_D7LCD Data lines (4-bit)
PA0InputBTN_MENUMenu button
PA1InputBTN_UPUp button
PA2InputBTN_DOWNDown button
PA3InputBTN_SELECTSelect button
PA4InputBTN_SAVESave / increase button
PB0OutputSTATUS_LEDStatus LED
PB1OutputMODE_LEDMode LED
PB2OutputBUZZERBuzzer

DDR configuration:

c
DDRC = 0x3F;   // PC0-PC5 -> LCD output
DDRA = 0x00;   // PORTA   -> button input
DDRB = 0x07;   // PB0-PB2 -> LED / buzzer output

See documentation/pin_mapping_table.md for the full table.

System Operation

Input / User ActionExpected Output
System powered ONLCD displays welcome message
Menu button pressedMain menu is displayed
Up button pressedMenu cursor moves upward
Down button pressedMenu cursor moves downward
Select button pressedSelected menu item opens
Increase button pressedParameter value increases
Save button pressedLCD displays VALUE SAVED
Invalid operationBuzzer gives short error beep
Reset button pressedSystem returns to welcome screen

Example displays:

text
MENU:              TEMP LIMIT:
1.SET LIMIT        35 C

Repository Structure

text
ATmega32_LCD_Menu_System/
│
├── README.md
│
├── firmware/
│   ├── src/                  # Source code (.c)
│   ├── include/              # Header files (.h)
│   └── hex/                  # Compiled HEX file
│
├── kicad/
│   ├── schematic/            # KiCad schematic files
│   ├── pcb/                  # PCB layout files
│   └── gerber/               # Gerber output files
│
├── simulide/
│   ├── circuit/              # SimulIDE circuit file
│   └── screenshots/          # Test-case screenshots
│
├── documentation/
│   ├── block_diagram.png
│   ├── flowchart.png
│   ├── menu_structure.png
│   ├── pin_mapping_table.md
│   └── test_results.md

Tools Used

ToolPurpose
MPLAB for VS CodeFirmware development (C)
KiCadSchematic + PCB design, Gerber generation
SimulIDECircuit simulation and testing
GitHubVersion control and submission

Build & Simulate

  1. Firmware — Open the project in MPLAB for VS Code, build, and generate the HEX file into firmware/hex/.
  2. Simulation — Open the circuit in SimulIDE, load the HEX file into the ATmega32, and run.
  3. Testing — Run each case from the operation table above and capture screenshots into simulide/screenshots/.
  4. PCB — Open the KiCad project, run ERC and DRC, then generate Gerbers into kicad/gerber/.

Documentation

FileDescription
block_diagram.pngSystem block diagram
flowchart.pngFirmware flowchart
menu_structure.pngLCD menu state diagram
pin_mapping_table.mdFull ATmega32 pin mapping
test_results.mdTest cases and results

Extension Task

Add EEPROM-based parameter storage so the selected parameter value is retained after reset or power cycling. This combines LCD menu navigation with internal EEPROM read/write operations.

Author

Name: _______________ Course: CT 321 — Project-Based Learning (Project 15) Instructor: _______________


Commit History (suggested)

  • Initial project structure created
  • Added LCD initialization firmware
  • Added button reading and menu navigation logic
  • Added parameter setting function
  • Added KiCad schematic design
  • Added SimulIDE simulation circuit
  • Added PCB layout and Gerber files
  • Added test results and project documentation

Parts

18
QtyValueFootprintReferences
3RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3
3~Button_Switch_THT:SW_PUSH_6mm_H5mmMENU1, SAVE/INCREASE1, UP1
2LEDLED_THT:LED_D8.0mmD1, D2
2~Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716DOWN1, SELECT1
1ATmega32-16APackage_QFP:TQFP-44_10x10mm_P0.8mmU2
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1CCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC2
1CCapacitor_THT:C_Rect_L7.0mm_W2.5mm_P5.00mmC1
1CrystalCrystal:Crystal_HC49-U_VerticalY1
1HY1602EDisplay:HY1602EDS1
1LM809Package_TO_SOT_SMD:SOT-23U1
1PotentiometerPotentiometer_THT:Potentiometer_Bourns_3296W_VerticalR4

Similar boards

  • 2 layers176.4 × 21.4 mmLedClock, the printed circuit board in 3D

    LedClock

    qb-creates/pov-led-clock

    POV Clock using an ATmega32 microcontroller.

    47 parts2MIT
  • 2 layers100 × 100 mmSpeaker, the printed circuit board in 3D

    Speaker

    LOEWE-emergenCITY/freespeaker

    The modular, research-friendly smart home hub

    136 parts1
  • 2 layers95 × 70 mmDigiLight, the printed circuit board in 3D

    DigiLight

    mrKuzmich/DigiLightM_pcb

    Digital light organ DigiLight-M. Schematic and PCB.

    88 parts1
  • 2 layers209.5 × 134.5 mmATmega32 External Event Object Counter, the printed circuit board in 3D

    ATmega32 External Event Object Counter

    naslaizer/ATmega32_External_Event_Object_Counter

    ATmega32-based External Event Object Counter utilizing hardware interrupts (INT0), an 8-bit parallel 16x2 LCD display, and a custom single-layer curved-track PCB layout.

    15 parts
  • 2 layersKeyboard Memory Emulator, the printed circuit board in 3D

    Keyboard Memory Emulator

    ShreksHellraiser/Vintage-Keyboard-Memory-Replacement

    ABANDONED UNFINISHED - A memory replacement PCB that adds sample loading and saving to the SK-1

    40 parts
  • 2 layers240.7 × 179.5 mmSmart Ventilator PCB, the printed circuit board in 3D

    Smart Ventilator PCB

    yesitha/Smart-Ventilator

    This project aims to develop a low cost smart ventilator system that requires minimum professional interaction to operate using Atmega32 Microcontroller

    69 parts
  • 2 layersLabnodeCAN, the printed circuit board in 3D

    LabnodeCAN

    das-labor/automatization4.0

    Automatization of our Hackerspace

    57 parts1
  • 2 layers27.9 × 16.5 mmPowerSSO-24 breakout, the printed circuit board in 3D

    PowerSSO-24 breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    18 parts1.2k

Questions

What parts does the LCD Project use?

18 parts, built around the ATMEGA32-16AU. 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 LCD Project KiCad files?

From the belishaza-jordan/Atmega32 repository on GitHub, at the commit this page was made from: the board is kicad/LCD_Project/_restore_backup_2026-06-28T22-56-39-879/LCD_Project.kicad_pcb and its schematic kicad/LCD_Project/LCD_Project.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LCD Project design in my own project?

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