30
8-BIT CODE LOCK FOR ELECTRICAL APPLIANCES

Presentation 1

Embed Size (px)

Citation preview

Page 1: Presentation 1

8-BIT CODE LOCK FOR

ELECTRICAL APPLIANCES

Page 2: Presentation 1
Page 3: Presentation 1
Page 4: Presentation 1

FUNCTION:

•This code lock is useful for appliancesrequiring exclusive or authorised useby those who know the preset code.

Page 5: Presentation 1

PRESET 8-BIT CODE

8-BIT COMPARATOR USED TO COMPARE PRESET CODE AND INPUT CODE

INPUT CODE GIVEN BY USER

RELAY CONTROL

ELECTRICALAPPLIANCE

BLOCK DIAGRAM

Page 6: Presentation 1

CIRCUIT DIAGRAM FOR 8-BIT LOCK CODE

Page 7: Presentation 1
Page 8: Presentation 1

1)What is relay switch?

For understanding 8-bit code lock we need to answer following questions?

2) What is comparator?

3) Generally how we give input to IC?

Page 9: Presentation 1
Page 10: Presentation 1
Page 11: Presentation 1

What is relay switch or relay control?

Page 12: Presentation 1

NORMAL OPEN SWITCH

Page 13: Presentation 1

NORMAL CLOSED SWITCH

Page 14: Presentation 1

NC Contact or NO Contact

Page 15: Presentation 1

Spring used to upheld the arm so that it can be in NORMAL CONTACT position

Page 16: Presentation 1
Page 17: Presentation 1

How to change the position of contactfrom NC contact to NO contact??

Page 18: Presentation 1
Page 19: Presentation 1

Controlling 230 AC Volts supply with 5volts DC supply

Page 20: Presentation 1

•What is comparator?

•Digital or Binary Comparators are made up from standard AND, NOR and NOT gates that compare the digital signals present at their input terminals and produce an output depending upon the condition of those inputs.Determines whether the value of input A is greater than, smaller than or equal to the value at input B etc. The digital comparator accomplishes this using several logic gates that operate on the principles of Boolean algebra.

Page 21: Presentation 1

1-bit binary comparator

Inputs Outputs

B A A > B A = B A < B

0 0 0 1 0

0 1 1 0 0

1 0 0 0 1

1 1 0 1 0

TRUTH TABLE:

Page 22: Presentation 1

1-bit binary comparator

Page 23: Presentation 1

Consider two 4-bit binary numbers A and B such that

Here each subscript represents one of the digits in the numbers. For i=1,2,3,4(A=B)

4-bit binary comparator

Page 24: Presentation 1

4-bit binary comparator

Page 25: Presentation 1

4-bit magnitude comparator pin diagram

Page 26: Presentation 1

8-bit magnitude comparator

Page 27: Presentation 1

Generally how we give input to an IC using switch?

Pull-up resistor

 The basic function of a pull-up resistor is to ensure that given no other input, a circuit assumes a default value.

Page 28: Presentation 1
Page 29: Presentation 1

Solution-1 Solution-2

Two-way switch Using pull-up resistors

Page 30: Presentation 1

CIRCUIT DIAGRAM FOR 4-BIT LOCK CODE

4-BIT LOCK CODE FOR ELECTRICAL APPLIANCES