Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Projects
  3. ›Motorised camera slider

Motor & actuator projects

Motorised camera slider with a NEMA 17 stepper and belt drive

Smooth time-lapse and video moves along two 8 mm rods, driven by a quiet stepper and GT2 belt.

By Geekobot Learning Team

Intermediate
Difficulty
1 day
Build time
₹12,662
Parts cost
30
Parts
Arduino
Platform
Add all parts · ₹12,662Start building
  • Making & fabrication
  • Games & fun
Tap a part to see what it does
OverviewPartsWiringBuildCodeTroubleshootFAQIdeas

What you'll build

A camera slider is a great first mechanical build: two smooth rods, a carriage on linear bearings, a belt and a stepper. The Nano drives a TMC2209 or DRV8825 stepper driver with AccelStepper, so the carriage starts and stops gently. A potentiometer sets the speed and an end switch finds the home position. Brackets, shaft supports, bearings and the right screws are where most of the learning is.

What you'll learn

  • Steps per millimetre for a belt drive
  • Acceleration with AccelStepper
  • Aligning rods and bearings so nothing binds
Safety

Keep fingers clear of the belt and pulley when the motor runs.

Disconnect power before you adjust the mechanics.

  1. InputSpeed knob and home switch
  2. ThinkNano plans the move
  3. ActStepper drives the carriage by belt

Parts list

Tick anything you already have and the total updates.

PartQtyPrice
  • NANO
    Nano CH340 Development Board (Soldered)
    GB-SBCD-0339Guide

    Plans the moves

    × 1₹185₹185
  • NEMA 17 2.6 kg-cm Stepper Motor 42HS34-0404 D-Type
    GB-3DDF-1864

    NEMA 17 stepper motor

    × 1₹605₹605
  • Stepper Motor Mounting Bracket (NEMA17, NEMA23, NEMA34)
    GB-MOTR-0140

    Stepper mounting bracket

    × 1₹190₹190
  • TMC2209 Stepper Motor Driver
    GB-MOTR-0103Guide

    TMC2209 quiet stepper driver

    × 1₹479₹479
  • 8mm x 400mm Chrome Plated Smooth Rod
    GB-3DDF-1459

    8 mm x 400 mm smooth rods (two)

    × 2₹338₹338
  • Shaft Support Bracket
    GB-MECH-0003Guide

    Shaft support brackets at each rod end

    × 4₹276₹276
  • LM8LUU Linear Motion Bearing
    GB-MECH-0106

    Long linear bearings for the carriage

    × 2₹160₹160
  • Pillow Block / Flange Bearing 8mm
    GB-MECH-0002Guide

    8 mm flange bearing for the belt idler

    × 1₹69₹69
  • GT2 20-Tooth Timing Pulley, 5mm Bore for 6mm Belt
    GB-3DDF-1411

    GT2 20-tooth pulley, 5 mm bore

    × 1₹26₹26
  • GT2 Open Ended Timing Belt, 6mm Width, Steel Wire Core
    GB-3DDF-1408

    GT2 6 mm open belt (about 1 m for a 400 mm slider)

    × 1₹81₹81
  • GT2 6mm Timing Belt Tensioner Torsion Spring – 5 Pcs
    GB-3DDF-1426

    Belt tensioner springs keep the belt tight

    × 1₹21₹21
  • Screws, Bolts and Dowel Pins
    GB-MECH-0015

    Screws, bolts and pins for the frame

    × 1₹10₹10
  • Brass Hex Standoff M3 (Pack of 4)
    GB-MECH-0071

    Brass M3 standoffs for the electronics

    × 1₹14₹14
  • Motor Mounting Bracket
    GB-MECH-0008Guide

    Motor and end-plate brackets

    × 1₹49₹49
  • 16mm Rotary Potentiometer (Linear)
    GB-PASV-0003Guide

    Speed knob

    × 1₹14₹14
  • Electrolytic Capacitor by Value
    GB-PASV-0031

    100 µF capacitor across the driver's motor supply

    × 1₹15₹15
  • DRV8825 Stepper Motor Driver with Heatsink
    GB-MOTR-0016Guide

    Lower-cost driver; louder than the TMC2209

    × 1₹99₹99
  • Motor Shaft Coupler
    GB-MECH-0005

    Shaft coupler if you switch to a lead screw

    × 1₹100₹100
  • Two Trees T8 Anti-Backlash Lead Nut for 8mm Threaded Rod
    GB-3DDF-1543

    Anti-backlash T8 nut for a lead-screw version

    × 1₹118₹118
  • Ball Bearing (More Sizes)
    GB-MECH-0012

    Spare ball bearings for idlers

    × 1₹22₹22
  • Deep Groove Ball Bearing 6000 Series
    GB-MECH-0066

    6000-series bearing for a heavier pan axis

    × 1₹20₹20
  • OpenBuilds Wheels and Hardware
    GB-MECH-0107

    OpenBuilds wheels for a V-slot extrusion version

    × 1₹223₹223
  • DIY Aluminium Tube (Round)
    GB-MECH-0112

    Aluminium tube for legs or a lightweight frame

    × 1₹250₹250
  • Precision Carbon Fibre Pultruded Tube
    GB-MECH-0116

    Carbon fibre tube for a light outrigger

    × 1₹3,400₹3,400
  • SimpleFOCmini BLDC Motor Driver
    GB-MOTR-0028Guide

    SimpleFOCmini BLDC driver for a silent gimbal-motor pan axis

    × 1₹729₹729
  • STEPPERONLINE Digital BLDC Motor Driver
    GB-MOTR-0027Guide

    Industrial BLDC driver for a long, heavy slider

    × 1₹2,689₹2,689
  • ULN2003 Stepper Motor Driver Board
    GB-MOTR-0022Guide

    ULN2003 driver for a small 28BYJ-48 tilt motor

    × 1₹49₹49
  • NEMA8 (20mm) Hybrid Stepper Motor
    GB-MOTR-0037Guide

    Tiny NEMA 8 stepper for a compact focus drive

    × 1₹1,999₹1,999
  • TB6560 3A Single-Axis Stepper Motor Driver
    GB-MOTR-0018Guide

    3 A driver for a NEMA 23 heavy version

    × 1₹423₹423
  • Heat Sink (Electronics)
    GB-MECH-0017Guide

    Small heat sink for the driver chip

    × 1₹9₹9

Complete kit

30 of 30 parts in one tap

₹12,662

GST included

3% off these parts while the whole kit stays in your cart

Parts you still need

₹12,662

30 of 30 parts. Tick anything you already have.

About ₹3,79,860 before bulk pricing for 30 kits.

Request bulk quote

Tools you'll need

  • Digital Vernier Caliper (Branded)
  • Digital Multimeter
  • 24 in 1 Precision Screwdriver Set

Learn the parts

  • ESP32 vs Arduino Uno
  • TMC2209 and TMC2208 Stepper Driver
  • Linear Rails, Lead Screws, Belts and Bearings for Machines
  • Project Enclosures, Standoffs and Screws
  • 16x2 LCD with I2C
  • DRV8825 Stepper Driver
  • SimpleFOCmini BLDC Motor Driver
  • STEPPERONLINE BLD-305S Digital BLDC Motor Driver
  • Stepper Motors and Drivers
  • NEMA 8 (20 mm) Hybrid Stepper Motor
  • TB6560 3A Single-Axis Stepper Driver
  • Heatsinks, Fans and Thermal Paste

Calculators for this build

  • Voltage divider calculator
  • Standard resistor value finder (E-series)
  • ADC resolution and voltage calculator

Wiring

Follow the colours: red is power, dark grey is ground, blue is a signal.

12 V 2 A supply (sold separately). Never unplug the motor while the driver is powered.

PartPinConnect toNote
TMC2209STEP / DIR / END3 / D4 / D5EN low enables the motor
TMC2209VM / GND12 V + / 12 V −100 µF across VM and GND, close to the driver
TMC2209VIO / GNDNano 5V / GND
StepperA1 A2 B1 B2Driver coil outputsCheck the coil pairs with a multimeter
Speed knobWiperA0Ends to 5V and GND
  • TMC2209STEP / DIR / EN → D3 / D4 / D5EN low enables the motor
  • TMC2209VM / GND → 12 V + / 12 V −100 µF across VM and GND, close to the driver
  • TMC2209VIO / GND → Nano 5V / GND
  • StepperA1 A2 B1 B2 → Driver coil outputsCheck the coil pairs with a multimeter
  • Speed knobWiper → A0Ends to 5V and GND
Built it? Check your wiring before you power up.Pick the pin each wire went to and we'll point out swapped pins, power mistakes and pins that clash.

Step-by-step build

0 of 6 done

Code

camera_slider.inoVerify & upload in Electrolark
#include <AccelStepper.h>
AccelStepper motor(AccelStepper::DRIVER, 3, 4);   // STEP, DIR
const int EN = 5, POT = A0;
const float STEPS_PER_MM = 200.0 * 16 / 40.0;     // 1.8° motor, 1/16 microstep, GT2 20T = 40 mm per turn
const long TRAVEL = 330 * STEPS_PER_MM;            // usable travel in steps

void setup() {
  pinMode(EN, OUTPUT); digitalWrite(EN, LOW);
  motor.setMaxSpeed(4000);
  motor.setAcceleration(800);
  motor.moveTo(TRAVEL);
}

void loop() {
  float mmPerSec = map(analogRead(POT), 0, 1023, 1, 50);   // 1 to 50 mm/s
  motor.setMaxSpeed(mmPerSec * STEPS_PER_MM);
  if (motor.distanceToGo() == 0) motor.moveTo(motor.currentPosition() == 0 ? TRAVEL : 0);
  motor.run();
}

Run it: what this code does

The sketch above runs here on a simulated Arduino Nano. Move the sliders for the sensors and buttons it reads, and watch the Serial monitor, display and outputs change.

Troubleshooting

Motor hums but does not turn+

One coil pair is swapped; check pairs with the multimeter (low resistance means the same coil).

Carriage sticks in the middle+

The rods are not parallel. Loosen the supports, slide the carriage to each end and retighten.

Driver gets very hot+

Lower the current trimmer and add the heat sink; the TMC2209 cuts out when it overheats.

FAQ

How heavy a camera can it carry?+

A mirrorless camera and small lens is fine on 8 mm rods; heavier rigs need thicker rods or V-slot rails.

Can I use a lead screw?+

Yes, for slow, precise moves. Use a coupler and a T8 nut, and set STEPS_PER_MM to 400 for an 8 mm lead.

Is a belt accurate enough?+

Yes for video and time-lapse; GT2 belts are used in most 3D printers.

What parts do I need to build the motorised camera slider with a NEMA 17 stepper and belt drive?+

30 parts: Nano CH340 Development Board (Soldered), NEMA 17 2.6 kg-cm Stepper Motor 42HS34-0404 D-Type, Stepper Motor Mounting Bracket (NEMA17, NEMA23, NEMA34), TMC2209 Stepper Motor Driver, 2 × 8mm x 400mm Chrome Plated Smooth Rod, 4 × Shaft Support Bracket, 2 × LM8LUU Linear Motion Bearing, Pillow Block / Flange Bearing 8mm, GT2 20-Tooth Timing Pulley, 5mm Bore for 6mm Belt, GT2 Open Ended Timing Belt, 6mm Width, Steel Wire Core, plus 20 more. Tools: Digital Vernier Caliper (Branded), Digital Multimeter and 24 in 1 Precision Screwdriver Set. On this page you can tick the parts you already have and add only the rest to your cart.

How hard is it and how long does it take?+

It is a intermediate project and takes about 1 day. The build on this page has 6 steps.

Do I need to write the code myself?+

No. This page has the complete, tested code (camera_slider.ino).

Can I see what the code does before I build it?+

Yes. The Run it panel under the code runs this exact sketch on a simulated board. Move the sliders or press the buttons for the sensors it reads, and the Serial monitor, display and outputs react as they will on the real build. It is a simulation, so real readings depend on your parts and wiring.

How much does the motorised camera slider with a NEMA 17 stepper and belt drive cost to build?+

About ₹12,662 for the parts at the prices on this page, plus tools if you do not have them. Quantity price breaks lower the cost when you build several.

What will I learn from this project?+

Steps per millimetre for a belt drive; Acceleration with AccelStepper; Aligning rods and bearings so nothing binds.

Is it safe to build?+

Keep fingers clear of the belt and pulley when the motor runs. Disconnect power before you adjust the mechanics.

What can I build next with these parts?+

Ideas that reuse this build: CNC shield belt linear axis. They are listed under Take it further on this page.

Take it further

  • CNC shield belt linear axis

Related projects

  • UNO18650
    Motor & actuator
    Beginner· 2 hours

    Touchless hand sanitiser dispenser

    Hold your hand under it and a metal-gear servo presses the pump for you.

    ₹823 · 7 partsArduino
  • UNO
    Motor & actuator
    Beginner· 1–2 hours

    Automatic dustbin lid

    Wave your hand and the lid lifts by itself, then closes after three seconds.

    ₹496 · 6 partsArduino
  • UNO
    Motor & actuator
    Beginner· 30 minutes

    Control a servo with a knob

    Your first motion project: turn the knob and the servo follows.

    ₹441 · 6 partsArduino
  • NANO
    Motor & actuator
    Intermediate· 1–2 hours

    Precision servo positioner

    Dial in an exact servo angle, 2° per click, shown on screen.

    ₹570 · 6 partsArduino

Learning project. Check every circuit and the datasheet of each part before you power it up.

Run itChange the inputs and watch the output
Stepper motor 2700 steps
D5 OFF

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question Share your build