Linear Actuator PQ-12-R by Actuonix

Hi everyone!

I juste bought this little actuator (PQ12-R Micro Linear Servo | Actuonix) from actuonix and didn't see someone who already used it with an arduino.
It says that it is compatible with an arduino board.

I have no idea how can I use it and I am calling for your help :smiley:


They are used just like a regular hobby servo. You will need an external power supply for the servos. Arduinos just can't supply enough current for a servo (especially one under load) nor can they supply 6V. A 4 AA battery pack is a good choice for power. Connect the + of the battery to the + of the servo, the control line to an Arduino pin and the - (ground) of the battery to the - (ground) of the servo and Arduino ground.

The Servo library that is included with the Arduino IDE makes using servos easy.

A wee test sketch: :slight_smile:

 Try this test sketch with the Servo library to see how your
 servo responds to different settings, type a position
 (0 to 180) or if you type a number greater than 200 it will be
 interpreted as microseconds(544 to 2400), in the top of serial
 monitor and hit [ENTER], start at 90 (or 1472) and work your
 way toward zero (544) 5 degrees (or 50 micros) at a time, then
 toward 180 (2400). 
#include <Servo.h>
Servo servo;

void setup() {
  // initialize serial:
  Serial.begin(9600); // set serial monitor baud rate to match
                  // set serial monitor line ending to Newline

void loop() {
  // if there's any serial available, read it:
  while (Serial.available() > 0) {

    // look for the next valid integer in the incoming serial stream:
    int pos = Serial.parseInt();
    // look for the newline. That's the end of your sentence:
    if ( == '\n') {}
void prntIt()
  Serial.print("  degrees = "); 
  Serial.print("microseconds =  ");

Hi, I wanted to ask, can I connect 5 of these linear actuators on an Arduino mega?

The Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega.

From the Servo library reference.

From the Servo library reference.

Then an Arduino UNO will be fine as well. Thank you very much!