ADVANCE ELEVATOR – a project report

ABSTRACT

The utility model discloses to the field of elevator technology, more particularly to security, fire safety, water level detection and prevention of overload situation in an elevator. A confidential government institute carrying secret operations requires high tech security so that the details of the operations do not get leaked. In such cases security is of prime importance. Also hospitals, malls, residential and commercial buildings frequently suffer from massive fire broke situations in which many people dies. Many a times during monsoon season some amount of water gets accumulated at the ground floor which restricts the normal operation of elevator also during this situation the elevator suffers from corrosion, non-operating condition. Overload is another major problem related to elevators. Thus there is a need to add some useful features to the current system of elevators. We therefore intend to aid in security, fire safety with some useful features for elevators. Security will be provided by bringing in Finger print identification module that will only allow the authorized users to access the elevator, to access the elevator the user first has to enrol his fingers that will be stored in the memory if fingerprint identification module and then at the time of usage there is only a need to provide the finger once. To have fire safety photodiode will be used that will detect the fire in the range of 10cm, an assembly of wires connected to controller through invertor IC will be used that provides the knowledge of water accumulation at ground floor. IR sensor will be used as entry-exit sensors as a person counter. The project involves the use of pic-controller, dc motor, gsm, sensor and c-programming language. From this project we hope to provide features such as safety and security to the users.

UCET Page II

ADVANCE ELEVATOR GROUP 1

LIST OF TABLES

Table No. Table Description Page No.
Table 1.1 Specifications of Fingerprint 7
identification module
Table 1.2 Pin description of 16*2 LCD 9

UCET Page III

ADVANCE ELEVATOR GROUP 1

List of Figures

Figure No. Figure Description Page No.
Figure 1 Block Diagram 2
Figure 2 Flow of Processes 3
Figure 3 Peripheral Interface Controller 4
Figure 4 PIC 16F877A Pin diagram 5
Figure 5 Fingerprint Identification Module 6
Figure 6 16*2 Alphanumeric LCD 9
Figure 7 IR Sensor 10
Figure 8 Internal Circuit Diagram 11
Figure 9 Working of IR Sensor 12
Figure 10 Water Indication 12
Figure 11 DC Motor 13
Figure 12 Working of DC Motor 14
Figure 13 Working of Entry-Exit sensors 15
Figure 14 Business Model canvas 16
Figure 15 Proteus 20
Figure 16 Shows 5V power supply in Proteus 21
Figure 17 Interfacing of 16*2 LCD with PIC in Proteus 21
Figure 18 Keil Compiler 22
Figure 19 MPLAB IDE 23

UCET Page IV

ADVANCE ELEVATOR GROUP 1

Figure 20 Start MPLAB 23
Figure 21 Creating Project File 24
Figure 22 Select Tool Suite 25
Figure 23 Naming Project 26
Figure 24 Adding Files to Project 27
Figure 25 Summary 28
Figure 26 Project Window 28
Figure 27 Project Build 29
Figure 28 Output 30
Figure 29 Basic LED interfacing with PIC in Proteus 30
Figure 30 LCD interfacing with PIC in Proteus 31
Figure 31 Working of Model 31
Figure 32 Interfacing of Components 32

UCET Page V

ADVANCE ELEVATOR
GROUP 1

LIST OF CONTENTS
ACKNOWLEGMENTS I
ABSTRACT II
LIST OF TABLES III
LIST OF FIGURES IV
LIST OF CONTENTS VI
CHAPTER 1 INTRODUCTION 1
1.1 PROJECT SUMMARY 1
1.2 MOTIVATION AND INSPIRATION 1
1.3 PROJECT PURPOSE 2
1.4 BLOCK DIAGRAM 2
1.5 FLOW OF PROCESSES 3
1.6 OVERVIEW OF PIC 16F877A AND FEATURES 3
1.7 PIN DIAGRAM 4
1.8 LIST OF COMPONENTS 6
1.9 FINGERPRINT IDENTIFICATION MODULE 6
1.9.1 OPERATING PRINCIPLE 7
1.9.2 SPECIFICATIONS 7
1.9.3 WORKING 7
1.10 LCD 8
1.10.1 INTRODUCTION 9
1.10.2 SPECIFICATIONS 9
1.11 IR SENSOR 10
1.11.1 INTRODUCTION 11
1.11.2 INTERNAL CIRCUIT DIAGRAM 11
1.11.3 WORKING 11
1.12 WATER LEVEL DETECTION 12

UCET Page VI

ADVANCE ELEVATOR GROUP 1

1.12.1 WORKING 13
1.13 DC MOTOR 13
1.13.1 INTRODUCTION AND WORKING 13
1.13.2 SPECIFICATIONS 14
1.14 ENTRY-EXIT SENSOR 15
1.14.1 WORKING 15
CHAPTER 2DESIGN, ANALYSIS & METHODOLOGY 16
2.1 INTRODUCTION TO BUSINESS MODEL CANVAS 16
2.2 BUSINESS MODEL CANVAS DESCRIPTION 17
CHAPTER 3IMPLEMENTATION OF PROJECT WORK 20
3.1 PROTEUS SOFTWARE 20
3.2 KEIL COMPILER 22
3.3 MPLAB IDE 22
3.3.1 Getting Started with MPLAB 23
3.3.2 Create a Project File 24
3.3.3 Select Language Tools Suite 25
3.3.4 Naming the Project 26
3.3.5 Adding files to Project 27
3.3.6 Building the Project 29
3.4 SOFTWARE AND HARDWARE WORK 31
CHAPTER 4 CONCLUSION, ADVANTAGES, FUTURE 34
SCOPE AND REFERENCES
4.1 CONCLUSION 34
4.2 ADVANTAGES 34
4.3 FUTURE EXPANSION 34
REFERENCES 35
APPENDICES 36
APPENDIX A BUSINESS MODEL CANVAS 36
APPENDIX B PERIODIC PROGRESS REPORT 37
APPENDIX C PATENT DREFTING EXERCISE FORM 38

UCET Page VII

ADVANCE ELEVATOR GROUP 1

APPENDIX D PLAGIARISM REPORT 39

UCET Page VIII

ADVANCE ELEVATOR GROUP 1

CHAPTER-1 INTRODUCTION

1.1 PROJECT SUMMARY

Advance Elevator is modification in the current system of elevators by the addition of features such as fingerprint scanning, fire safety, sensors for detecting overload condition, simple wire assembly for detecting water at ground floor, all these is for security and safety of users.

Very often we read in newspapers about the accidents related to elevators. Sometimes due to power cut-off people get stuck between two floors or sometimes they face problem during fire emergency. In rainy season, water at ground level causes damage to the elevator by causing corrosion or leading it to be in non-operating condition. In such situation, in multi-storeyed buildings users have to use stairs.

1.2 MOTIVATION AND INSPIRATION

MOTIVATION

Recently at least 7 people died and around 28 were injured in massive fire that broke out in 21 storeyed residential building in Mumbai. Now 5 out of 7 people who have died were on the 14th floor and the fire was on the 13th floor, so during fire they have decided to use elevator for escaping to the ground floor, but unfortunately they have died even before the fire brigade could reach the spot. The dead bodies were found inside the elevator. So this incident has motivated us to work on this project.

INSPIRATION

Most of us love to watch movies in free time. Now as a technical student we get easily inspired by the way technologies used in movies. So during watching an Hollywood movie named “CAPTAIN AMERICA”, we were highly impressed by idea of Artificial Intelligence based Elevator” for security purpose.

UCET Page 1

ADVANCE ELEVATOR GROUP 1

1.3 PROJECT PURPOSE

Our purpose is to improve the quality of basic elevators by providing it with improved security and safety features that are cost effective also. So that abnormal conditions/situations can be minimized.

As we know, 21st century is known as century of technology yet India is still a developing country because we are deprived of latest technologies used elsewhere in the world. This elevator will allow the users to make better and safe use of it.

1.4 BLOCK DIAGRAM

ENTRY-
CALL WATER EXIT
BUTTONS LEVEL SENSORS

FIRE RELAY DC
SENSOR
PIC MOTOR

CONTROLLER
16F877A
FINGER PRINT
16*2 LCD
IDENTIFICATION
MODULE

FLOOR

DETECTING

SENSORS

Fig. 1 Block Diagram

UCET Page 2

ADVANCE ELEVATOR GROUP 1

1.5 FLOW PROCESS

Finger 1st Exit sensor
scanning and will cut, 2nd
matching. Entry sensor.
Fingerprint Counter
Identification increment by 1
Module

3rd floor button is pressed, controller drives motor.

Elevator car moves upward

At 3rd floor IR
sensor will

operate.

Controller stops

the motor

Controller will drive Photodiode detects 1st Entry sensor
the motor to the 4th flame & will cut, 2nd Exit
floor. acknowledges sensor.
Elevator car will stop In case of fire at Counter
at 4th floor 3rd floor decrement by

Fig. 2 Flow of processes

1.6 OVERVIEW AND FEATURES OF PIC16F877A

The term PIC stands for Peripheral Interface Controller. PIC 16F877A is the most advanced microcontroller from Microchip. This controller is widely used for experimental and modern applications because of its low price, wide range of applications, high quality, and ease of availability. It is ideal for applications such as machine control, measurement devices, and study purpose. The PIC 16F877A features all the components which modern microcontroller normally have. The figure of a PIC 16F877A chip is shown below.

UCET Page 3

ADVANCE ELEVATOR GROUP 1

Fig. 3 Pic Controller

PIC16F877A salient features

 High-Performance RISC CPU.

 Only 35 single-word instructions to learn.

 All single-cycle instructions except for program branches, which are two-cycle.

 Operating speed: DC – 20 MHz clock input.

 DC – 200 ns instruction cycle.

 Up to 8K x 14 words of Flash Program Memory.

 Up to 368 x 8 bytes of Data Memory (RAM).

 Up to 256 x 8 bytes of EEPROM Data Memory.

 Power on Reset.

 Wide operating voltage range (2.0V to 5.5V).

 Commercial and Industrial temperature ranges.

 Low-power consumption.

1.7 PIN DIAGRAM

PIC16F877A device is available in 40-pin and 44-pin packages, and have 5 I/O

ports.

UCET Page 4

ADVANCE ELEVATOR GROUP 1

Fig. 4 PIC 16F877A Pin diagram

1. PORTA is a 6-bit wide, bidirectional port. The corresponding data direction register is TRISA. Setting a TRISA bit (=1) will make the corresponding PORTA pin an input. Clearing a TRISA bit (=0) will make the corresponding PORTA pin an output.

2. PORTB is an8-bit wide, bidirectional port. The corresponding data direction register is TRISB. Setting a TRISB bit (=1) will make the corresponding PORTB pin an input. Clearing a TRISB bit (=0) will make the corresponding PORTB pin an output.

3. PORTC is a 8-bit wide, bidirectional port. The corresponding data direction register is TRISC. Setting a TRISC bit (=1) will make the corresponding PORTC pin an input. Clearing a TRISA bit (=0) will make the corresponding PORTC pin an output.

4. PORTAD is a 8-bit wide, with Schmitt Trigger input buffers. Each pin is individually configurable as an input or output.

UCET Page 5

ADVANCE ELEVATOR GROUP 1

5. PORTE has three pins (RE0/RD/AN5,RE1/WR/AN6 and RE2/CS/AN7) which are individually configurable as input or outputs. These pins have Schmitt Trigger input buffers.

We can control each port by using an assigned address of specific port, but there is much easier way to control the port. We are allowed to use the names of the ports without considering their addresses.

1.8 LIST OF COMPONENTS

 Peripheral Interface Controller

 Fingerprint Identification Module

 16*2 Alphanumeric LCD

 IR Sensor

 Water-Level Indication

 DC Motor

 Entry-Exit Sensors

1.9 FINGERPRINT IDENTIFICATION MODULE

Fig. 5 Fingerprint identification module

UCET Page 6

ADVANCE ELEVATOR GROUP 1

1.9.1 Operation principle

Fingerprint processing includes two parts: fingerprint enrolment and fingerprint matching (the matching can be 1:1 or 1: N).When enrolling, user needs to enter the finger two times. The system will process the two time finger images, generate a template of the finger based on processing results and store the template. When matching, user enters the finger through optical sensor and system will generate a template of the finger and compare it with templates of the finger library. For 1:1 matching, system will compare the live finger with specific template designated in the Module; for 1:N matching, or searching, system will search the whole finger library for the matching finger. In both circumstances, system will return the matching result, success or failure.

1.9.2 Specifications

TABLE 1.1 Specifications of Fingerprint Identification Module

Power DC 3.6V-6.0V

Working current Typical: 100mA
Peak: 150mA

Baud rate (9600*N)bps,
N=1~12 (default N=6)

Image acquiring time <0.5s

Storage capacity 120/ 375/ 880

Interface UART(TTL logical
level)/ USB 1.1

Matching mode 1:1 and 1:N

Character file size 256 bytes

Template size 512 bytes

Security level 5 (1, 2, 3, 4, 5(highest))

1.9.3 Working

UCET Page 7

ADVANCE ELEVATOR GROUP 1

Inputs and Outputs of Sensor

Input: Two ways to trigger the function of fingerprint sensor

1. Onboard switch: Add, Empty or Search.

2. Make pin low from external microcontroller for 5ms as per function required to be executed.

Outputs (Response): Two ways to monitor output response after a function is

executed

1. Onboard LEDs: ERROR or OK

2. Read byte after executing function

Types of function

There are namely three functions you can call for the fingerprint sensor. We will see each in brief.

Add (Enroll) Function: Add’s a fingerprint to database and return a byte of newly added ID. Return values are from 0x00 to 0xFE. In case of error like no finger placed, return code is 0xFF. Here 0xFF means error executing function

Search Function: When a finger is put and search funtion is called, it returns a matching ID if found in its existing memory. Return values are from 0x00 to 0xFE. In case of error like no finger placed, return code is 0xFF. Here 0xFF means error executing function.

Empty Function: When you wish to empty all fingerprint data stored on sensor you can use this function. After executing this function, you will get 0xCC as OK or 0xFF in case of error.

1.10 16*2 ALPHANUMERIC LCD

UCET Page 8

ADVANCE ELEVATOR GROUP 1

Fig.6 16*2 Alphanumeric LCD

1.10.1 Introduction

 LCD (Liquid Crystal Display) Screen is electronic display module that is available in different sizes for wide range of applications.

 A 16*2 LCD is the most widely module among the users.

 It can display 16 characters per line and there are two such lines.

 Using LCD we can display special and even custom characters also, that we are unable to display in case of seven segments.

 It has 16 pins.

1.10.2 Specifications

TABLE 1.2 Pin Descriptions

Pin Function Name
No.

1 Ground(0V) Ground

2 Supply voltage: 5V VCC

UCET Page 9

ADVANCE ELEVATOR GROUP 1

3 Contrast adjustment using VEE
Potentiometer

4 Select command register Register
when low/data register when Select
high

5 Low to write to the R/W
LCD/High to read from LCD

6 Low to lock data/ high for Enable
sending new data

7 DB0

8 DB1

9 DB2
8-bit data pins
10 DB3

11 DB4

12 DB5

13 DB6

14 DB7

15 Supply voltage: 5V Vcc

16 Ground(0V) Ground

1.11 IR (INFRARED SENSOR)

Fig.7 IR Sensor

UCET Page 10

ADVANCE ELEVATOR GROUP 1

1.11.1 Introduction

 IR Sensor is an electronic device that detects IR radiation falling on it.

 Combination of LED (IR transmitter) and Photodiode (IR receiver).

Light emitting diode is used in IR transmitter that emits infrared radiations which is received by the IR receiver Photodiode. Atmosphere, vacuum, optical fibers can be used as infrared transmission mediums. Though IR LED look alike normal LED, radiations emitted by it is invisible to human eye.

1.11.2 Internal Circuit Diagram

+5V

Fig.8 Internal circuit diagram

 If the IR LED emissions become incident on the photodiode, the photodiode’s resistance comes down to a finite value.

 The drop across the 10k series resistor is what we use as the input, which is compared with the threshold.

1.11.3 Working

UCET Page 11

ADVANCE ELEVATOR GROUP 1

Fig.9 Working of IR sensor

Reflective Surface

 If the object is reflective(white or some other light color), then most of the radiation will get reflected by it, and will incident on photodiode

Non-Reflective Surface
 If the object is non-reflective(black or some other dark color), then most of the
radiation will get absorbed by it, and will become incident on the photodiode.
1.12 WATER LEVEL INDICATION +5V

R
P0.0
R
P0.1
R 3rd
P0.2
2nd
Controller Invertor IC 1st
Building Ground

Fig.10 Water level indication

UCET Page 12

ADVANCE ELEVATOR GROUP 1

 This assembly is used for detection water level at the ground floor.

 Logic 1 is initially given to the controller via the three wires at each floors.

 Ground floor wire will at logic zero.

1.12.1Working

In case of water at ground floor, ground floor wire in the water. The water level will rise slowly, as soon as water touches the wire with logic 1, logic 0 will be given to the controller via invertor IC. Once the acknowledgement is given to the controller about water detection it will not allow the elevator to go on that floor, elsewhere will be in operating condition.

1.13 DC MOTOR

Fig.11 DC motor

1.13.1Introduction

Fig 1 shows a small dc motor with its different parts. It is device that converts electrical energy into mechanical. The principle of working is that “whenever a current carrying conductor is placed in a magnetic field, it experiences a mechanical force”. The direction of this force is given by Flemings left hand rule.

UCET Page 13

ADVANCE ELEVATOR GROUP 1

Fig. 12 Working of DC motor

1.13.2 Working

 When the supply is provided through relay, a magnetic field is generated around the armature. The left side of the armature is pushed away from left magnet and

drawn towards right, causing rotation.

 When the coil turns through 90°, the brushes lose with the commutator and the current stops flowing through the coil. However coil keeps on rotating due

to its own momentum.

 Now when the coil turns through 180°, the sides get interchanged. As a result the commutator ring C1 is now in with brush B2 and commutator ring C2 is in

with brush B1. Therefore the current continuous to flow in same direction.

1.13.3 Specifications

 Operating voltage range = 4.5 – 6V

 Nominal operating voltage=5V

 No load characteristics

 No load speed = 13600 r/min

UCET Page 14

ADVANCE ELEVATOR GROUP 1

 No load current = 0.27A

 At maximum efficiency speed = 4360 r/min

1.14 ENTRY-EXIT SENSOR

Person leaving

Counter decremented

Outside room

RX TX

TX RX

Inside room
Person entering
Counter incremented Fig. 13 Working of Entry-Exit sensor

1.14.1 WORKING

 IR Transmitter consists of the LED that emits the IR radiation.

 These radiations are invisible to human eye, and are used in TV remote.

 This is received by the photo diode, which acts as IR receiver at the receiving end.

 This concept is use as object counter orto count persons entering/leaving the elevator.

UCET Page 15

ADVANCE ELEVATOR GROUP 1

CHAPTER -2

ANALYSIS, DESIGN & METHODOLY

2.1 INTRODUCTION TO BUSINESS MODEL CANVAS

Fig. 14 Business model canvas

The Business Model Canvas is a strategic management and lean start up template for developing new or documenting existing business models It is a visual chart with elements describing a firm\’s or product\’s value proposition, infrastructure, customers, and finances. It assists firms in aligning their activities by illustrating potential trade-offs.

The Business Model Canvas can be printed out on a large surface so groups of people can jointly start sketching and discussing business model elements with post-it note notes or board markers. It is a hands-on tool that fosters understanding, discussion, creativity, and analysis. The Business Model Canvas is also available in web-based software format

UCET Page 16

ADVANCE ELEVATOR GROUP 1

2.2 BUSINESS MODEL CANVAS DESCRIPTION

Formal descriptions of the business become the building blocks for its activities. With his business model design template, an enterprise can easily describe their business model.

• Infrastructure

• Key Activities: The most important activities in executing a company\’s value proposition

• Key Resources: The resources that are necessary to create value for the customer. They are considered an asset to a company, which are needed in order to sustain and support the business. These resources could be human, financial, physical and intellectual..

• Offering

• Value Propositions: The collection of products and services a business offers to meet the needs of its customers.

• The value propositions may be:

• Quantitative- price and efficiency

• Qualitative- overall customer experience and outcome

• Customers

• Customer Segments: To build an effective business model, a company must identify which customers it tries to serve. Various sets of customers can be segmented based on the different needs and attributes to ensure appropriate implementation of corporate strategy meets the characteristics of selected group of clients. The different types of customer segments include:

• Mass Market: There is no specific segmentation for a company that follows the Mass Market element as the organization displays a wide view of potential clients. e.g. Car

• Niche Market: Customer segmentation based on specialized needs and characteristics of its clients. e.g. Rolex

.

UCET Page 17

ADVANCE ELEVATOR GROUP 1

• Channels: A company can deliver its value proposition to its targeted customers through different channels. Effective channels will distribute a company’s value proposition in ways that are fast, efficient and cost effective. An organization can reach its clients either through its own channels (store front), partner channels (major distributors), or a combination of both.

• Customer Relationships: To ensure the survival and success of any businesses, companies must identify the type of relationship they want to create with their customer segments. Various forms of customer relationships include:

• Personal Assistance: Assistance in a form of employee-customer interaction. Such assistance is performed either during sales, after sales, and/or both.

• Dedicated Personal Assistance: The most intimate and hands on personal assistance where a sales representative is assigned to handle all the needs and questions of a special set of clients.

• Self Service: The type of relationship that translates from the indirect interaction between the company and the clients. Here, an organization provides the tools needed for the customers to serve themselves easily and effectively.

• Automated Services: A system similar to self-service but more personalized as it has the ability to identify individual customers and his/her preferences. An example of this would be Amazon.com making book suggestion based on the characteristics of the previous book purchased.

.

• Finances

• Cost Structure: This describes the most important monetary consequences while operating under different business models. A company\’s DOC.

• Classes of Business Structures:

• Cost-Driven – This business model focuses on minimizing all costs and having no frills. e.g. SouthWest

• Value-Driven – Less concerned with cost, this business model focuses on creating value for their products and services. e.g. Louis Vuitton, Rolex

• Characteristics of Cost Structures:

UCET Page 18

ADVANCE ELEVATOR GROUP 1

• Fixed Costs – Costs are unchanged across different applications. e.g. salary, rent

• Variable Costs – These costs vary depending on the amount of production of goods or services. e.g. music festivals

• Economies of Scale – Costs go down as the amount of good are ordered or produced.

• Economies of Scope – Costs go down due to incorporating other businesses which have a direct relation to the original product.

• Revenue Streams: The way a company makes income from each customer segment. Several ways to generate a revenue stream:

• Asset Sale – (the most common type) Selling ownership rights to a physical good. e.g. Wal-Mart

• Usage Fee – Money generated from the use of a particular service e.g. UPS

• Subscription Fees – Revenue generated by selling a continuous service. e.g. Netflix

• Lending/Leasing/Renting – Giving exclusive right to an asset for a particular period of time. e.g. Leasing a Car

• Licensing – Revenue generated from charging for the use of a protected intellectual property.

• Brokerage Fees – Revenue generated from an intermediate service between 2 parties. e.g. Broker selling a house for commission

• Advertising – Revenue generated from charging fees for product advertising.

UCET Page 19

ADVANCE ELEVATOR GROUP 1

CHAPTER-3 IMPLEMENTATION

3.1 PROTEUS SOFTWARE

Proteus is software for microprocessor simulation, schematic capture, and printed circuit board (PCB) design. It is developed by Lab center Electronics.

Fig. 15 Proteus Simulation Software

It is user friendly; one can easily add the various components to the design board and can make a complete design. By this, in the absence of hardware one can simulate the circuit virtually.

Displaying text on LCD by interfaced with PIC16F877a microcontroller in 8 bit mode using simulator we need to add some device in proteus. Those are

 1) Crystal
 2) Pic16f877a
 3) LM016L ( LCD display)

3.1.1 Proteus Simulation

UCET Page 20

ADVANCE ELEVATOR GROUP 1

Fig. 15 shows 5V power supply. Fig. 16 shows interfacing of LCD with PIC, we have written the program in MPLAB and the stimulation is done in proteus.

We have proteus simulation in which we are using graphical LCD 16*2 with PIC16F877. In the following figure 2. Port B is connected to DATA and ADDRESS bus of LCD.Whereas Port E higher bits are connected to LCD control signals. As you have seen the Reset (RST) pin is active low. A variable resister is for LCD contrast. MCLR pin is pulled high for micro-controller normal operation.

Fig. 16 Shows 5V power supply in Proteus

Fig 17 LCD interfacing with PIC controller in Proteus

UCET Page 21

ADVANCE ELEVATOR GROUP 1

3.2 KEIL COMPILER

It is the most popular 8051 C compiler in the world. It provides more features than any other 8051 C compiler available today.

Fig. 18 Keil Compiler

The C51 compiler allows you to write microcontroller applications in C that, once compiled, have the efficiency and speed of assembly language.

3.3 MPLAB IDE

MPLAB IDE is a software program that runs on a PC to develop applications for Microchip microcontrollers. It is called an Integrated Development Environment, or IDE, because it provides a single integrated environment to develop code for embedded microcontrollers. The MPLAB IDE and Debugger is the central part of the Microchip PIC development tools. MPLAB offers a Build Mode and a Debug Mode. In the MPLAB Build Mode you maintain the project files and generate the application. MPLAB uses either the Hi-Tech or PIC ASM development tools. It provides assembler, but compiler has to be downloaded separately. Also loader has to downloaded, where pic-kit2 is the most widely used.

UCET Page 22

ADVANCE ELEVATOR GROUP 1

Fig. 19 MPLAB IDE

In Mplab we have made a program that can represent our project worth fully. And with the help of inbuilt option of Mplab we have made .hex File of that program.

3.3.1 Getting Started with MPLAB

MPLAB is a standard Windows application and started by clicking on the program icon.

Fig. 20 Start MPLAB

UCET Page 23

ADVANCE ELEVATOR GROUP 1

3.3.2 Create a Project File

To create a new project file select from the MPLAB menu Project – Project Wizard. This opens a standard Windows dialog that asks you for the new project file name.

Now we can select Next button then the window shows as shown in below. Then we can select the device. Devices are selected by using the drop-down button in the device option.

Fig. 21 Creating Project File

UCET Page 24

ADVANCE ELEVATOR GROUP 1

3.3.3 Select Language Tools Suite

Step two of the Project Wizard sets up the language tools that are used with this project. Select Hi-Tech Universal Tool suite in the top pull down. Then you should see PICC, HLINK and LIBR show up in the Tool suite Contents box. You can click on each one to see its location. If you installed MPLAB IDE into the default directory, the Hi-Tech compiler executable will be:

C:\\Program Files\\HI-TECH Software\\PICC\\9.83\\bin\\picc.exe The MPLINK linker executable will be:

C:\\Program Files\\HI-TECH Software\\PICC\\9.83\\bin\\hlink.exe And the MPLIB librarian executable will be:

C:\\Program Files\\HI-TECH Software\\PICC\\9.83\\bin\\libr.exe

If these do not show up correctly, use the browse button to set them to the proper files in the MPLAB IDE subfolders.

Fig. 22 Select Tool suit

UCET Page 25

ADVANCE ELEVATOR GROUP 1

When you are finished, click next >.

3.3.4 Naming the Project

Step Three of the wizard allows you to name the project and put it into a folder. This sample project will be called Mplab. Using the Browse button, place the project in a folder named Mplab. Click Next>.

Fig. 23 Naming Project

3.3.5 Adding files to Project

Step Four of the Project Wizard allows file selection for the project. A source file has not yet been selected, so we will use an MPLAB IDE template file. The template files are simple files that can be used to start a project. They have the essential sections for any source file, and contain information that will help you write and organize your code.

UCET Page 26

ADVANCE ELEVATOR GROUP 1

These files are in the MPLAB IDE folder, which by default is in the Program Files folder on the PC. There is one template file for each Microchip PIC micro and dsPIC device. Choose the file named led_delay.c. If MPLAB IDE is installed in the default location, the full path to the file will be: C:\\Documents and Settings\\Administrator\\Desktop\\Mplab\\led_delay.c

Fig. 24 Adding Files to Project

Press Add>> to move the file name to the right panel, and the file name to enable this file to be copied to our project directory. Make sure that your dialog looks like the picture above, with both check boxes checked, then press Next> to finish the Project Wizard.

UCET Page 27

ADVANCE ELEVATOR GROUP 1

Fig. 25 Summary

The final screen of the Project Wizard is a summary showing the selected device, the tool suite and the new project file name. After pressing the Finish button, review the Project Window on the MPLAB IDE desktop. If the Project Window is not open, then select View>Project.

Fig. 26 Project window

UCET Page 28

ADVANCE ELEVATOR GROUP 1

Note: Files can be added and projects saved by using the right mouse button in the project window. In case of error, files can be manually deleted by selecting them and using the right mouse click menu.

3.3.6 Building the Project

From the Project menu, we can assemble and link the current files. They don’t have any of our code in them yet, but this assures that the project is set up correctly.

Fig. 27 Project Build

To build the project, select either:

• Project>Build All

• Right-click on the project name in the project window and select Build All

• Click the Build All icon on the Project toolbar. However the mouse over icons to see pop-up text of what they represent.

The Output window shows the result of the build process. There should be no errors on any step.

UCET Page 29

ADVANCE ELEVATOR GROUP 1

Fig. 28 Output

3.4 SOFTWARE AND HARDWARE WORK DONE

Fig. 29 describes the basic programming of led using pic, where the c program is written in mplab ide.

Fig. 29 Basic LED programming using PIC

Fig. 30 describes the interfacing of lcd using pic, where the c program is written in mplab ide.

UCET Page 30

ADVANCE ELEVATOR GROUP 1

Fig.

30 LCD Interfacing with PIC

Fig. 31 describes the working of the project.

Fig. 31 Working of Model

UCET Page 31

ADVANCE ELEVATOR GROUP 1

Fig. 31 describes the interfacing of different components.

Fig. 32 Interfacing of Components

UCET Page 32

ADVANCE ELEVATOR GROUP 1

CHAPTER -4

CONCLUSION, ADVANTAGES, FUTURE SCOPE &

REFRENCES

4.1 CONCLUSION

We achieved our objective without any hurdles i.e. the fire safety using Photo diode, water level detection at ground floor, also the Entry-Exit sensor counting persons leaving or entering; programming related to the Finger Print module has been completed. We have successfully conducted the above said definition and it’s working.

4.2 ADVANTAGES

 Provides high Security.

 Safety against Fire.

 Energy saving.

 Will not operate on Overload condition.

 Water level indication.

4.3 FUTURE SCOPE

 A system can be made based on “Artificial Intelligence”.

 If accurate voice recognition module is available in near future, elevators can be operated over voices.

UCET Page 33

ADVANCE ELEVATOR GROUP 1

 If sufficient standby power supply source is available in near future that can handle the load of elevator, problem of mains supply failure can be overcome.

UCET Page 34

ADVANCE ELEVATOR GROUP 1

REFERENCES

1. International Journal of Emerging Technology & Research Volume 1,May-June 2014. ISSN (E): 2341-5900.

2. Muhammad Ali Mazidi, Rolin D. McKinlay, Danny Causey, PIC Microcontroller and Embedded Systems: Using Assembly and C for PIC18

3. George R.Strakosch, Robert S.Caporale (eds.), The Vertical Transportation Handbook, 4th Edition, 2010.

4. www.wsj.com/articles/elevators-set-to-take-new-directions

5. www.explainthatstuff.com/how-elevators-works

6. www.circuitstoday.com/pic-tutorial-16f877a

7. www.slideshare.net/mobile/sunilpolo/pic16f877a-interfacing-with-lcd

8. www.rhydolabz.com/document/finger-print-module

9. www.quora.com/How-do-an-IR-transmiiter-and-receiver-work

10. http://www.sunrom.com/p/fingerprint-sensor-with-interface-board

UCET Page 35

ADVANCE ELEVATOR GROUP 1

APPENDIX

APPENDIX A BMC CANVAS

UCET Page 36

ADVANCE ELEVATOR GROUP 1

APPENDIX B PERIODIC PROGRESS REPORT

UCET Page 37

ADVANCE ELEVATOR GROUP 1

APPENDIX C PATEENT DRAFTING EXERCISE FORM

UCET Page 38

ADVANCE ELEVATOR GROUP 1

APPENDIX D PLAGIARISM REPORT

UCET Page 39

Source: ChinaStones - http://china-stones.info/essays/engineering/advance-elevator-project-report/


Not what you're looking for?

Search our thousands of essays:

Search:


About this resource

This Engineering essay was submitted to us by a student in order to help you with your studies.


  • Order a custom essay
  • Print this page
  • Search again

Word count:

This page has approximately words.


Share:


Cite:

If you use part of this page in your own work, you need to provide a citation, as follows:

ChinaStones, ADVANCE ELEVATOR – a project report. Available from: <http://china-stones.info/essays/engineering/advance-elevator-project-report/> [19-04-19].


More information:

If you are the original author of this content and no longer wish to have it published on our website then please click on the link below to request removal:


Latest essays in this category:


Our free essays:

badges

 
www.seotexts.com/unikalnyiy-tekst/

реабилитация наркоманов