I am trying to simply reverse the direction of a BLDC motor with software alone via arduino. Looked everywhere but there is very little info on this at the time of writing this post. I found this quote on amazon:
"must write.microseconds of 1480 to initialize the esc on startup (neutral). This will then allow you to go reverse with values under 1480, and go forward with values above 1480."
This seems pretty straight forward, but I don't know how to initialize the ESC on startup as neutral!!
I have tried max and min, but that's 2 values.
So far everything I tried will spin the motor forward, but not reverse it. Does anybody know how to reverse a BLDC motor within the Arduino IDE?
Use writeMicroseconds() to write the neutral value to the ESC before you call the attach() function, then use write.Microseconds() to control the ESC subsequently
It will depend on what ESC and BLDC you're trying to use. Aircraft ESCs do not have a reverse mode. Some car and boat ESCs do, some don't. Details matter!
I found it under review comments for a different ESC which I also ordered just to be sure since it said it's "Bidirectional". The comment is titled [Arduino initialization] and the link is:
So which ESC are you actually testing ?
Most ESCs cannot run a brushless motor in forward and reverse without physically changing the connections to the motor
That ESC is not reversible in any real time fashion. It can be programmed on startup to rotate in either direction which is basically the same as swapping any 2 motor leads. But that's all.
The other ESC looks like it can be reversed with somewhere around 1480 being stop and lower values being one direction, higher values the other.
After reading more into it, looks like the one I am using now is NOT reversible. I will post the code here once I get the other one working. It is still in transit. Thank you.