I'm controlling a brushless DC motor using an ESC, lipo battery and arduino. Currently I can control the motor in a counter clockwise direction. I can change the direction by switching two wires from the motor to the ESC.
Is there a way to switch directions of the motor through the programming alone?
Or is it mandatory to have additional hardware to make the motor switch directions? (ie: a double pole double throw as shown in this video Arduino Brushless DC Speed AND Direction Control Setup (Part 2) - YouTube)
I know "myservo.write(100);" can gives the motor a speed, and was really hoping that just making the number negative would switch directions. This doesn't seem to be the case though.
Thank you in advance for an answer.