Sei sulla pagina 1di 9

AUTOMATIC ELECTRIC CUT OFF TIMER

1. Introduction

This project is given time count from 15 minutes and 59 seconds until 00 second.
When clock division give pulse ON (1Hz), it will start count, LED will blinking. Between 1
second, 1 minute, 15 minutes until 0 sec, LED will be blinking.
Once the countdown reached 0 minutes and 0 second respectively , LCD will be
triggered and shutdown phrase will be displayed on the screen.

Objective

To operate the AUTOMATIC ELECTRIC CUT OFF TIMER and display the output

through DE2 Altera Board and LCD display.

Idea of the project

Nowadays, the world using power to operates the daily activities, for example electrical
equipment such as television, bulb lamp, computer, power outlet and many more other
electric equipment. One of the problem is waste of electric energy, for example sometime
user forget to switch off the power of electric equipment. To solve this problem
Automatic Electric Cut Off Timer is created
This AUTOMATIC ELECTRIC CUT OFF TIMER can be use in house .It can use
to turn off the electrical equipment automatically after set up the timer.. For example
,user can set the timer for 16 minutes for turn off the television, then the timer will start
decrease count from set up time to zero then automatically its will turn off the television.

Benefit

- Save the electricity.


- Can increase the electrical equipment life time.
- Can use to all type of domestic and industrial appliance.
- Money for electrical bill can be reduce.

2. METHODOLOGY

1001 (9)

1000 (8)

0111 (7)

0110 (6)

0001 (1)

0101 (5)

0000 (0)
0100 (4)

0011 (3)

0010 (2)

0001 (1)

0000 (0)

COUNT MINITUES FROM 16m UNTIL 00m

1001 (9)

1000 (8)

101 (5)

100 (4)

011 (3)

010 (2)

001 (1)

0111 (7)

0110 (6)

0101 (5)

0100 (4)

0011 (3)

000 (0)
0010 (2)

0001 (1)

0000 (0)

COUNT SECOND FROM 59s UNTIL 01s

COUNTER

CLOCK
DIVIDER

BCD 7447

BCD 7447

BCD 7447

BCD 7447

LED
LCD
BLOCK DIAGRAM OF COUNTER

MOORE MODEL
1
0

A/0

B/0

C/1
0,1

State Diagram
PRESENT STATE
A
(00)
B
(01)
C
(10)

INPUT X
0
1
0
1
0
1

NEXT STATE
A (00)
B (01)
A (00)
C (10)
C (10)
C (10)

OUTPUT Z
0
0
0
0
1
1

K-MAP
OUTPUT Z
AB
X

00

01

11

0
1

10
1
1

_
Z = AB
NEXT STATE A
AB
X
0
1
_ _
A+ = AB + ABX
NEXT STATE B
AB
X
0
1
___
B+ = ABX

3 . RESULT

Countdown for HEX4

00

01

11

1
1

00
1

01

10

11

10

Countdown for HEX5

Countdown for HEX6

Countdown for HEX7

ins t171
NOT

circuit of LCD (cut of power)

in0
in1
OUTPU T

LEDR 1

in2
in3
in4
in5
in6
in7
rs1

OUTPUT

LC D 0

OUTPUT

LC D 1

OUTPUT

LC D 2

OUTPUT

LC D 3

OUTPUT

LC D 4

OUTPUT

LC D 5

OUTPUT

LC D 6

OUTPUT

LC D 7

OUTPUT

RS

VC C

GN D

OUTPUT

LCD
shutdown

OUTPUT

RW

OUTPUT

LC D ON

OUTPUT

GND

LC D BL

VCC
GND

GND
VCC

4count

GND

OR2

inst157

LDN
A
B
C
D
CIN
DNUP
SETN
CLRN
CLK

QA
QB
QC
QD
COUT

74137
GLN
G1
G2N
A
B
C

GND

VCC

VCC

NOT

Y0
Y1

4c ount

inst 78
NOT

Y2
Y3
Y4
Y5
Y6

inst 79
NOT

inst 80

GND

NOT

inst 81

Y7

NOT

inst 165DECODER

AND2

in st162

inst 84
NOT

in st156 COUNTER

NOT

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

inst 86

TP0

OUTPUT

TP1
TP2

OR2

inst 160

74137
GLN
G1
G2N
A
B
C

NOT

Y0
Y1

inst 103
NOT

Y2
Y3
Y4
Y5
Y6

inst 104
NOT

inst 105
NOT

inst 106

Y7

NOT

ins t96 DECODER

inst 107
NOT

inst 108
NOT

inst159 COUNTER

inst 109
NOT

inst 110

in 0

inst75

OUTPUT

inst 164

QA
QB
QC
QD
COUT

AND3

TRI_8bit

inst 85
AND3

OUTPUT

XOR

inst 83
NOT

LDN
A
B
C
D
CIN
DNUP
SETN
CLRN
CLK

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in 3
in 4
in 5
in 6

38H

in 7
rs 1

inst89

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

OUTPUT

TP6

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6

in7
rs 1

in0

in 1
in 2
in 3
in 4
in 5
in 6

38H

in 7
rs 1

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

inst90

Q0
Q1
Q2
Q3
Q4
Q5
Q6

in1
in2
in3
in4
in5
in6

in7

Q7
RSoutput

rs 1

inst 114

TRI_8bit

TRI_8bit

in 0

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in0

in 1
in 2
in 3
in 4
in 5
in 6
in 7

38H

rs 1

inst91

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6
in7

rs 1

inst 115

TRI_8bit

TRI_8bit

in 0

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

TP4
TP5

TRI_8bit

in 0

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

OUTPUT
OUTPUT

inst 113

TRI_8bit
LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

TRI_8bit
in0

ins t93

in 1
in 2

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in0

in 1
in 2
in 3
in 4
in 5
in 6

01H

in 7
rs 1

inst92

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6

in7
rs 1

inst 116

TRI_8bit
in0

TRI_8bit
in0

LOA D
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4

06H

in5
in6
in7
rs 1

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6

in7
rs 1

inst 117
inst 94

TRI_8bit
in0

TRI_8bit
in 0

LED R 0

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in 1
in 2
in 3
in 4
in 5
in 6
in 7
rs 1

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6

in7
rs 1

inst 122

inst124

TRI_8bit
in0

OR 2

inst 168

OUTPUT

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

DFF

PRN

CLRN
inst166

LOAD
D0
D1
D2
D3
D4
D5
D6
D7
RSinput

Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
RSoutput

in1
in2
in3
in4
in5
in6

in7
rs 1

inst 123

DFF

PRN

CLRN
inst175

Figure3.1: figure show the part of seven segment circuit from full circuit.

Figure3.2: figure show the part of LCD display from full circuit

Potrebbero piacerti anche