Lab 6 - Phenakistoscope
Description
Created a automatic Phenakistoscope. The precursor to the Zeotrope, a Phenakistoscope is just a disk with holes cut in it. Looking through the slits in the disk, with a mirror in place let you see a animation of the pictures on the disk.
The disk I found online is of a galloping horse, clearly influenced by Muybridge's work in photography. http://www.cutoutfoldup.com/patterns/1136_us.pdf
A potentiometer controls the speed at which the disk spins, while wooden dowel gives it some stability.
Code is from the example.
Components Used
- Arduino Uno
- Breadboard
- 1k Resistor
- DC Motor
- TIP120
- Potentiometer
- Wooden dowel
- Paper printed disk, with slits cut out
Code
int potPin = 0; // select the input pin for the potentiometer
int motorPin = 9; // select the pin for the Motor
int val = 0; // variable to store the value coming from the sensor
void setup() {
Serial.begin(9600);
}
void loop() {
val = analogRead(potPin); // read the value from the sensor, between 0 - 1024
Serial.println(val);
analogWrite(motorPin, val/4); // analogWrite can be between 0-255
}
- Login to post comments
Drupal theme by Kiwi Themes.