You are on page 1of 5

# JUBAIL INDUSTRIAL COLLEGE DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING TECHNOLOGY SEMESTER: 281

## SUBJECT: DESIGN OF 24 HOURS DIGITAL CLOCK

STUDENT NAME I.D. NO. SECTION INSTRUCTOR : : : :

## LAB ASSIGNMENT (IV)

Objective
To construct a 24-hours Digital Clock using components like 7490, 7447 and some other simple gates. The circuit will include some functionality like setting the clock to desired time.

Required Parts
Serial No. 1 2 3 4 5 6 7 8 Description 7490 7447 Resistor PACK of 8, 220 Ohm SWITCH / Push Button 7-segment LED Display Function generator at 1Hz Power Supply AND gate (7408) Quantity 6 each 6 each 6 each 2 each 6 each 1 each 1 each 1 each

## Pins Identification and Layout

Pin Layout numbering and labeling for 7490 counter and 7447 decoder.

Theory
2

The 7490 is used to count from 0 to 9. It can also count from 0 to 6. It will count from 0-9 and 0-6 for minutes and seconds. For the hours the counters should be reset when it reaches 24. The 7447 is used to decode the BCD output from 7490 to be displayed on 7-segment LED. The 7490 counters will be chained to gather and every one act in this sense as clock input to the next one. Notes: To create a divide-by-10 counter, pin 12 was connected to pin 1 and pins 2, 3, 6, and 7 are grounded. The output on pin 11 to will be connected to the next stage. To create a divide-by-6 counter pin 12 was connected to pin 1 and pins 6 and 7 were connected to ground. Pin 2 connected to pin 9 and pin 3 connected to pin 8. The output on pin 8 will be connected to the next stage.

Procedure
1. FGN (Function Generator) was connected to 7490 to produce CLK input. 2. The 7490 for seconds 1st digit counter is configured to count from 0-9 only. 3. The output from second's first digit is used as clock input to the seconds 2nd digit and set to count from 0-6 only. 4. The Steps above were used to make the counting for minutes 1st and 2nd digits. 5. Output from minutes was passed as clock input for the hours 1st digit. 6. The hour's first digit is set to count from 0-9, and the 2nd digit is set to count from 0-6. Then using AND gate to reset the hours 1st and 2nd digit when they reach 24. 7. Two push buttons were used to set the minutes and hours to desired time. The button is used to pass a higher clocking to the counter instead of the output from the previous counter.

## Circuit Diagram (Designed by MultiSim)

3

VCC
5V

SECONDS MINUTES
CA CA CA CA CA

HOURS
CA

XFG1 U1
14 INA 1 INB 2 R01 3 R02 QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U5
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

R1

AB CDEFG

AB CDEFG

AB CDEFG

AB CDEFG

AB CDEFG

AB CDEFG

GND VCC
5V

6 R91 7 R92

## 3 ~LT 5 ~RBI 4 ~BI/RBO

220

7490N

7447N

RPACK 8

J3 U2
14 INA 1 INB 2 R01 3 R02 6 R91 7 R92 QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U6
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

R2
Key = H
RPACK 8 14 INA 1 INB 2 R01 3 R02 6 R91 7 R92

U13
QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U14
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

R5

GND

220

## 3 ~LT 5 ~RBI 4 ~BI/RBO

7490N

7447N

220

7490N

7447N

J1 GND
Key = M

U19A
7408N

U3
14 INA 1 INB 2 R01 3 R02 6 R91 7 R92 QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U4
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

R3 U16
RPACK 8 14 INA 1 INB 2 R01 3 R02 6 R91 7 R92 QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U17
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

220

GND

7490N

7447N

## 3 ~LT 5 ~RBI 4 ~BI/RBO

220

7490N

7447N

GND

U10
14 INA 1 INB 2 R01 3 R02 6 R91 7 R92 QA QB QC QD 12 9 8 11 7 1 2 6 A B C D

U11
OA OB OC OD OE OF OG 13 12 11 10 9 15 14

R4

220

GND

7490N

7447N

Summary
4

RPACK 8

RPACK 8

## 3 ~LT 5 ~RBI 4 ~BI/RBO

RPACK 8

R6

7490 Decade Counter showed excellent performance in making the 24 hour digital clock. In most modern clocks and watches, all of the functions of the clock (including the alarm and any other features) are all integrated into one low-power chip (in a watch, the chip and display together consume only about a millionth of a watt). That chip is probably embedded directly into the circuit board. You might be able to see a blob of black plastic protecting this chip. That one tiny chip contains all of the components we have discussed here.