Project showcase
DIY Small Linear Stage

DIY Small Linear Stage © MIT

This is a cute linear stage that's about the size of a business card.

  • 2,582 views
  • 2 comments
  • 4 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

Apps and online services

About this project

This is just a small and simple stage.

It is easy to make.

Mechanism

The mechanism is also simple, converts rotational motion of a motor to linear motion useing a screw.

Demo

Images

Code

DIY small stage testArduino
/*
DIY small stage test
 
   * Press the button(PBS1) connected to Arduino pin8 to run a stage foward.
   * Press the button(PBS2) connected to Arduino pin9 to run a stage reverse.
   
*/

#define PBS1 8
#define PBS2 9
#define MOTOR1 2
#define MOTOR2 3
int s1=0,s2=0;

void setup() {
  pinMode(PBS1, INPUT);
  pinMode(PBS2, INPUT);
  pinMode(MOTOR1 , OUTPUT);
  pinMode(MOTOR2, OUTPUT);
}

void loop() {
   s1=digitalRead(PBS1);
   if(s1==0) {						// While button is pressed...
    digitalWrite(MOTOR1, LOW);		//Motor direction:CW
    digitalWrite(MOTOR2, HIGH);		//Motor direction:CW
    delay(50);                     	//Debounce
   }
   else {						
    digitalWrite(MOTOR1, LOW);		//stop
    digitalWrite(MOTOR2, LOW);		//stop
    delay(50);                     	//Debounce
   } 
   s2=digitalRead(PBS2);
   if(s2==0)	{					// While button is pressed...
    digitalWrite(MOTOR1, HIGH);		//Motor direction:CCW
    digitalWrite(MOTOR2, LOW);		//Motor direction:CCW
    delay(50);                     	//Debounce
   }
   else	 {
    digitalWrite(MOTOR1, LOW);		//stop
    digitalWrite(MOTOR2, LOW);		//stop
    delay(50);                     	//Debounce
   }
   }

Schematics

Small-stage-test
Press the button(PBS1) connected to Arduino pin8 to run a stage foward.
Press the button(PBS2) connected to Arduino pin9 to run a stage reverse.
English small stage test oxyrfog5ee

Comments

Similar projects you might like

DIY Voltmeter with Arduino and a Nokia 5110 Display

Project tutorial by Nick Koumaris

  • 9,544 views
  • 6 comments
  • 20 respects

Matrix Orbital GTT TFT Thermometer Stage 1

Project tutorial by MatrixOrbital

  • 5,785 views
  • 0 comments
  • 14 respects

Matrix Orbital GTT TFT Thermometer Stage 2

Project tutorial by MatrixOrbital

  • 601 views
  • 0 comments
  • 2 respects

Linear Motion Plotter

Project in progress by Kramick Saha

  • 3,114 views
  • 2 comments
  • 9 respects

DIY Smart Cane Using Arduino

Project tutorial by suhail jr

  • 10,784 views
  • 1 comment
  • 16 respects
Add projectSign up / Login