Whenever I use the sequence of the codes for the robot movement without switch on / off the output from Arduino, the robot program is executed properly. But when I include the output control commands such as the output ON / output OFF, the program gets stuck in the middle or gets hanged up in that particular. Therefore I have to again reconnect the system by unplugging and then plugging back in. Any ideas on How to resolve the error?
Does the output actually change? Can you measure 5V across the output pin?
Are you using the most recent software versions?
Do you have the correct com port selected for the arduino?
The output does changes to 5 V.
For AR3 robot there is only one version of software available from the Annin robotics website.
Yes I selected the correct com port, because the program work properly with the inputs present. Only when it comes to the outputs, the above stated problem occurs