Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.11 KB

File metadata and controls

29 lines (20 loc) · 1.11 KB

Logic-Circuit-C — ATmega32 Learning Code & Projects

ATmega32 firmware exercises and mini-projects in C — written while learning embedded C, with Proteus simulations alongside the code.

Projects

Folder What
Learning/ Basics: 7-seg display, 7-seg with button & interrupts, keypad, LCD — each with .pdsprj Proteus simulation + C source
PasswordChecker/ Keypad password checker on ATmega32 (passwordchecker.c)
fourLEDP/ Parallel-port 4-LED patterns (parallel.c) + simulation

Toolchain

  • MCU: ATmega32 (AVR)
  • Language: C (Atmel Studio project files included)
  • Simulation: Proteus (.pdsprj per exercise)

How to use

  1. Open the .pdsprj in Proteus to see the circuit.
  2. Load the matching .hex from the Debug/Exe folder — or rebuild the .c source in Atmel Studio.
  3. Run the simulation: buttons/keypad drive the firmware exactly like real hardware.

Author

Mahbod BemaniCham — B.Sc. Electrical Engineering (Control), Amirkabir University of Technology (Tehran Polytechnic). — github.com/Mahbodbe