Image 1 — Anatomy of My Six Legged Robot
Image 2 — Anatomy of My Six Legged Robot
Image 3 — Anatomy of My Six Legged Robot
▲ 8 r/esp32

Anatomy of My Six Legged Robot

Hi folks,

I finally got around to finishing the documentation for my hexapod robot dog, The hardest part to figure out was powering the servos directly from buck converters and setting up the common ground bus to PCA boards, I believe this might be a pain in the neck for many first timers so I am sharing the full wiring diagram here for anyone to benefit.

I also put together a detailed documentation for the robot itself. I contains information about the parts I used for the robot and how the joint servos are wired across the two PCA board pins.

You can download the diagram, documentation and the design file form the links below if you are interested in building one yourself or would like to use it as reference for a similar project.

Documentation and Diagram:

https://www.patreon.com/PrintedRobotics/posts/hexadog-zbd-and-167021077

https://app.cirkitdesigner.com/project/0a1ee9f8-8495-4f33-9e41-12ed67207672

CAD and 3D printing files:

https://makerworld.com/en/models/3181404-hexadog-zbd

https://www.patreon.com/PrintedRobotics/posts/hexadog-zbd-and-165170615

ESP32 Scripts and Android Controller app APK:

https://github.com/serdarselimys/HexaDogZBD-ESP32Scripts

https://github.com/serdarselimys/HexaDogZBD-AndroidControllerApp

I do have a question for you all, should I design and build a mini version of the robot with SG92R servos? If I can manage to keep the weight down enough it might be even more agile and cost under 100 bucks? has anyone tried building robot dogs or hexapod robots with SG92R? how was your experience with them??

I also share simulation tutorials along with my robot's other videos on my youtube channel youtube.com/@printedrobotics check it out if you are interested in simulation side of robotics, I share all my scripts for free so you can download them and experiment on your own.

As always, your comments and suggestions for my robot are most appreciated.

u/Xerd-R — 21 hours ago
▲ 146 r/arduino

Anatomy of a Six Legged Robot

Hi folks,

I finally got around to finishing the documentation for my hexapod robot dog, The hardest part to figure out was powering the servos directly from buck converters and setting up the common ground bus to PCA boards, I believe this might be a pain in the neck for many first timers so I am sharing the full wiring diagram here for anyone to benefit.

I also put together a detailed documentation for the robot itself. I contains information about the parts I used for the robot and how the joint servos are wired across the two PCA board pins.

You can download the diagram, documentation and the design file form the links below if you are interested in building one yourself or would like to use it as reference for a similar project.

Documentation and Diagram:

https://www.patreon.com/PrintedRobotics/posts/hexadog-zbd-and-167021077

https://app.cirkitdesigner.com/project/0a1ee9f8-8495-4f33-9e41-12ed67207672

CAD and 3D printing files:

https://makerworld.com/en/models/3181404-hexadog-zbd

https://www.patreon.com/PrintedRobotics/posts/hexadog-zbd-and-165170615

ESP32 Scripts and Android Controller app APK:

https://github.com/serdarselimys/HexaDogZBD-ESP32Scripts

https://github.com/serdarselimys/HexaDogZBD-AndroidControllerApp

I do have a question for you all, should I design and build a mini version of the robot with SG92R servos? If I can manage to keep the weight down enough it might be even more agile and cost under 100 bucks? has anyone tried building robot dogs or hexapod robots with SG92R? how was your experience with them??

I also share simulation tutorials along with my robot's other videos on my youtube channel youtube.com/@printedrobotics check it out if you are interested in simulation side of robotics, I share all my scripts for free so you can download them and experiment on your own.

Shout out to Adorable_Skirt_7760 I found out about https://app.cirkitdesigner.com from his post yesterday, which made my life a ton easier to produce the diagram for my robot.

As always, you comments and suggestions for my robot are most appreciated.

u/Xerd-R — 1 day ago

Help with Thumbnail please, Which one? and why? so I can learn.

I could really use some help with thumbnails, I will take any pointers. Its a video about my 3d printed robot, I am preparing the video for introducing it and telling its development story. nothing in too much detail just and overall story narrative of why and how it came to be.

If you have any suggestions on how to improve visual quality those are welcome too!

u/Xerd-R — 23 days ago
▲ 62 r/cats

Why are cats so intrigued by my robot dog??

Hi cat people, I have a serious question. Every time I take my robot outside, stray cats from all corners starts approaching my robot with great interest and often stays to hang around. Dogs hate him, they are often are scarred and agitated by it but not Cats. Stray cats of Istanbul has been my number audience since the first day I took my robot out for testing.

Do cats normally play with moving electronic toys? I have never seen one interact with any toys before, not small RC toy cars for chasing etc..., but for some reason they seem to like making friends with my robot.

Does anyone have similar story with another electronic toy ?? I never thought my robotics project would end up being a potential robo friend for pets but that seems to be where it is going :)

u/Xerd-R — 23 days ago

My imitation learning tutorial with scripts for those who want to experiment

Hi Everyone, I used imitation learning to train a small MLP as the control policy for my custom hexapod robot dog. I recently got a masters degree in applied machine intelligence and have been looking for a suitable platform to create a neural network from scratch.

Once I got a working controller with Inverse Kinematics solver, I decided to implement imitation learning in a simulation enviroment to see if it would replicate the IK solvers behavior and it worked!

I haven't tried running the neural network on ESP32 yet but I saw on Arduino sub reddit someone managed to run a 30 million parameter LLM on one so I am sure my 30k parameter controller network can work on it as long as I manage to pull it off myself.

I have been seeing a lot cool robotics projects here but not much on the simulation side, how often do you use simulations for development? what simulations do you use for which task?.

I share all my scripts in my GitHub, if you are interested you can find them from the link below.

https://github.com/serdarselimys/

For this project you can download the script directly from the link below in case if you dont want to watch the video

https://github.com/serdarselimys/Pybullet-ImitationLearning

If you watch the video and have any feedback please share them, either here or on the video comments section, I would love to get some feedback for parts that I can improve.

youtu.be
u/Xerd-R — 24 days ago
▲ 7 r/neuralnetworks+1 crossposts

Imitation Learning in PyBullet for Basic Neural Network Control Policy Creation

Hi Everyone, I used imitation learning to train a small MLP as the control policy for my custom hexapod robot dog. I recently got a masters in applied machine intelligence and have been looking for a suitable platform to create a neural network from scratch. We were heavily taught transfer learning for classification and never had a chance to create a working neural net from scratch.

Once I got a working controller with Inverse Kinematics solver, I decided to implement imitation learning on it to see if it would replicate the IK solvers behavior and it worked!

Its trained with a modest 2gb sized dataset (compared to LLM and CV datasets) which I generated by capturing robots input commands and output joint angles in, again, PyBullet simulations. I did experiment with varying the network size by half, double and quadruple but it didnt have much effect on trained MLPs performance, roughly 1 degree mean error compared to base IK solver output angles. Next I plan to vary the data capture logging rate by doubling it rather than just extending the capture time to give it more data resolution. I also plan to compare different types of networks basic MLP vs LSTM, Transformer, RNN etc.

Next I plan to implement reinforcement learning to create a helper network that will modify the base MLPs behavior. I am having trouble with my Robot climbing up inclines, I think that would be the best experiment for training the helper neural network. I also want to create another helper network to replicate the behavior of current analytics based body leveling mode.

What are you opinions of my approach? Is creating one base walking controller network with additional task specific modifier networks is a good idea?? I am will try to implement these control methods in ESP32 hence I am trying to build multiple small networks to be fired up on demand in order to allocate limited compute resources efficiently.

I share all my scripts in my GitHub, if you are interested you can find them from the link below.

https://github.com/serdarselimys/

youtube.com
u/Xerd-R — 28 days ago
▲ 9 r/robotics+1 crossposts

My Genetic Algorithm Robotics Implementation Tutorial Video

Hi everyone, I just uploaded my first tutorial video on YouTube and wanted to share it here to get your opinions about it.

its very short and simple tutorial for the subject matter but I figured since I shared my scripts anyone who is interested would like consult an Ai chatbot for their specific questions and the main point of the video is the briefly explain the main concepts and how it all works within PyBullet. if you have free 7 minutes, I would appreciate your thought and opinions about the video so I can improve for upcoming videos.

I know Genetic Algorithms are a bit yesteryears news but I remember watching a video about them on 2minutespapers YouTube channel years ago and since the moment I loaded my robot to PyBullet I wanted to try to implement the technique myself on my own project. Thats why its the subject of my first tutorial video.

I am also sharing the links to my GitHub repo for the scripts here as well in case if you dont want to watch the video but still interested in implementing genetic algorithm for robotics in PyBullet.

PyBullet Genetic Algorithm repo: https://github.com/serdarselimys/PyBullet-GeneticAlgorithm

PyBullet HexaDog ZBD control repo: https://github.com/serdarselimys/HexaDogZBD-PybulletDemo

For the next tutorial I am planning to cover Imitation Learning, again in PyBullet. Do you think thats an interesting subject?? I have been seeing a lot of videos on social media about manual laborers, mostly, textile workers are being made to wear POV cameras to capture their work to be used to train Neural Networks. I figured a tutorial explaining how digital movements are copied over to neural networks would be interesting.

youtube.com
u/Xerd-R — 1 month ago

HexaDog ZBD update, It can do Emotes Now :)

Hi everyone, as I started telling and showing my robot to people around me I noticed every time I tell people I built a robot they ask me "what it does" and a simple answer of "it walks" is not a sufficient answer it turns out, so I have been working on adding different emotes to it to entertain the general audience. You can check out the Emotes from the video above

Until I get it to talk and listen to voice commands with LLM integration, emotes are all I got. Let me know what other types of emotes you would want to see it do?? I am running out of Ideas, with six legs you would think I could come up with some better ones but so far my only original one is the Battle Mode, which is the bigger robot in the thumbnail.

Also I uploaded my first GitHub repository for the Robot. If anyone is interested you can download it following the instruction on the read me file and control the robot in PyBullet. The link for the repo is in the video description.

I am currently working on a short video tutorial for Optimizing the robots walking in Pybullet using genetic advancement, hope fully I will be done with it by the end of Tomorrow (Unlikely) and upload it to YouTube over the weekend.

Thank you all for the upvotes on my first post here, they have been quite uplifting and motivating to continue working on the robot. Its nice to get recognized by people working in the same field.

Follow up to : https://www.reddit.com/r/arduino/comments/1uv6p5d/my_hexapod_robot_dog_indoor_walking_test/

youtu.be
u/Xerd-R — 1 month ago
▲ 92 r/robots+3 crossposts

My Hexapod robot dog indoor walking test

I have been working on this project over the past 6 months. Its a 3d printed hexapod robot dog, I call it HexaDog ZBD (English Pronunciation of ZBD means raggedy in Turkish).

I used ESP32 S3 for its brains, 2x PCA9586 boards for servo connections, 18x DS3218 servos, 1x IMU, 3x 15a 300W buck converters and almost 2kg of PLA. Total robot weight is about 2.7KGs with 3s2p 18650 batteries (some sparks were created during the earlier design of the battery case)

I have been testing it indoors and outdoors I am quite happy and surprised for the amount of work I got out of ESP32. I plan to convert the control mechanism to a small neural network through imitation learning and run it on ESP32 as well if one core can handle the neural network while the other handles the WiFi access point and screen updates it will be golden!

Total BoM was a close to 400 USD in Turkey (Import Taxes), but I checked on Ali and if you source them form China you can lower the costs down to about 200 USD. Amazon US prices are close to 300 USD.

I plan to open source all desing files, scripts and android controller app APK. I am currently cleaning all my design files and scripts and organizing them so once I upload them there are no bugs. I wanted to get community opinion on it to see if anyone would also be interested in building one.

P.s. If you have a cat this would make a great robot friend for them, this has been tested and approved by stray cats of Istanbul.

There is a longer version of this video (with music) on my YouTube channel, printedrobotics in case if you wish to watch that one too. There is only one video so far, I am new at this.

I have now read the rules, after my first post attempt was removed, sorry I am new at this too :)

u/Xerd-R — 1 month ago