Mission:
You are an employee at a VEX factory. Your job requires you to deliver parts to various floors of the factory. Since a lifetime of climbing up and down stairs doesn’t sound attractive to you, you seek an alternative. Luckily, you have found a solution to this problem. Before a full-sized freight elevator can be built, a fully functioning scaled model must be built.
Bonus:
The elevator remains on the floor and waits for the next button is pressed instead of returning to the ground floor after each time it is called.
Duties:
The VEX factory has three floors, so the elevator must have three stops: ground level, floor one, and floor two. The scale model must meet the following requirements:
Each floor needs a sensor to detect the approaching elevator. The sensors should be installed so that when the elevator is level with the corresponding floor it stops. An additional sensor must be installed on the first floor for people to call the elevator, and three sensors in the elevator to move from floor to floor. You are responsible for connecting all wires.
While the mechanical and electrical engineers are busy working, create a program that will control the elevator. Be extremely cautious with your design; you don’t want to trap people in the elevator. The program must meet the following requirements.
You are an employee at a VEX factory. Your job requires you to deliver parts to various floors of the factory. Since a lifetime of climbing up and down stairs doesn’t sound attractive to you, you seek an alternative. Luckily, you have found a solution to this problem. Before a full-sized freight elevator can be built, a fully functioning scaled model must be built.
Bonus:
The elevator remains on the floor and waits for the next button is pressed instead of returning to the ground floor after each time it is called.
Duties:
The VEX factory has three floors, so the elevator must have three stops: ground level, floor one, and floor two. The scale model must meet the following requirements:
- The ground floor should be the base.
- The first floor must be approximately three inches above the base.
- The second floor must be approximately six inches above the base.
- The elevator floor must be large enough to fit three limit switches. Use the line tracker sensors to determine the location of the elevator.
Each floor needs a sensor to detect the approaching elevator. The sensors should be installed so that when the elevator is level with the corresponding floor it stops. An additional sensor must be installed on the first floor for people to call the elevator, and three sensors in the elevator to move from floor to floor. You are responsible for connecting all wires.
While the mechanical and electrical engineers are busy working, create a program that will control the elevator. Be extremely cautious with your design; you don’t want to trap people in the elevator. The program must meet the following requirements.
- When a button is pressed the elevator should rise to that floor, wait for 2 seconds, and then return to the ground floor.
- Using input from installed sensors, you must program the elevator to stop at the selected floor.
- The elevator must be ready for use at all times, so your program must be repeatable.