Hi, i have successfully used the Arduino along with this AC servo with simple programs etc.
I now would like to get output from the servo driver to the Arduino to know position. Here is the sketch i made in an attempt to wire the encoder output of (A B Z) where cz is signal open-circuit output as you can see more details in the manual diagram that i also posted. Is the wiring correct because i wanted to test a simple code like this but am getting nothing (suppose to manually rotate the rotor to see if any reading on serial):
Just hooked up A+ to pin 2 works. I see data in serial monitor when rotor moves. Question is, is there a way to know the starting position of the rotor or encoder after power on?
After more research today: Yes, you are able to go to a starting point, given that the point has been placed after the power is turned on. Once the power is off, the encoder will lose its current position and if the rotor gets moved while power is off, after powering on, the starting point would be different because the rotor moved. To my understanding, the only way is to buy a new servo with an "absolute" encoder not an incremental encoder (current motor), or buy an extra external absolute encoder, or to use some kind of "home position sensor" which i have yet to find.