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.

  • 5,579 views
  • 2 comments
  • 8 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 Glove Controlled Robotic Hand

Project showcase by Laurence Lai

  • 692 views
  • 1 comment
  • 7 respects

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 7,786 views
  • 2 comments
  • 23 respects

DIY Unusual Linear Clock

Project tutorial by Mirko Pavleski

  • 1,200 views
  • 1 comment
  • 4 respects

DIY Retro Look FM Radio with Linear Scale

Project tutorial by Mirko Pavleski

  • 4,596 views
  • 0 comments
  • 14 respects

Check a Stepper Motor From the DVD-ROM

by Ingo Lohs

  • 42,573 views
  • 2 comments
  • 48 respects
Add projectSign up / Login