Build it step by step
0 of 7 doneTest the stepper alone
Turn it one full revolution.
Mount a flat plate
Centred on the shaft.
Add the HC-05
Use the divider on RXD.
Pair the phone
Open a Bluetooth terminal.
Upload the sketch
Press the button.
Set the phone camera timer
About 4 seconds apart.
Check the 24 photos
Make a turning image.
How do you build a 360° photo turntable?
A stepper turns a product turntable in 24 steps with a pause at each position, for 360° product photos taken by a phone on a timer. You need Arduino Nano, 28BYJ-48 Stepper Motor, ULN2003 driver board, HC-05 Bluetooth Module, Tactile push button 6 mm, 5 V 2 A USB adapter and Resistor 1 kΩ × 3. It takes 7 steps and about 90 minutes.
- Level
- Beginner
- Time
- About 90 min
- Parts
- 7
Parts list
- Development BoardsBuyArduino Nano × 1
- Motors & ActuatorsBuy
- Motor DriversBuy
- WirelessBuy
- SwitchesBuy
- PowerBuy
- PassivesBuyResistor 1 kΩ × 3
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| ULN2003 IN1, IN2, IN3, IN4 | Nano D8, D9, D10, D11 | Stepper coils |
| ULN2003 plus and minus | 5V adapter | Motor power (join its ground to the Nano GND) |
| Stepper plug | ULN2003 socket | 28BYJ-48 motor |
| HC-05 TXD | Nano D2 | Commands from the phone |
| HC-05 RXD | Nano D3 through a divider (1 k to RXD, 1 k plus 1 k to GND) | Brings 5 V down to about 3.3 V |
| HC-05 VCC and GND | Nano 5V and GND | Power |
| Start button | Nano D4 and GND | Starts a turn (internal pull-up) |
Code
A 28BYJ-48 stepper makes 2048 full steps per turn, so 24 equal positions are about 85.3 steps apart. The sketch works out each target position from the total and moves the difference, so the rounding never builds up and the plate is back at the start after 24 shots. After each move it releases the coils so the motor stays cool, waits for the model to settle, then sends a SHOT message over the HC-05 and waits again. Be clear about what the HC-05 can and cannot do: it is a Bluetooth serial module, not a Bluetooth remote shutter, so it cannot press the camera button for you. Use your phone's camera timer or an interval-shooting app set to take a picture about every four seconds, matched to the pause in the sketch, and use the SHOT messages in a terminal app to see where the turn is. Start a turn with the button or by sending the letter G from the same terminal. Use a slow speed and a light, centred object, and keep fingers away from the plate. The HC-05 takes 3.3 V on its RXD pin, hence the divider. Arduino IDE, board "Arduino Nano" (try the Old Bootloader option if the upload fails).
Runs on a virtual Arduino Nano in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).
// 360 degree photo turntable: 24 positions per turn, pause at each, report over Bluetooth.
// Library: Stepper (built in), SoftwareSerial. Board: Arduino Nano. 28BYJ-48: 2048 full steps per turn.
#include <Stepper.h>
#include <SoftwareSerial.h>
const int STEPS_PER_REV = 2048;
const int SHOTS = 24;
const unsigned long SETTLE_MS = 1500; // wait for the model to stop wobbling
Stepper st(STEPS_PER_REV, 8, 10, 9, 11); // coil order for the 28BYJ-48
SoftwareSerial bt(2, 3); // RX, TX
const uint8_t BTN = 4;
long position = 0;
void releaseCoils() {
for (uint8_t p = 8; p <= 11; p++) digitalWrite(p, LOW); // stops the motor getting warm
}
void runTurn() {
position = 0;
for (int i = 1; i <= SHOTS; i++) {
long target = (long)i * STEPS_PER_REV / SHOTS;
st.step(target - position);
position = target;
releaseCoils();
delay(SETTLE_MS);
bt.print("SHOT "); bt.println(i);
Serial.print("SHOT "); Serial.println(i);
delay(2500); // time for the phone's interval timer to take a photo
}
bt.println("DONE");
}
void setup() {
Serial.begin(9600);
bt.begin(9600);
pinMode(BTN, INPUT_PULLUP);
st.setSpeed(10); // rpm, slow and smooth
releaseCoils();
}
void loop() {
if (digitalRead(BTN) == LOW) { delay(30); while (digitalRead(BTN) == LOW) {} runTurn(); }
if (bt.available() && bt.read() == 'G') runTurn(); // send the letter G from a Bluetooth terminal app
}Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Press the button | Plate moves in 24 equal steps |
| After the 24th | Plate is back where it started |
| Phone terminal | Shows SHOT 1 to SHOT 24 |
| Motor after the turn | Warm at most, not hot |
If it does not work
Motor only buzzes
The coil order is wrong; use 8, 10, 9, 11.
Plate drifts
Check the 2048 step count and no slipping on the shaft.
No Bluetooth text
Check the divider and swap TX and RX.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the 360° photo turntable?
Arduino Nano, 28BYJ-48 Stepper Motor, ULN2003 driver board, HC-05 Bluetooth Module, Tactile push button 6 mm, 5 V 2 A USB adapter and Resistor 1 kΩ × 3.
How long does the 360° photo turntable take to build?
About 90 minutes for a beginner maker, in 7 steps.
How do I know the 360° photo turntable works?
Press the button: Plate moves in 24 equal steps. After the 24th: Plate is back where it started. Phone terminal: Shows SHOT 1 to SHOT 24.
Motor only buzzes: what should I check?
The coil order is wrong; use 8, 10, 9, 11.
Plate drifts: what should I check?
Check the 2048 step count and no slipping on the shaft.
No Bluetooth text: what should I check?
Check the divider and swap TX and RX.
