Eric Chen
Created September 21, 2015

Homework 2: Shape Changing

Moving paper with motors, moving wood with gears.

Showcase (no instructions)121
Homework 2: Shape Changing

Things used in this project

Story

Read more

Custom parts and enclosures

Laser Cutter Blueprints

Schematics

Circuit Design

Laser Cut Design

Code

Servo Code

C/C++
#include <Servo.h> 
 
Servo myservo;
int pos = 0;
 
void setup() { 
  myservo.attach(9);
} 
 
void loop() { 
  for (pos = 0; pos <= 180; pos += 1) {
    myservo.write(pos);
    delay(10);
  } 
  for (pos = 180; pos>=0; pos-=1) {                                
    myservo.write(pos);
    delay(10);
  } 
} 

Credits

Eric Chen
9 projects • 2 followers
EECS student at UC Berkeley

Comments