Week 8 Lab Report by Frank Mason

Objectives: To connect a Arduino Duemilanove board to servo motors to test their functionality.

Materials: Arduino Duemilanove board, servo motor, jumper cables to connect the servo motor to the Arduino Board, USB Cable for Arduino board, the example “Sweep” from the Arduino example programming library.

Procedure:

1. Connect Arduino board via USB Cable to the computer.

2. Connect the Servo motor to the Arduino Board.

3. Upload the “Sweep” example program from the Arduino programming library into the Arduino board.

4. Test the “Sweep” program to learn about the functionality of the servo motor.

5. Modify the program to understand the inner workings of how Arduino programs can directly affect the speed and rotation of servo motors.

Result: I was successfully able to connect the servo motor to the Arduino board and test the motor. However, there were problems testing the servo motor because I did not initially correctly insert the yellow jumper cable into the ground pin, but with a little fiddling and by rereading the instructions it eventually worked. The servo motor worked as planned once the problem was fixed. This project has been very productive because our project will involve using two servo motors that will activate via IR proximity sensors once an individual is at a certain distance. At that point, the servo motors will move the ears 180 degrees in both directions along with flashing LED lights and music playing to create a greater scare.

This entry was posted in journals. Bookmark the permalink.

Leave a Reply