

LCD Project
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
1README
README.mdATmega32 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
- Features
- Hardware Components
- Pin Mapping
- System Operation
- Repository Structure
- Tools Used
- Build & Simulate
- Documentation
- Extension Task
- Author
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 SAVEDmessage - 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
| Component | Qty | Purpose |
|---|---|---|
| ATmega32 microcontroller | 1 | Main controller |
| 16×2 LCD module | 1 | Displays menu and parameter values |
| Push buttons | 5 | Menu, up, down, select, save/increase |
| LEDs | 2 | Status and mode indication |
| Current-limiting resistors | 2 | LED protection |
| Buzzer | 1 | Audio feedback |
| Potentiometer | 1 | LCD contrast adjustment |
| Reset push button | 1 | Manual MCU reset |
| Crystal oscillator | 1 | Clock source (if external clock used) |
| Capacitors | As req. | Clock and power filtering |
| Power supply | 1 | 5 V supply |
Pin Mapping
| ATmega32 Pin | Direction | Net Label | Connected Device |
|---|---|---|---|
| PC0 | Output | LCD_RS | LCD Register Select |
| PC1 | Output | LCD_EN | LCD Enable |
| PC2–PC5 | Output | LCD_D4–LCD_D7 | LCD Data lines (4-bit) |
| PA0 | Input | BTN_MENU | Menu button |
| PA1 | Input | BTN_UP | Up button |
| PA2 | Input | BTN_DOWN | Down button |
| PA3 | Input | BTN_SELECT | Select button |
| PA4 | Input | BTN_SAVE | Save / increase button |
| PB0 | Output | STATUS_LED | Status LED |
| PB1 | Output | MODE_LED | Mode LED |
| PB2 | Output | BUZZER | Buzzer |
DDR configuration:
DDRC = 0x3F; // PC0-PC5 -> LCD output
DDRA = 0x00; // PORTA -> button input
DDRB = 0x07; // PB0-PB2 -> LED / buzzer outputSee documentation/pin_mapping_table.md for the full table.
System Operation
| Input / User Action | Expected Output |
|---|---|
| System powered ON | LCD displays welcome message |
| Menu button pressed | Main menu is displayed |
| Up button pressed | Menu cursor moves upward |
| Down button pressed | Menu cursor moves downward |
| Select button pressed | Selected menu item opens |
| Increase button pressed | Parameter value increases |
| Save button pressed | LCD displays VALUE SAVED |
| Invalid operation | Buzzer gives short error beep |
| Reset button pressed | System returns to welcome screen |
Example displays:
MENU: TEMP LIMIT:
1.SET LIMIT 35 CRepository Structure
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.mdTools Used
| Tool | Purpose |
|---|---|
| MPLAB for VS Code | Firmware development (C) |
| KiCad | Schematic + PCB design, Gerber generation |
| SimulIDE | Circuit simulation and testing |
| GitHub | Version control and submission |
Build & Simulate
- Firmware — Open the project in MPLAB for VS Code, build, and generate the HEX file into
firmware/hex/. - Simulation — Open the circuit in SimulIDE, load the HEX file into the ATmega32, and run.
- Testing — Run each case from the operation table above and capture screenshots into
simulide/screenshots/. - PCB — Open the KiCad project, run ERC and DRC, then generate Gerbers into
kicad/gerber/.
Documentation
| File | Description |
|---|---|
block_diagram.png | System block diagram |
flowchart.png | Firmware flowchart |
menu_structure.png | LCD menu state diagram |
pin_mapping_table.md | Full ATmega32 pin mapping |
test_results.md | Test 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2, R3 |
| 3 | ~ | Button_Switch_THT:SW_PUSH_6mm_H5mm | MENU1, SAVE/INCREASE1, UP1 |
| 2 | LED | LED_THT:LED_D8.0mm | D1, D2 |
| 2 | ~ | Button_Switch_THT:SW_PUSH-12mm_Wuerth-430476085716 | DOWN1, SELECT1 |
| 1 | ATmega32-16A | Package_QFP:TQFP-44_10x10mm_P0.8mm | U2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | C | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 1 | C | Capacitor_THT:C_Rect_L7.0mm_W2.5mm_P5.00mm | C1 |
| 1 | Crystal | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | HY1602E | Display:HY1602E | DS1 |
| 1 | LM809 | Package_TO_SOT_SMD:SOT-23 | U1 |
| 1 | Potentiometer | Potentiometer_THT:Potentiometer_Bourns_3296W_Vertical | R4 |
Similar boards
- 2 layers176.4 × 21.4 mm

- 2 layers100 × 100 mm

- 2 layers95 × 70 mm

- 2 layers209.5 × 134.5 mm

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 layers

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 mm

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 layers

- 2 layers27.9 × 16.5 mm

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.