Hi everyone,
I have scoured the forums and for some reason am drawing a blank on this one.
I have a 12v track actuator connected to an H Bridge and am currently using the Movement Panel to operate it with my Zapper Arm. The actuator has limit switches so I just need it to travel forward and reverse to it's limits.
I need the Movement Panel for another device. Has anyone got a simple script example that I can use in the script manager? I just need to trigger full speed movement with directional control (forward / reverse).
Any help is appreciated.
Doug
Asked
— Edited
So something like
Sendserial (d2,38400,50)
Sleep (500)
I've got the current L298 plugged into the D10 and D11 ports. I'll have to figure out the baud rate, I believe speed would be 255.
Does that makes sense?
Thanks again,
Doug
H-Bridge tutorial...
Just for clarity for future, don't take this as me picking on your answer...
1) He said he has an LN298, so not serial, Rich's tutorial and your instructions for testing are correct.
2) A Serial H-Bridge does not require the UART. Any digital pin can send serial commands. Only the UARTs can receive serial. Simple serial mode on Sabertooth and Roboclaw are one-way only. No need to receive responses.
Alan
I appreciate everyone's feedback!
Doug
Code: