
For the first iteration of the design, I created a CAD model of the legs. The design incorporated lego robotics servos for actuation, which were the only motors I had available at the time. These servos were really tricky to work with as they were not designed to be controlled by an arduino. They had a quadrature encoder that I had to decode in software, and the microcontroller struggled to keep up with the encoder signals while also controlling the motors. You can see in one of the next videos that this leads to a lot of overshooting and control problems in the legs.

For the first iteration of the design, I created a CAD model of the legs. The design incorporated lego robotics servos for actuation, which were the only motors I had available at the time. These servos were really tricky to work with as they were not designed to be controlled by an arduino. They had a quadrature encoder that I had to decode in software, and the microcontroller struggled to keep up with the encoder signals while also controlling the motors. You can see in one of the next videos that this leads to a lot of overshooting and control problems in the legs.

As previously alluded, I had to hack together a way to control the motors and read the encoders using an arduino. This involved a lot of trial and error, but eventually I got it figured out. This is a pic of the breadboard I used to test one motor and get it working with the encoder. Feel free to reach out if you want to see exactly how to wire up these motors and read the encoders.

As previously alluded, I had to hack together a way to control the motors and read the encoders using an arduino. This involved a lot of trial and error, but eventually I got it figured out. This is a pic of the breadboard I used to test one motor and get it working with the encoder. Feel free to reach out if you want to see exactly how to wire up these motors and read the encoders.

Here is a pic of the assembled legs, both the lego motor version and DS 3218 version.

Here is a pic of the assembled legs, both the lego motor version and DS 3218 version.

For the first iteration of the design, I created a CAD model of the legs. The design incorporated lego robotics servos for actuation, which were the only motors I had available at the time. These servos were really tricky to work with as they were not designed to be controlled by an arduino. They had a quadrature encoder that I had to decode in software, and the microcontroller struggled to keep up with the encoder signals while also controlling the motors. You can see in one of the next videos that this leads to a lot of overshooting and control problems in the legs.

For the first iteration of the design, I created a CAD model of the legs. The design incorporated lego robotics servos for actuation, which were the only motors I had available at the time. These servos were really tricky to work with as they were not designed to be controlled by an arduino. They had a quadrature encoder that I had to decode in software, and the microcontroller struggled to keep up with the encoder signals while also controlling the motors. You can see in one of the next videos that this leads to a lot of overshooting and control problems in the legs.

As previously alluded, I had to hack together a way to control the motors and read the encoders using an arduino. This involved a lot of trial and error, but eventually I got it figured out. This is a pic of the breadboard I used to test one motor and get it working with the encoder. Feel free to reach out if you want to see exactly how to wire up these motors and read the encoders.

As previously alluded, I had to hack together a way to control the motors and read the encoders using an arduino. This involved a lot of trial and error, but eventually I got it figured out. This is a pic of the breadboard I used to test one motor and get it working with the encoder. Feel free to reach out if you want to see exactly how to wire up these motors and read the encoders.

Here is a pic of the assembled legs, both the lego motor version and DS 3218 version.

Here is a pic of the assembled legs, both the lego motor version and DS 3218 version.