[ Close ]
Username
Password


Forgotten your password?
 
Custom Search
Electrical, Electronics & Communication Projects
 Projects Q A, Guidance for your projects Projects Forum Electrical, Electronics & Communication Projects
Message Icon Topic: 8051 based elevator control project Post Reply Post New Topic
Found this useful? Give a +1   Add to Facebook: Add to Facebook
Free Project Downloads
Electronics Project Download
ECE Mini Project Downloads
Robotics Projects Downloads
Wireless Project Downloads
Space Project Downloads
Embedded Project Download
Microcontroller Downloads
Power Harvesting Projects
Project Topics
All Electronics Projects
ECE Project Topics
VLSI Projects List
Microcontroller Projects
DSP Project Topics
Other Electronics Projects
Electrical (EEE) Projects
Project Presentation Tips
How to choose Project Topic
Tips for Final Year Project
Steps for FYP, Mini Project
Preparing a Project Report
Problems faced in Projects
 
Get Free Electronics (ECE) / Electrical (EEE) Project Downloads:

Enter your email address:  

Author Message
Nithus
Newbie
Newbie


Joined: 17-Dec-2011
Online Status: Offline
Posts: 0
Quote Nithus Replybullet Topic: 8051 based elevator control project
    Posted: 17-Dec-2011 at 3:38pm
pls help me frndz!! searchin for a 8051 based elevator control project..

 
IP IP Logged
kranthikumar
Senior Member
Senior Member


Joined: 21-Sep-2008
Online Status: Offline
Posts: 190
Quote kranthikumar Replybullet Posted: 19-Dec-2011 at 12:58am
Program for Elevator Interface in 8051

#include <REG51F.H>
void delay(unsigned int);
main()
{
unsigned char Flr[9] = {0xff,0x00,0x03,0xff,0x06,0xff,0xff,0xff,0x09};
unsigned char FClr[9] = {0xff,0x0E0,0x0D3,0xff,0x0B6,0xff,0xff,0xff,0x79};
unsigned char ReqFlr,CurFlr = 0x01,i,j;
P0 = 0x00;
P0 = 0x0f0;
while(1)
{
P1 = 0x0f;
ReqFlr = P1 | 0x0f0;
while(ReqFlr == 0x0ff)
ReqFlr = P1 | 0x0f0; /* Read Request Floor from P1 */
ReqFlr = ~ReqFlr;
if(CurFlr == ReqFlr) /* If Request floor is equal to Current Floor */
{
P0 = FClr[CurFlr]; /* Clear Floor Indicator */
continue; /* Go up to read again */
}
else if(CurFlr > ReqFlr) /* If Current floor is > request floor */
{
i = Flr[CurFlr] - Flr[ReqFlr]; /* Get the no of floors to travel */
j = Flr[CurFlr];
for(;i>0;i--) /* Move the indicator down */
{
P0 = 0x0f0|j;
j--;
delay(25000);
}
}
else /* If Current floor is < request floor */
{
i = Flr[ReqFlr] - Flr[CurFlr]; /* Get the no of floors to travel */
j = Flr[CurFlr];
for(;i>0;i--) /* Move the indicator Up */
{
P0 = 0x0f0 | j;
j++;
delay(25000);
}
}
CurFlr = ReqFlr; /* Update Current floor */
P0 = FClr[CurFlr]; /* Clear the indicator */
}
}
void delay(unsigned int x)
{
for(;x>0;x--);
}

 
IP IP Logged
Stranger
Groupie
Groupie


Joined: 21-Sep-2008
Online Status: Offline
Posts: 0
Quote Stranger Replybullet Posted: 19-Dec-2011 at 1:01am
Hey Nithus,

A project on Microcontroller based elevator controlling system - http://mycite.omikk.bme.hu/doc/18989.pdf
IP IP Logged
Stranger
Groupie
Groupie


Joined: 21-Sep-2008
Online Status: Offline
Posts: 0
Quote Stranger Replybullet Posted: 19-Dec-2011 at 1:05am
Here's is another one:

Elevator Lift control for three stories with microcontroller 8051

In this project, we will learn circuit design for a elevator, how to develop a three stories passenger lift or cargo lift using microcontroller at89c51. This is a modal of simple lift or elevator in which a building is assumed which have three floors :
Floor # 0 : The basement (A basement is one or more floors of a building that are either completely or
partially below the ground floor. )
Floor # 1: The ground floor
Floor # 2: The ist floor
There is a cabin of lift or elevator which will be moved up or down among different floors with the help of a motor. In this project of lift or elevator a single motor is used which will move the cabin up or down. Thus we have to learn about the control of this motor which is responsible of lift cabin movement on right time in right direction.
There are three floors in the building, thus lift cabin has to moves between these floor, for floor detection and to generate the arrival of any floor, some sensor are used. The floor detection sensors are limit switches which could be proximity switches. The proximity switches are sensors which changes the stat of a signal when metallic piece comes near them. The Principles of operation of inductive proximity sensors used in PC control, microcontroller or microprocessor projects and automation systems are as a proximity sensor is a sensor able to detect the presence of nearby objects without any physical contact. or in other words we can say that a proximity sensor often emits an electromagnetic or electrostatic field, or a beam of electromagnetic radiation and looks for changes in the field or return signal. The proximity sensors are the best for the detection of floor and could be used in this project. Thus, we will use three proximity sensors for three stories elevator project, one proximity sensor on each floor. These sensors have to be aligned with each other, such a way that, all sensors should be placed on equal distance from floor and these should be mounted to detect the bottom edge of lift cabin. By considering above precaution in the installation of sensors, lift cabin will stop on each floor correctly and doors of cabin and floor will be automatically aligned.
Three signals will be generated from within the lift cabin: these could be push buttons and will be used to request the lift to go on desire floor. The lift cabin will have three push switches for this purpose, one for each floor.7-segment led indication of lift system circuit design
Three signals will be generated outside the lift cabin, one from each floor. Again, these would be push buttons and there purpose will be to call the lift on desired floor, if it is not currently present there.
The status of lift will be indicated with the help of seven segment display. One seven segment display will be install on each floor; which will tell the current location of the lift. following display pattern could be visible on seven segment display of lift project:
0 : It means lift or elevator is on floor # 0 which is basement.
1: It means lift or elevator is on floor # 1 which is ground floor.
2: It means lift or elevator is on floor # 2 which is first floor.
3: This will indicate that lift is just powered up and it is going to its home position which basement. on reaching the basement, display will show 0.
The seven segment circuit is separate from main controller circuit of lift. The power supply of master controller circuit, and three floor indicator circuits (LED seven segment display) will be separate and communication between these will be through optocouplers.
In this project we can use L817 or 4n35 optocouplers. I used L817 optocoupler with no special reason. Please note that the inputs of the master controller will also be connected to microcontroller 8051 through optocouplers like L817. Although, i have not shown the optocouplers for input signals in the circuit diagram with the assumption that students will use these by their own.
The circuit diagram of Elevator Lift control for three stories with microcontroller 8051 is as under:-

IP IP Logged
Stranger
Groupie
Groupie


Joined: 21-Sep-2008
Online Status: Offline
Posts: 0
Quote Stranger Replybullet Posted: 19-Dec-2011 at 1:07am
Code for the above project:

KEIL C51 code for lift project for three stories using microcontroller 8051 family.


#include<reg51.h> // include reg51 . h
//inputs from limit switches on each floor
sbit limit_sw_f2 = P1^0; // active low
sbit limit_sw_f1 = P1^1;
sbit limit_sw_f0 = P1^2;
// inputs from cabin for request to go on required floor
sbit goto_sw_f2 = P1^3; // active low
sbit goto_sw_f1 = P1^4;
sbit goto_sw_f0 = P1^5;
// inputs from outside cabin to call lift on each floor
sbit call_sw_f2 = P1^6; // active low
sbit call_sw_f1 = P1^7;
sbit call_sw_f0 = P3^7;
// outputs for motor
sbit motor_up = P3^5; // logic low will turn ON the motor for Up
sbit motor_down = P3^6; // logic low will turn ON the motor for down
// output for display
sbit digit_0 = P3^3; // active high
sbit digit_1 = P3^4; // active high
unsigned char floor;
//void delay(void);
void main (void){
P1 = 0xff;
P3 = 0xf8;
floor =0;
// on powered up goto ground floor
while(limit_sw_f0){motor_down =0;motor_up=1;}
motor_down =1;motor_up=1;
digit_0=0;digit_1=0;
while(1){
if((floor==0)||(floor==1)){
if((!goto_sw_f2)||(!call_sw_f2)){
while(limit_sw_f2){
motor_down =1;motor_up=0;
if(!limit_sw_f1){digit_0=1;digit_1=0;floor=1;}
}
motor_down =1;motor_up=1;
digit_0=0;digit_1=1;floor=2;
}
if((!goto_sw_f1)||(!call_sw_f1)){
while(limit_sw_f1){
motor_down =1;motor_up=0;
}
motor_down =1;motor_up=1;
digit_0=1;digit_1=0;floor=1;
}
}
if((floor==2)||(floor==1)){
if((!goto_sw_f1)||(!call_sw_f1)){
while(limit_sw_f1){
motor_down =0;motor_up=1;
}
motor_down =1;motor_up=1;
digit_0=1;digit_1=0;floor=1;
}
if((!goto_sw_f0)||(!call_sw_f0)){
while(limit_sw_f0){
motor_down =0;motor_up=1;
if(!limit_sw_f1){digit_0=1;digit_1=0;floor=1;}
}
motor_down =1;motor_up=1;
digit_0=0;digit_1=0; floor=0;
}
}
}
IP IP Logged

 
Post Reply Post New Topic

Free Programming Courses in JAVA, .Net and PHP (Register Now!)

Java Free Online Course

.Net Free Online Course

PHP Free Online Course


 
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.
© ProjectsQA.com   |   Privacy policy