I recently found out that I need something. That thing was a turntable. I decided to make my own using Arduino and cardboard box. You can see everything below just click on Youtube Video and enjoy. Meabe in the future there will be more functionality and integration with the camera.

Markurion

Here you can find my code for the project. 

Also, very important a library that allows to easily operate step motor.  https://github.com/tyhenry/CheapStepper

Code 
————————–

#include <LiquidCrystal_I2C.h>
#include <CheapStepper.h>
LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);

// and connect pins 8,9,10,11 to IN1,IN2,IN3,IN4 on ULN2003 board
CheapStepper stepper (11,10,9,8);

boolean moveClockwise = true;
int input = 0;

 

int q=0;
int czas=10;

void setup() {

// let’s set a custom speed of 20rpm (the default is ~16.25rpm)
lcd.begin(16,2);
stepper.setRpm(10);

Serial.begin(9600); Serial.println();
Serial.print(stepper.getRpm()); // get the RPM of the stepper
Serial.print(” rpm = delay of “);
Serial.print(stepper.getDelay()); // get delay between steps for set RPM
Serial.print(” microseconds between steps”);
Serial.println();

 

//stepper.moveDegreesCW (15);
//stepper.moveDegreesCCW (90);
//stepper.moveToDegree (moveClockwise, 0); – Return to 0

for(q=24; q>=1; q–)
{

for(czas=2; czas>=0; czas–)
{
lcd.setCursor(0,0);
lcd.print(” “);
lcd.setCursor(0,1);
lcd.print(“Delay: “);
lcd.print(czas);
delay(1000);
}
stepper.moveDegreesCCW (15);
}
}

void loop() {

}