Back to Browse

Intelligent Elevator : Hobby Project (Winter 2021)

5.0K views
Dec 25, 2021
3:17

Merry Christmas🎄🎄✨ …. I am back with a new video This Christmas after a long break. In this video I have presented the construction and working of The Intelligent Elevator System which is my first Arduino-powered project. Materials Required : For Elevator Mechanism : Arduino UNO Stepper Motor Membrane Keypad Stepper Motor driver module Pulley (can be homemade) Counter weight (Weight of Counter-weight should be equal to the weight of elevator cabin) For Elevator structure : Acrylic sheets (To make elevator cabin) A Firm Wooden base 10-15 Steel Angle joints 4 Wooden columns Nylon Rope (To lift the elevator) Below is the code for the Elevator system : (You need to include Stepper.h, Keypad.h and TimerOne.h library files) const byte ROWS = 4; const byte COLS = 4; // Array to represent keys on keypad char hexaKeys[ROWS][COLS] = { {'1', '2', '3', 'A'}, {'4', '5', '6', 'B'}, {'7', '8', '9', 'C'}, {'*', '0', '#', 'D'} }; // Connections to Arduino byte rowPins[ROWS] = {A0, A1, A2, 6}; byte colPins[COLS] = {A3, A4, A5, 2}; // Create keypad object Keypad customKeypad = Keypad(makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); int stepsPerRevolution=2048; //steps to complete 1 rotation int motspeed=15; int revs; int j=1; Stepper myStep(stepsPerRevolution, 8,10,9,11); float lvl[6]; void setup() { // put your setup code here, to run once: Serial.begin(9600); myStep.setSpeed(motspeed); Timer1.initialize(5000); Timer1.attachInterrupt(level); } void loop() { // put your main code here, to run repeatedly: if(lvl[1]==1){ j=1-j; revs=j*1848; myStep.step(-revs); j=1; lvl[1]=0; } delay(500); if(lvl[2]==2){ j=2-j; revs=j*1848; myStep.step(-revs); j=2; lvl[2]=0; } delay(500); if(lvl[3]==3){ j=3-j; revs=j*1848; myStep.step(-revs); j=3; lvl[3]=0; } delay(500); if(lvl[4]==4){ j=4-j; revs=j*1848; myStep.step(-revs); j=4; lvl[4]=0; } delay(500); if(lvl[5]==5){ j=5-j; revs=j*1848; myStep.step(-revs); j=5; lvl[5]=0; } delay(500); } void level (){ char customKey = customKeypad.getKey(); if (customKey=='1'){ lvl[1]=1; } if (customKey=='2'){ lvl[2]=2; } if (customKey=='3'){ lvl[3]=3; } if (customKey=='4'){ lvl[4]=4; } if (customKey=='5'){ lvl[5]=5; } } I would love to hear your thoughts and suggestions about this project....do share them in the comment section

Download

1 formats

Video Formats

240pmp46.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Intelligent Elevator : Hobby Project (Winter 2021) | NatokHD