In this lab, you will work with motors. First, you will practice using servo and DC motors. Then, you will make one of your motors respond to a sensed stimulus. Lastly, you will learn more about powering motors.
1. Complete Circuit 8 in your Vilros Ultimate Starter Kit Guide, “A Single Servo.” Alter the pattern of the motor from the default provided in the code. Take a short (<15 sec) video of your motor working. (3 points)
2. Complete Circuit 10, “Spinning a Motor.” Alter the pattern of the motor from the default provided in the code. Take a short (<15 sec) video of your motor working. (3 points)
3. Combine one of the sensors from Lab 2 with either motor. Make your motor turn in response to the sensor. Temporarily attach some sort of physical object to your motor, so the motor is actually moving something.
4. Write a short paragraph describing what your project does. Why did you choose to use the motor that you chose? Read about different motors. (2 points)
5. Submit your code. Be sure to include comments describing what each piece of the code does. (4 points)
6. Submit a short (<30 sec) video of the project. (2 points)
7. What is a transistor? Why did you use it for the DC motor? (2 points)
8. Search the internet a more powerful motor. Submit a link to this motor. What is the suggested voltage for your bigger motor? (2 points)
9. To power the bigger motor you chose, do you need a motor shield? What is a motor shield? (2 points)
10. Submit your questions + videos on bSpace under Assignments > Lab 3.
**Updated October 16, 2014 to correct typos/errors.