3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Request: How to wire a Firgelli L16P to an arduino

Hi, everybody.

If you followed my instructables you know I'm always building robots.  I'm trying to assemble a Stewart platform using Firgelli L16P linear actuators.  My problem is that I can't seem to get the Arduino PWM to talk to the firgelli RC servo interface.  I have...
- 12v running to controller pins 1 (-) and 2 (+)
- arduino PWM pin 3 to controller pin 3
- controller pin 1 to arduino GND (for common ground)

and I'm running a version of the servo sweep example sketch, modified to run on pin 3.
The actuator doesn't move.

I've tested the control board with the PC control software from Firgelli (works) and I've tested the arduino with a TowerPro SG5010 I had lying around (also works).

Notice the controller LED will NOT come on in this configuration, but once I remove the common ground the light turns on.

So what am I missing?

photo2.JPG
15 comments
sort by: active | newest | oldest
May 6, 2012. 8:53 PMjpf56z says:

hey, i am using a l16p,Firgelli Linear actuator and wired it up the same as you did. I am trying to make it sweep out all at once and retract all at once. However it sweeps out in increments and also retracts in increments. It's not all in one motion. Any ideas what this could be?
May 6, 2012. 9:13 PMjpf56z says:
I am reading on the comments below and do you believe that my problems could be that i am using the servo library to control the actuator? Would posting my code also work? But i will also be posting up a youtube video so that you can also see.
May 7, 2012. 4:00 AMjpf56z says:
This is the youtube video demonstrating how the actuator extends and retracts in increment.

http://www.youtube.com/watch?v=1Wtb4oZuYog

The code is the following:

http://pastebin.com/JgeVa9E7

Hope this helps and you can help me out. Thanks
May 6, 2012. 10:36 PMjpf56z says:
Yeah that's fine with me. Im sure it something with my code im just not sure what it can be i used the sweep example sketch and there is movement. I modified the code so that it simply extends and then retracts.
May 7, 2012. 5:34 AMsteveastrouk says:
You have a delay between the 150 and 30 move, but not between the 30 and150 move. I suspect that upsets the electronics.
May 10, 2012. 1:54 AMjpf56z says:
So I finally figured out what the problem was. The speed potentiometer on the LAC board was turned counterclockwise to the slowest speed. After turning the potentiometer clockwise to a faster speed, the issue was resolved. The actuator moves much faster and smoother now.

Than you for the help aggrav8d and steveastrouk.
Aug 25, 2011. 11:36 AMbrittohalloran says:
You didn't say it explicitly but I think you're trying to use the arduino servo library, which is wrong. This Firgelli controller board is going to handle the servo output for you, you just need to feed it 0-3.3V (analog) or 3.3V, 1kHz PWM (digital). The arduino servo library is meant for connecting directly to a servo.

I think the very last section ("Control Modes") of this PDF will help you:
http://www.firgelli.com/pdf/LAC_datasheet.pdf
Aug 25, 2011. 11:46 AMbrittohalloran says:
So I think your wiring is correct, just try an analogWrite(pin,value) on pin 3:

analogWrite(3,255); // fully extended
analogWrite(3,0); // fully retracted
analogWrite(3,100); // partially extended
Aug 25, 2011. 11:48 AMbrittohalloran says:
BUT arduino is 5V and firgelli is expecting 3.3, so analogWrite(3,168) is full open
Aug 14, 2011. 2:13 AMsteveastrouk says:
Got an oscilloscope ?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!