Using Arduino Stroboscope to see 3D printed animation
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
//Simple Stroboscope by Hari Wiguna
byte ledPin = 13; // Digital Pin 13
byte potPin = 0; // Analog Pin 0
void setup() {
pinMode(potPin, INPUT);
pinMode(ledPin, OUTPUT);
}
void loop() {
// This controls the frequency of the flashing, smaller delayValue = faster flash.
int potValue = analogRead(potPin);
int delayValue = potValue/4;
digitalWrite(ledPin,HIGH);
delay(2); // How long should the strobe be on. Larger is brighter, but will blur the effect.
digitalWrite(ledPin,LOW);
delay(delayValue); // How long should the strobe be off.
}
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
Hi, it is a great style of zoetrope. I would like to do it by my own, but I couldn't find any motor which i could control the rpm. Which motor did you use for the project ?