Design and Simulation of a 12-Hour Digital Clock

Demo of Circuit

Description of Lab

The goal of this project is to design a digital clock with additional functionalities. As a result, a 12-hour clock was designed to operate from mains, tick accurately every second, beep every 15 minutes, and have a means to set time. The designed clock was first simulated in Logisim. Then, a schematic was designed in EasyEDA and the PCB was generated. The components used were:

The designed digital clock receives its clock input from the NE555 timer circuit designed with a 20k and a 50k resistor, and a 10uF capacitor to produce a frequency of 2Hz to tick every second. The clock of the circuit sends its signal through the modulo 15 counters, through the BCD to 7-segment display decoders to the 7-segment displays, through several combinations of AND, OR, and NOT logic gates. Additionally, a 15-minute buzzer circuit was designed specifically with a combination of AND, OR, and NOT gates for the accurate buzzing of the clock at 15-minute intervals. An LED was connected with the buzzer for a visual representation of the 15-minute indicated intervals. Finally, the clock was designed as a 12-hour clock using a D flip-flop with switches to enable the setting of time. Below are variation of images of the designed digital clock.

Logisim Design

Figure 1: Logisim Design of Circuit.

EasyEDA Schematic Design

Figure 2: EasyEDA Schematic of Circuit.

PCB Design

Figure 3: Designed PCB of Circuit.
Figure 4: Generated PCB of Circuit.
Figure 5: 3D Model of PCB Circuit.

3D Model of PCB

Figure 6: Final Representation of PCB.

The various images show the various steps that were taken to design the PCB of the clock, as well as their different representations.