Relatively new to CS and currently using a CR10X and PC200w to collect data and drive a number of output actions:turn on/off pumps, lights, etc. Curious to know if anyone can direct me how to control a linear actuator, if at all possible? I figure I can open (extend) the actuator using the simple control function from PC200w, but how to reverse the polarity to close (contract) the actuator. Any ideas, suggestions, example, or leads is greatly appreciated.
* Last updated by: EricVal on 2/28/2010 @ 11:55 AM *
http://en.wikipedia.org/wiki/H-bridge is the circuit you are looking for.
You can do it most simply with four switches or solid-state relays, but then you are dependent on software to keep wo switches on the same side of the motor from being on simultaneously, shorting out the power supply.
In your case I'd go with a DPDT relay for "direction" and another driver for "motor on". Saves two ports and eliminates the failure condition above. Deactivate the "direction" relay to save a little power when you aren't moving.