Skip to content

TomiKalejaiye/IDD-Fa19-Lab4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Paper Puppets

A lab report by Tomi Kalejaiye

In this Report

Part A. Actuating DC motors

DC Vibration Motor

Controlling DC Vibration Motor from Arduino

Part B. Actuating Servo motors

Part 1. Connect the Servo to your breadboard

a. Which color wires correspond to power, ground and signal?

The brown wire corresponds to ground, the red wire corresponds to the voltage supply, and the orange wire is the signal line for servo control, which when using Arduino goes to a pin on the arduino.

Part 2. Connect the Servo to your Arduino

a. Which Arduino pin should the signal line of the servo be attached to?

The signal line should be on pin 9 for the Sweep sketch.

b. What aspects of the Servo code control angle or speed?

In the Sweep code, the variable "pos" controls the angle, and the increment size in the for loop that increments "pos" controls the speed.

Part C. Integrating input and output

Pot Controlled Servo

Controlling servo motor with 10K potentiometer via Arduino. The Arduino sketch can be found here.

Part D. Paper puppet

Paper Puppet

Paper Puppet running an Arduino sketch.

Part E. Make it your own

Pot Paper Puppet

Paper Puppet controlled by 10K Pot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 100.0%