Go Down

Topic: High Speed Actuator (Read 1 time) previous topic - next topic

zoomkat

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.
Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   8)

ScottA1

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

Code: [Select]
#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
   
  }
  }
}

Go Up