Skip to content

ahmedSherif-eng/Real-Time-Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time Clock AVR Project

This project is an AVR-based real-time clock that uses an Atmega 32 microcontroller uses internal 8 Mhz clock, an LCD, a keypad, and a 7-segment display to display time and allow users to set the clock.

Hardware Requirements

  • Atmega 32 microcontroller
  • LCD Display
  • Keypad
  • 7-segment display
  • Capacitors and resistors
  • Breadboard or PCB
  • Jumper wires

Software Requirements

  • AVR Studio 6
  • WinAVR
  • Proteus Design Suite (for simulation)

Features

  • Real-time clock with hour, minute, and second display
  • User can set the time using the keypad
  • 7-segment display for clock display
  • LCD display for setting display

image

image

Setup

  • Connect the Atmega 32 microcontroller to the breadboard or PCB.
  • Connect the capacitors and resistors as required by the crystal oscillator.
  • Connect the LCD display to the microcontroller's PORTC and POTRB pins.
  • Connect the keypad to the microcontroller's PORTD pins.
  • Connect the 7-segment display to the microcontroller's PORTA pins.
  • Connect power and ground to the appropriate pins.

Usage

  • Compile the code using AVR Studio 6 and WinAVR.
  • Upload the hex file to the Atmega 32 microcontroller.
  • Power on the circuit.
  • The clock will start running automatically.
  • To set the clock, press the '1' button on the keypad.
  • Use the keypad to set the hour, minute, and second values.
  • The clock will now display the updated time.

Credits

This project was developed by Ahmed Sherif as a part of Microcontroller Course at Helwan University.

About

Real time clock embedded system project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published