Hey guys I want to move the linear actuator with the joystick. I can't find a good tutorial on the internet. Does anyone know a good resource for it??
Thanks.
Hey guys I want to move the linear actuator with the joystick. I can't find a good tutorial on the internet. Does anyone know a good resource for it??
Thanks.
Hello crabnebula
Keep it simple and stupid.
Run some tutorials to the hardware selected.
If you are happy with the results of the tutorials you can merge these to the project by using control structures.
Have a nice day and enjoy coding in C++.
There are linear actuators that you will drive just like a servo, or there are actuators that you drive like a DC motor.
What are you building?
I think the first one. Once the x value of the joystick increase, the actuator should come out, and when it's decreased it should retract.
You should be able to use the servo examples. They are really straight forward.
Ok I thought actuators will be different. Thanks a lot ![]()
The example "File -> Examples -> Servo -> Knob" should be directly applicable to each axis of the joystick. Connect the signal from the Joystick to 'potpin' and connect the linear actuator to Pin 9 (the one 'attached' to the Servo object).
Thanks, John I will try it ![]()
Hi,
Can you please post link to data/specs of your linear actuator?
How are you powering the actuator?
There are many linear actuators, some come with control circuitry some don't, some take servo PPM type inputs, others take pulse or analog inputs.
Thanks.. Tom...
![]()
I will let you know Tom, I just get into something else. I will it soon.
Hey, guys thanks a lot it's working now I have used Sabertooth instead of MOSFET and used the Servo knob code as told by @johnwasser and @haywardt.
Thanks a lot, guys. ![]()
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.