Open In App

Project Idea | Smart Elevator

Last Updated : 07 Feb, 2018
Improve
Improve
Like Article
Like
Save
Share
Report

Introduction:

Nowadays, in large buildings, the conventional elevators have higher waiting time, higher traveling time, more power consumption. So there is a need to develop an algorithm which reduces the above problems. I have done this project as in intern at Smartron. I have developed an algorithm which reduces the waiting and travelling time in elevators.

I have used the concept of Internet of things in this project along with the usage of Arduino microcontroller.

Conceptual framework:

The keypad of the elevator is outside the lift in the lobby of the building. All the elevators on a particular floor of the building have a common keypad at the entrance of lobby. When a person presses his desired floor on the keypad, the system assigns a lift to him( which is on that floor or nearer to the floor).

How is the lift assigned to the user?

When a user presses his desired floor on the keypad, the system goes through the following steps:

1) It checks if any lift is on that floor, if yes, it assigns the lift.
2) If no, it checks whether the user wants to go to an upper floor or lower floor from his current floor.
3) It then assigns the lift which is going up and nearer to that floor.

The main constraint in this algorithm is that a lift can have a maximum on 4 stops. So when it checks a lift, it checks whether the lift has reached it’s maximum stops or no.

What’s the system and how it works?

Each lift is connected to an Arduino in the master-slave configuration. Each lift is a slave to a master Arduino which is responsible to assign the lift to the user.

Each lift maintains a queue(data structure). The number of elements in the queue is the maximum number of stops a lift can have.

The first element in the queue is its current floor. The subsequent elements are its destinations in order.

The master checks each queue and gets where all the lifts are from the first element of their queues.

The lift goes upwards when the difference between the current element and next element is positive and vice-versa.

I have used Arduino IDE for programming and hands-on Arduino kit to test.

This project is a POC to the smart elevator and it can be used for the further study on smart elevators( using artificial intelligence makes it really smart).

Pseudo Code:
Master:

// declare arrays for the slaves(queues are implemented using arrays)
void setup(){
  SPI.begin;   // Begin SPI protocol
  digitalWrite(SS,HIGH);
  SPI.begin();
  SPI.setClockDivider(SPI_CLOCK_DIV8);
}
void loop(){
  // create as many functions as there are keypads in the building.
  // inside each function
  keypad1(){
    // take keypad input.
    // check all the filters and assign a lift 
    SPI.transfer(destination);  // goes to selected slave 
    enqueue(destination); // added to selected slave queue
  }
  Keypad2(){
    // take keypad input.
    // check all the filters and assign a lift 
    SPI.transfer(destination);  // goes to selected slave 
    enqueue(destination); // added to selected slave queue
  }
}

Slave code:

// declare array for the slave (queue is implemented using array)
void setup(){
  pinMode(MISO,OUTPUT);
  SPCR |= _BV(SPE);  // turn on slave mode
  SPCR |= _BV(SPIE);  // turn on interrupt
}
ISR(SPI_STC_vect){
  // receive destination from master
  // add to the queue 
}
void loop(){
  // always looks at the first element of the queue and goes to that floor. 
  // when the destination is reached, it is deleted from queue
  // inform master about deletion so that it can update the queue for this slave
} ?

Sincerely,
Sri Harsha


Similar Reads

Project Idea | Smart Waste Management Systems
Project Title: Smart Waste Management System Introduction: One of the essential components of a smart city is a Clean and Green Environment and the crux of it is a Smart, Intelligent, and Connected Waste Management System. In Espha, I have developed a System where the Waste bins are equipped with a Compactor and a Bin Level Detection System. Basic
3 min read
Project Idea | Smart Government
Project Title: Smart Government Background:- Today, we are facing one problem, that is of government educational documents. There are lots of procedures needed to be done for applying governments documents. And these documents are just piece of papers e.g. caste validity, caste certificate, income certificate. And in case, if these documents get lo
5 min read
Project Idea | KrishiKadam- A Smart Application for Agricultural
KrishiKadam is a multi-faceted product idea, that brings together three fundamentals, the knowledge of which, we believe will help our farmers grow and prosper better in the field. Our product comprises a user-friendly mobile application along with ground sensors that will be connected to the app. Purpose: Agriculture is the primary source of incom
4 min read
Project Idea - Smart AI Based Chatbot For Developers
As will all know, a chatbot is an artificial intelligence (AI) software that can simulate a conversation (or a chat) with a user in natural language. Our project entitled " Smart Chatbot for Developers" aims at providing meliorate platform for learning any software skills, where this chatbot is user-friendly and software skills can be simulated wit
3 min read
Project Idea | Amanda: A Smart Enquiry Chatbot
Project Title : Amanda: A Smart Enquiry Chatbot Introduction: The concept of chatbots has not been a new in this technological growing society. Our project acutely deals with an important section of this growing entity, focusing the usage of the chatbots in the field of education, especially higher education. The current model of the project is mad
5 min read
Project Idea | Smart Waste Management System
INTRODUCTION: Brief presentation of the project (MUST SEE before reading further) The Internet of Things (IoT) is a concept in which surrounding objects are connected through wired and wireless networks without user intervention. In the field of IoT, the objects communicate and exchange information to provide advanced intelligent services for users
9 min read
Project Idea | (Smart Restaurants)
Introduction: Before reading on further you can view a brief presentation of this project This project idea is dedicated to improve scenario in restaurants and hotels for better customer experience. The concept is simple to implement and very useful for every kind of food place whether it is a small restaurant or a big hotel. The system provides ma
2 min read
Project Idea | Attendance System Using Smart Card
1. Project Title: Smart Attendance System 2. Introduction: The current attendance system in most of the educational institutions is paper based, wherein the students are expected to sign an attendance sheet. This system has several disadvantages like: (a) The students can mark attendance of their fellow classmates without being caught. (b) Punctual
4 min read
Project Idea | Baby Monitoring Smart Cradle
Project Title: Baby Monitoring Smart Cradle Introduction: As we are very well familiar with the hurdles faced by Parents to nurture their infant and especially in case if both the Parents are working. To give 24 hours of time in such cases is next to impossible. Thus, we need to develop something unique that can help Parents to have a continuous su
4 min read
Project Idea | (Project Approval System)
Academic Project management is a major issue which is faced by many educational institutes, the main reason for this is there is no automated system followed in any institute. College management/staff gathers all the project reports and project sources from students and store them physically in some locations probably libraries. To overcome this pr
2 min read
Article Tags :