for this project I have four robotzone 4-2 linear servos, since is just a scale model i dont want to receive feedback from the servos or make them move with specifics loads, i just plan to make them move by random pulsations at a an amplitude of 4 inches probably.
Is it possible to do this with an arduino uno and its respective power supply?
Very probably. If you meant its an external power supply that handles the current needed by four actuators.
We'll see if your actuators are naked or if they have a servo controller build in.
If it's just a motor you can make go left and right controlled only by limit switches the code will be a bit more involved than just using the servo library like we see in the IDE servo sweep example.
Yes I will be using a 12V 30A external power supply, I was planning to make the 4 servos do random movements by using a on/off switch which i think it relies more on the code but i feared i might need to buy a servo control module, something like a PCA9685
I'm not sure what you mean, this actuator works on servo signals and I would guess that 0 "degrees" would be fully extended and 180 fully retracted or vice versa.
@jooffles - the servo library accepts alternate ranges for either control by angle or by pukse width in microseconds, so you can be assured that full range full control is possible.
I didn't see your 12V 30A power supply statement in my haste. If you move them all at once there will be a maximum current; you can get away supplying less if you don't move them all at once.
You would send "random" servo commands to position the actuators at different extensions between fully retracted and fully extended (4" stroke). The program must take into account the time that the linear servo actuator needs to make a commanded move, and delay accordingly between commanded moves.
writeMicroseconds()
Writes a value in microseconds (us) to the servo, controlling the shaft accordingly. On a standard servo, this will set the angle of the shaft. On standard servos a parameter value of 1000 is fully counter-clockwise, 2000 is fully clockwise, and 1500 is in the middle.
The timing of the linear servo PWM pulse, corresponding to given extensions, is stated on the product page:
PWM Signal (Fully Retracted) 1900µs
PWM Signal (Fully Extended) 1100µs
I will say: No. This is not a real servo. It's a DC motor controlled device. Let be there is internal logic that translates the PWM to positions for the motor.
I can't tell if you are brewing agreeing or disagreeing. From the product page for the " Heavy-Duty Linear Servo" @jooffles linked to:
While a linear servo may appear similar to a linear actuator, it functions quite differently. A linear servo responds to a PWM signal - to achieve the same results, a linear actuator would require a motor controller with a feedback loop capable of responding to a PWM signal. The linear servo is designed to simply plug into a servo controller and run without any additional tuning or wiring from the end-user.
Yes, and no. It acts like a servo but it's not controlled the way common servos are controlled, as I read the datasheet.
The PWM from an UNO runs at ca 490 Hz, or the double, depending on pins, at standard setting.
Standard servo runs at a lower frequency, as I've experienced. 1.5 ms to 2.5 ms pulse width for 0 to max can't work at 980 Hz, in my opinion.