Download presentation
Presentation is loading. Please wait.
Published byAdelia Thornton Modified over 9 years ago
1
Elevator Project Description Dr. S. Ahmadi ECE 002
2
Project Description Students will build a mock elevator for a 2 story building and create a program to control it. The basic blocks will be: elevator car, elevator shaft, digital sensors, analog sensors. The elevator and elevator shaft will be made of legos. The elevator car will be powered using the motors from the lego kit. Analog Sensors will be used to determine when the elevator has reached a given “floor.” Digital Sensors will be used to determine if a customer is “calling” the elevator to a given “floor.” The students will use the handyboard to control the motors and sensors to operate the elevator and program the device using Interactive C.
3
Graphical Representation/Animation 2 nd Floor 1 st Floor 1 st Floor Analog Sensor 2 2 2 nd Floor Analog Sensor 3 3 Motor 1 String attached to gear Lowers/raises elevator car 2 nd Floor DIGTIAL Sensor 8 1 st Floor DIGTIAL Sensor 7
4
Listen for call Has elevator reached 1 st floor? Turn on elevator motor going down Is elevator on 2 nd floor? Is elevator on 1 st floor? Is call from 1 st floor? Has a call arrived? Turn off motor/ Apply Brakes Y Y N (loop) N Y Go to Page 2 A Flowchart for Elevator Algorithm (Page 1 of 2) Y N N Y
5
Has elevator reached 2 nd floor? Turn on elevator motor going up Is elevator on 1 st floor? Is elevator on 2 nd floor? Is call from 2 nd floor? Turn off motor/ Apply Brakes Y (loop) N Y Next Page A Flowchart for Elevator Algorithm (Page 2 of 2) Y N N Y From Page 1 Return back to circle A on page 1
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.