17
INTRUDER ALARM SYSTEM EC-316 Microprocessor Lab Project Under the Supervision of Prof. Dhananjay V.Gadre NETAJI SUBHAS INSTITUTE OF TECHNOLOGY Prepared by: POOJA KUMARI MEENA( 118/EC/13 )

8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

INTRUDER ALARM SYSTEM

EC-316 Microprocessor Lab Project

Under the Supervision of

Prof. Dhananjay V.Gadre

NETAJI SUBHAS INSTITUTE OF TECHNOLOGY

Prepared by:

POOJA KUMARI MEENA( 118/EC/13 )

PRIYANKA PRASAD ( 127/EC/13 )

Page 2: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

ACKNOWLEDGEMENT

We are thankful to Prof. Dhananjay V. Gadre for providing us with the opportunity to make a project using microprocessor 8085 under subject code EC-316. The project helped us move over the theoretical content in the subject EC-311, and have a hands upon experience of understanding and implementing a microprocessor to use for a real life problem.

We are also thankful to all the supporting staff for providing us the facility of using the lab for fabrication of our project board.

POOJA KUMARI MEENAPRIYANKA PRASAD

Page 3: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

CONTENTS

Introduction

Objective

About 8085

Block diagram

Project description

Tools and softwares used

Schematic

Board file

Components used

Testing and Debugging

Gantt chart

Bibliography

conclusion

Page 4: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

INTRODUCTION

Objective:

Two circuit for project:

1. One that has an laser transmitter and LDR receiver. This circuit triggers an alarm if the laser light beam is intercepted.

2. A second one that turns off the alarm once a result of mathematical operation which will be shown on LCD is entered correctly.

ABOUT 80858085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number of PCB tracks to memory segments.

It has 3 maskable vectored interrupts (RST 7.5, 6.5, 5.5), a nonmaskable vectored interrupt (TRAP) and a maskable non-vectored interrupt (INTR).All the interrupts are enabled using the instruction EI and disabled using DI.

It can accommodate slower peripherals using the READY pin through externally generated wait states.

CLKOUT can be used to drive external device with the same clock as that of 8085.

HOLD and HLDA are used for DMA transfer between input/output devices and memory, while 8085 relinquishes all its control over the address and data bus.

The processor has seven 8 bit registers A,B,C,D,E,H,L and 2 internally registers(W and Z) used by 8085 itself. A is accumulator, while the others can be used as pairs (16-bit register).HL pair. A flag register which contains Sign, Zero, Carry, Aux-Carry and parity bits telling the status. It also has two 16 bit registers: Program Counter (PC), Stack Pointer (SP)

Page 5: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

This amazing microprocessor supports upto 256 input/output port.

PROJECT DESCRIPTION

HARDWARE IMPLEMENATION

1) The project consists of twelve switches. Ten switches for enter 0-9 digit and remaining two switches for enter and clear.

2) The project consist LDR as receiver and laser as transmitter.

3) An LCD has been used for display random number and operation.

4) The project also includes alarm for ringing to indicating intruder enter at gate and turn off when he /she knows the answer.

Page 6: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

5) There is also a provision for SID/SOD and RESET using switches.

TOOLS AND SOFTWARES USED

Hardware tools:

Soldering wire

Solder

EEROM programmer

DC power supply

Software tools:

EAGLE CAD for schematic and board layout

Page 7: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

OSHON Soft assembler

SCHEMATIC

Page 8: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

BOARD FILE

Page 9: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

BEFORE SOLDERING

Page 10: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

AFTER SOLDERING

COMPONENTS USED

Page 11: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

NAME COMPONENTS QUANTITY

MICROPROCESSOR 8085 1

RAM 62256P 1

EPROM 27256 1

LATCH 74HCT573N 3

DECODER 74HCT138N 1

BUZZER 1

LCD 16*2

LED 5MM,3MM 2

NOT GATE 74HCT04N 1

SWITCH 10-XX 14

CRYSTAL 4 MHz 1

CONNECTORS

RESISTORS 10K,1K ,126 ohm

CAPACITORS 0.01uF, 10Uf

TESTING AND DEBUGGING

Page 12: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

This procedure mainly includes two processes:

1) Hardware testing/debugging

After soldering, the first test was SID-SOD test. Program was written on the ROM. Due to Wrong value of resistor, the SOD pin LED was not glowing. Through With the help of our classmate we soldered correct value of resistor. After that SOD pin led glow successfully.

Next hurdle, to find appropriate voltage across LDR to detect obstacle. The problem being due to wrong value of resistor and after correct choice of resistance then successful detect obstacle.

The display device that has been used is a 16x2 LCD. After successfully displaying a sample text on LCD, for testing first we wrote the code to display random number of one digit. This project has the backlight disabled mainly to conserve power. A resistive potentiometer has also been connected to the display to adjust contrast.

2) Software testing/debugging

Software debugging involves a thorough study of the written code. There is no predefined procedure and the code has been debugged using trial and error. The procedure becomes more difficult and complex in the cases where many subroutines are called, extensive jump statements are used to form loops and, contents of certain registers are stored in other registers temporarily. While working with loops, it should be made sure that the loop termination condition is not repeatedly reinitialized in the loop. Debugging should be done by checking fragments of code to track down the faulty part. Syntax errors are shown while assembling the code in a simulator to create .obj files. Logical errors are the most tedious and difficult, and it requires careful inspection of the entire code line by line.

GANTT CHART

PROPOSED ACTUAL

Page 13: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

CONCLUSION

A practical project such as this, makes the theoretical knowledge much more relevant. There is no better way to learn something, than to experience it. We have gone through various difficulties and overcome them either ourselves or with the help of our friends. Despite hurdles, we kept our self-motivated and discovered new innovative ways to overcome our problems. This 8085 project has made us to explore our boundaries, exploit our resources and think beyond. Besides clearing our concepts, it helped us to improve our time and resource management skills.

This project gave us an essence of being an engineer.

BIBLIOGRAPHY

1) Textbook

TASK NAME DURATION START FINISH

Project proposal 6d 01/15/16 01/20/16

Study on project 10d 01/21/16 01/30/16

Learning Eagle 5d 02/02/16 02/06/16

Learning assembly 6w 02/07/16 03/19/16

Schematic for project

10d 03/20/16 03/29/16

Board layout 3d 03/30/16 04/01/16

Fabrication 2w 04/02/16 04/16/16

Soldering 3d 04/20/16 04/22/16

Testing and debugging

4d 04/22/16 04/26/16

TASK NAME DURATION START FINISH

Project proposal 5d 01/15/16 01/19/16

Study for circuit designing

40d 01/20/16 02/28/16

Learning Eagle 3d 03/01/16 03/03/16

Schematic for project

15d 03/25/16 04/08/16

Board layout 6d 04/09/16 04/14/16

Fabrication 15d 04/15/16 04/29/16

Soldering 3d 05/01/16 05/03/16

Testing and debugging

17d 05/04/16 05/20/16

Page 14: 8085 Projects : The Compendium · Web view8085 is an 8 bit microprocessor introduced by Intel in 1976. This 40 pin IC. It uses a multiplexed address/data bus which reduced the number

Microprocessor, Architecture, Programming by Ramesh Gaonkar

2) DATASHEETS PROVIDED BY PROF. GADRE

https://drive.google.com/folderview?id=0ByFqcybodzN8LS1PRTliN1lSdUU&usp=sharing

3) INTERNET

4) For EEPROM Programmer: Quick Start Guide