Iot enabled robot cat using nodemcu esp 8266 and pca9685 to control 11 different servos

Hi,
I'm trying to make a robot cat based on the project linked here and I'm finding it difficult to program the nodemcu to move the legs in the required manner. I'm also trying to make an android app to control the robot

I'm making this robot as a part of a working that I'm planning to take for my juniors and school students

What is the difficulty?

Are you using functions for each primitive movement? Do your servos have sufficient power? Are you testing each small addition to your program?

im unable to find out a way to send the foot of the bot to the position its supposed to be
with servo function it is possible since im using i2c im having trouble finding the current loc and making the kinematics eqn for the same

yes
servos have a seperate power supply via the pca module
writing the code for the motion is the confusing part for me

Maybe this could help

IF it is confusing, then you are not putting the movement of each servo into a separate function so you can call that function some number of times to get that motion. When you combine all the primary movement function calls for an appendage and do each function the required number of times, you will get the motion you want.

Look here the it use to have the code posted but don’t know any more. You’ll have to dig around

i tried this repo but they removed the code and also put up fake links

i think i have managed to solve the code
inverse kinematics helped me...also using multiple functions for each servo.

Can anybody share the petoi cat code with me? I'm doing a project and I would like to make this cat, but i'ts making me impossible to find the code. Thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.