Skip to content

This project features a custom ATmega328P microcontroller board programmed in C. It drives a 4-digit 7-segment display to implement a simple counter application.

Notifications You must be signed in to change notification settings

contispaulcristian/7_segment_display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4 Digit 7 Segment Display

This project features a custom ATmega328P microcontroller board programmed in C. It drives a 4-digit 7-segment display to implement a simple counter application.


Features:
  • Incremental Counter: Displays an incrementing value (0–9999) on the 4-digit 7-segment display.
  • Reset Control: Button resets the microcontroller and the counter to 0.

Hardware Design:
  • KiCad Schematic: Includes the schematic for easy replication.
  • Can be built on a breadboard, perfboard, or custom PCB.


  • Display pinout


Programming the Board:

  • For detailed instructions on how to program the ATmega328P microcontroller for this project (including fuse configuration and flashing the hex file), please refer to the programming guide in my other repository.

Software Details:
  • Multiplexing: The 4-digit 7-segment display is controlled using multiplexing for efficient pin usage.
  • Timer Interrupt: The counter increments every second using a timer interrupt.

This project demonstrates the use of multiplexed displays, timer interrupts, and basic button controls in embedded systems.

About

This project features a custom ATmega328P microcontroller board programmed in C. It drives a 4-digit 7-segment display to implement a simple counter application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published