Digital Clock

Published Jun 19, 2020
 3 hours to build
 Beginner

Simple working digital clock without timer IC

display image

Components Used

LCD16x2 Display
LCD16x2 Display
1
ATmega 16
ATmega 16
1
Description

A digital clock in current world hardly needs any introduction, this project is basically going to deal with making a simple digital clock using ATmega 16 and a 16*2 LCD.

schematic_diagram

The pin connection diagram goes something like the shown image

Timer 1 of ATmega 16 has been used to deal with the main processing part of the clock and timing

It is a 16 bit Timer

16*2 LCD has been used to display the time

TIMSK register is also used i.e. masked interrupts ar also used in the processing

The CPU clock of ATmega 16 is kept at 8 MHz

the clock can be set by changing the h,s and m variable in the source code

 

Codes

Downloads

digital_clock_schematic Download
Digital Clock Download

Institute / Organization

Kamla Nehru Institute of Technology
Comments
Ad