Mission:
You and Alex have decided to drive to a movie. Before you can leave home, you need to prove to your parents that you really know how to drive a car. Your mission is to prove how responsible you are by simulating your trip to the movies using the VEX parts. Your car will need a motor, headlights and back-up lights.
Here is Your Itinerary:
Bonus:
Experiment with wait times to get your vehicle to return to within 10 in. of the same location it started from.
Duties:
Build a VEX model of a car with two motors, headlights and back up light(s). Wire the motors and lights to the microcontroller. Write a program that will simulate your night out. Natural Language Functions will make your program efficient. Open the PLTW Template and Save As RoadTrip to your directory. Complete each section: Heading, Task Description, Pseudocode, Motor and Sensors Setup, Program.
You and Alex have decided to drive to a movie. Before you can leave home, you need to prove to your parents that you really know how to drive a car. Your mission is to prove how responsible you are by simulating your trip to the movies using the VEX parts. Your car will need a motor, headlights and back-up lights.
Here is Your Itinerary:
- Turn the headlights on.
- Put the vehicle in reverse to back to the right out of the driveway for 2 seconds. Whenever your car is in reverse make sure your back-up lights are on.
- Stop the vehicle for at least 2 seconds before going forward and turn off the back-up lights.
- Put the vehicle in forward to drive down the road toward Alex’s house for 5 seconds.
- Upon arrival at Alex’s house, turn right onto the Broadway to park on the street. Turn the vehicle and headlights off.
- After 4 seconds, Alex gets in the car and it’s time to go.
- Turn the headlights on and put the vehicle in drive.
- Drive down the road until reaching the theater (a 3 second drive).
- Turn left into the theater and park the car by turning the vehicle and headlights off. Watch the world’s shortest movie. 5 seconds later, get back in the car.
- Turn the headlights on and put the vehicle in reverse to back to the right out of the parking spot (2 seconds). Don’t forget the back-up lights should come on whenever your car is in reverse.
- Stop the vehicle for 2 seconds before going forward. Turn off the back-up lights.
- Put the vehicle in drive and drive back to your house, Alex is spending the night. (a 4 second drive on Broadway, turn left, then a 5 second drive on Lake Rd.)
- Turn left into the driveway and shut off the vehicle and lights.
- You are home again.
Bonus:
Experiment with wait times to get your vehicle to return to within 10 in. of the same location it started from.
Duties:
Build a VEX model of a car with two motors, headlights and back up light(s). Wire the motors and lights to the microcontroller. Write a program that will simulate your night out. Natural Language Functions will make your program efficient. Open the PLTW Template and Save As RoadTrip to your directory. Complete each section: Heading, Task Description, Pseudocode, Motor and Sensors Setup, Program.