Pages: 1 [2]   Go Down
Author Topic: High Speed Actuator  (Read 1243 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
All you need is a threaded rod of the desired length, a captive nut that the rod drives, and a geared-down DC motor to rotate the threaded rod.

Don't forget you also have to mount the rod with radial support bearings and an axial thrust bearing.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 40
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you very much everyone. I've gone with a servo. It is so much easier to program. Check out the code...

Code:
#include "Servo.h"

Servo miservo;
int inBy;

void setup() {
  // attaches a servo connected to pin 10
  miservo.attach(10);  //attach servo to adafruit motor shield
  Serial.begin(9600); //open serial port
  miservo.writeMicroseconds(1450); //set beginning angle
}

void loop() {
  if (Serial.available() >0) {
    inBy = Serial.read();
  if (inBy == 'H') {
    miservo.writeMicroseconds(1900); //turn servo to the LEFT
      }
  if (inBy == 'L') {
    miservo.writeMicroseconds(1000); //turn servo to the RIGHT
   
  }
  if (inBy == 'C') {
    miservo.writeMicroseconds(1450); //turn servo to the CENTER
   
  }
  }
}
Logged

Pages: 1 [2]   Go Up
Jump to: