Go Down

Topic: Controlling a Firgelli linear actuator with Arduino Mega (Read 75 times) previous topic - next topic

firebirds11

Mar 19, 2017, 06:40 pm Last Edit: Mar 19, 2017, 06:52 pm by firebirds11
Hello,

I am trying to use a 6" Stroke Firgelli Linear Actuator with my Arduino MEGA. From what I understand, the actuator has limits of 1000 us and 2000 us. When I write myServo.writeMicroseconds(1000), the actuator is decreased all the way in. When I write myServo.writeMicroseconds(2000), the actuator is increased all the way out. However, I would expect myServo.writeMicroseconds(1500) to make the actuator go out about half way. However, when running the below code, the actuator does not move at all. Basically, I can't get the actuator to stop anywhere inbetween the limits.

Code: [Select]
#include <Servo.h>
  
Servo myServo;
#define PIN_SERVO (45)
 
void setup()
{
  Serial.begin(19200);
  Serial.println("Begin");

  myServo.attach(PIN_SERVO);
}
  
 
void loop()
{
  
   myServo.writeMicroseconds(1500);

}


The datasheet for the actuator is found here:

http://www.robotshop.com/uk/6-stroke-firgelli-automation-12vdc--35lb-force-linear-actuators-w--pot-feedback.html

The red and black wires are connected to the sabretooth that we are using for a motor controller. There are 3 wires for feedback, but we are not using those right now.

Thanks so much for any help! Also, I realize this was probably the wrong forum for it, and I apologize.

jremington

The actuator is just a motor with some gearing and a position feedback potentiometer. You misunderstand how to use it.

Post a link to the product page for the "sabretooth" and post your wiring diagram (not Fritzing, please).  If the sabretooth is a servo-type driver, it will not work without proper position feedback.

ardy_guy

Afaik, only the -R Firgellis operate like servos.

[irishAccent]Have you tried turning it off and on again?[/irishAccent]

firebirds11

#3
Mar 19, 2017, 07:39 pm Last Edit: Mar 19, 2017, 07:51 pm by firebirds11
The actuator is just a motor with some gearing and a position feedback potentiometer. You misunderstand how to use it.

Post a link to the product page for the "sabretooth" and post your wiring diagram (not Fritzing, please).  If the sabretooth is a servo-type driver, it will not work without proper position feedback.
Thank you for the help. Here is the diagram. Hopefully this is sufficient. The white wire next to the red is technically black for the power wires. Also, S2 is also being used with M1A and M1B to power another motor.

 

Here is the datasheet for the sabretooth:

https://www.dimensionengineering.com/datasheets/Sabertooth2x25.pdf

Product page:

https://www.amazon.com/Sabertooth-Dual-25A-Motor-Driver/dp/B008OMQUXC

Thanks again.


 

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy