The problem comes when trying to make functions controlling it by the number of arduino port. I think the program is good, but I can not make it work. Any ideas?. Attached photo and programming to provide you see my error.
I consulted pages on people who have managed to make it work, and do not understand that you can go wrong.
At first I used only feeding USB of arduino, but when I read some post on the board, they said feed the enter of the servos with 7V. I did that, but still was still not working, Then I read in another post of this forum that were to be common ground.
In move() it looks like you In move() it looks like you need to follow the entire command string with Serial.print("\n\r"). I would change your final Serial.println(time) to a Serial.print(time) if you follow my suggestion.
If this string doesn’t work, you can try Serial.print(0x0D); Serial.print(0x0A);
I don’t like the delay(time) at the end of move() because then you couldn’t move multiple servos at the same time. Though you would have to find some way of remembering which servos were moving.
I find it difficult to believe that there isn’t a servo library for this board.
How do you read the voltage How do you read the voltage on the servo pins? At maximum it would be a 2 mSec pulse every 200 mSec. So if the servo Vcc was 6v, I’d expect a reading of 0.6v between the signal and ground.