Project showcase
Slider Built with Recycled Printer Cart

Slider Built with Recycled Printer Cart © GPL3+

Slider for medium camera, with programmable speed and paths.

  • 1,901 views
  • 0 comments
  • 13 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
Adafruit motorshield V1
×1
old inkjet printer
×1
stepper motor generic
×1
Camera (generic)
×1
Power supply 12V 0,5A
×1

Necessary tools and machines

Corded Pillar Drills
screws
metal nuts

Apps and online services

Ide web
Arduino IDE
Mucha paciencia

About this project

This programmable slider was built at a very low cost. It is built with the cart of an old printer. I replaced the DC motor with a stepper, to have more movement control. The base and the head of the camera are made of wood and some screws and metal nuts. Being programmable allows many movements and speeds for both photography and video.

Code

Velocidad y detención a distancias programables.Arduino
// Slider con velocidad y detenciones a distancias
// determinadas editables. 


#include <AFMotor.h>

AF_Stepper motor(48, 2);

void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Stepper test!");

  motor.setSpeed(80);  // Cambiar velocidad según necesidad

  motor.step(100, BACKWARD, INTERLEAVE); 
  motor.release();
  delay(4000);        // Tiempo de detención en un lugar específico
}

void loop() {
  
motor.step(100, BACKWARD, INTERLEAVE); 
  delay(4000);

motor.step(100, BACKWARD, INTERLEAVE); 
  delay(4000);
  
motor.step(100, BACKWARD, INTERLEAVE); 
  delay(4000);

  motor.step(100, BACKWARD, INTERLEAVE); 
  delay(4000);

  motor.step(400, FORWARD, INTERLEAVE); 
  delay(4000);

}
Movimiento continuo con velocidad y aceleración programableArduino
// Slider de movimiento continuo
// con aceleracion y desaceleracion
// al arrancar y detenerse.

#include <AccelStepper.h>
#include <AFMotor.h>

AF_Stepper motor1(48, 2);

// you can change these to DOUBLE or INTERLEAVE or MICROSTEP!
void forwardstep() {  
  motor1.onestep(FORWARD, INTERLEAVE);
}
void backwardstep() {  
  motor1.onestep(BACKWARD, INTERLEAVE);
}

AccelStepper stepper(forwardstep, backwardstep); // use functions to step

void setup()
{  
      Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Stepper test!");
    
    stepper.setMaxSpeed(100.0);
    stepper.setAcceleration(100.0);
    delay(3000);
}

void loop()
{  
   stepper.runToNewPosition(0);
    delay(3000);
      
    stepper.runToNewPosition(400);
    delay(3000);
    

}

Schematics

Stepper connection
Conexion uno motorshield vqp00zkgh1

Comments

Similar projects you might like

Minimal MIDI Drum Kit with 3D Printer

Project tutorial by ryokosaka

  • 11,164 views
  • 1 comment
  • 31 respects

Digital 3D Printer Filament Counter Using PS/2 Mouse

Project in progress by ArtSuzhou

  • 8,440 views
  • 11 comments
  • 32 respects

3D Printer Filament Monitor for Arduino

Project showcase by Enrico Miglino

  • 2,893 views
  • 3 comments
  • 15 respects

Wifi-Controlled Precision Camera Slider

Project showcase by Ben Brandt

  • 21,301 views
  • 3 comments
  • 63 respects

Smart 3D Printer Filament Counter (FilamentBot)

Project tutorial by ArtSuzhou

  • 9,117 views
  • 3 comments
  • 25 respects

3D Printer Thermal Runaway Watchdog / Thermistor Tester

Project tutorial by ArtSuzhou

  • 6,718 views
  • 4 comments
  • 26 respects
Add projectSign up / Login