Made some progress on my hexapod code today. I have written a function that moves all 18 servos in little steps. I had to use the delay function though. I then made a sketch to move the body of the hexapod up and down as smoothly as possible.
You can see the result in the above video, this what’s possible with MG996R servos. These are cheap powerful Chinese servos, they don’t have the best reputation in the RC world because of their lack of accuracy. I’m quite happy with them, they seem to have lots of torque. Downside is that they are power hungry. It’s time for another Lipo recharge 🙂
Next step is to try and rewrite the code and replace the delay function with timer. Think I’ll need lots of timers to code a walking gait.