HOW TO MAKE Rotating turntables for cameras

Prints (0)

Description

PayPal Donations :https://www.paypal.me/01044488692

pla ,infill 30%

ARDUINO SOURCE CODE 

=================================================================================

/* Stepper Motor Control - one revolution

This program drives a unipolar or bipolar stepper motor. The motor is attached to digital pins 8 - 11 of the Arduino.

The motor should revolve one revolution in one direction, then one revolution in the other direction.

Created 11 Mar. 2007 Modified 30 Nov. 2009 by Tom Igoe

*/

#include

const int stepsPerRevolution = 360; // change this to fit the number of steps per revolution // for your motor

// initialize the stepper library on pins 8 through 11: Stepper myStepper(stepsPerRevolution, 6,7,12,13);

void setup() { // set the speed at 60 rpm: myStepper.setSpeed(3); // initialize the serial port: Serial.begin(9600); }

void loop() { Serial.println("counterclockwise"); myStepper.step(-stepsPerRevolution); digitalWrite (6,LOW) ; digitalWrite (7,LOW) ; digitalWrite (12,LOW) ; digitalWrite (13,LOW) ; delay(1000); Serial.println("clockwise"); myStepper.step(stepsPerRevolution); digitalWrite (6,LOW) ; digitalWrite (7,LOW) ; digitalWrite (12,LOW) ; digitalWrite (13,LOW) ; delay(1000);

}

Design Files

File Size

case.stl
426 KB
turntable-150.stl
7.7 KB
20-tooth-pully.stl
82 KB

Comments

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×