Skip to content

Latest commit

 

History

History
71 lines (38 loc) · 1.77 KB

lab-04.md

File metadata and controls

71 lines (38 loc) · 1.77 KB

Paper Puppets

A lab report by John Q. Student

In this Report

To submit your lab, clone this repository. You'll need to describe your design, include a video of your paper display in operation, and upload any code you wrote to make it move.

Part A. Actuating DC motors

Video:

{% embed url="https://www.youtube.com/watch?v=\_vpZyFdfBZs" %}

****

Part B. Actuating Servo motors

Part 1. Connect the Servo to your breadboard

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

Red - Power

Brown - Ground

Orange - Signal

Part 2. Connect the Servo to your Arduino

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

Pin 9

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

  for (pos = 180; pos >= 0; pos -= 1) { // Angle
    myservo.write(pos);              // 
    delay(15);                       // Speed
  }

Part C. Integrating input and output

Include a photo/movie of your raw circuit in action.

{% embed url="https://www.youtube.com/watch?v=p8K216eLOR8" %}

Code: https://github.com/ckshei/IDD-Labs/blob/master/lab-4/Potentiometer_sensor.ino****

Part D. Paper puppet

a. Make a video of your proto puppet.

{% embed url="https://www.youtube.com/watch?v=LQ4L\_Ktovmg" %}

****

Part E. Make it your own

a. Make a video of your final design.

{% embed url="https://www.youtube.com/watch?v=3YTiKoLsf6E" %}

Video of a miner who gets more tired as he continues to mine

Code: https://github.com/ckshei/IDD-Labs/blob/master/lab-4/miner.ino****

****