{"id":503,"date":"2018-11-06T18:05:17","date_gmt":"2018-11-07T02:05:17","guid":{"rendered":"http:\/\/www.raveloxprojects.com\/blog\/?p=503"},"modified":"2018-11-06T18:05:17","modified_gmt":"2018-11-07T02:05:17","slug":"building-a-hexapod-part-1","status":"publish","type":"post","link":"https:\/\/www.raveloxprojects.com\/blog\/?p=503","title":{"rendered":"Building a Hexapod &#8211; Part 1"},"content":{"rendered":"<p>When I see something that I think I&#8217;d like to build I tend to buy most of the parts from eBay and then stockpile them in my drawers for a few years before I finally bit the bullet and start working on the project.<\/p>\n<p>This project is one of those.\u00a0I want to build a Hexapod using SG90 servo motors.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/sg90.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-505\" src=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/sg90-300x221.jpg?resize=300%2C221\" alt=\"\" width=\"300\" height=\"221\" srcset=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/sg90.jpg?resize=300%2C221&amp;ssl=1 300w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/sg90.jpg?w=355&amp;ssl=1 355w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>\u00a0<\/a>These are small servos that will help make the Hexapod relatively small.<\/p>\n<p>The type of design I&#8217;ve settled for needs 3 motors per leg so I&#8217;m looking at 18 servo motors that need to be controlled by a microcontroller. Servo motors rely on a PWM signal and there are few ( if any ) microcontrollers that have 18 PWM pins available so I&#8217;m to use a couple of PCA9685 controllers.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-504\" src=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685-300x300.jpg?resize=300%2C300\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/PCA9685.jpg?w=1000&amp;ssl=1 1000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>This controller uses I2C for communication to 16 PWM connections. As I have 18 motors, I&#8217;ll need 2 of these. Arduinos understand I2C with no problem. Older viewers of this channel will remember that I created a remote control for the Roombaduino using I2C.<\/p>\n<p>As I&#8217;ve chosen to use 3 servo motors per leg, I need to work on how that is going to be articulated. Standard wisdom for this design says that there is are a couple of motors at the shoulder and another motor at the knee.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-506\" src=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712-300x225.png?resize=300%2C225\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712.png?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/raveloxprojects.com\/blog\/wp-content\/uploads\/2018\/11\/IMG_9712.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Something like this.<\/p>\n<p>I&#8217;m playing around with some brackets that will secure the motors and move without interfering with each other. When I have a workable design, I can add some embellishments.<\/p>\n<p>Stay tuned.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p> When I see something that I think I&#8217;d like to build I tend to buy most of the parts from eBay and then stockpile them in my drawers for a few years before I finally bit the bullet and start working on the project. This project is one of those.\u00a0I want to build a Hexapod &#8230; <a class=\"read-more meta-nav\" href=\"https:\/\/www.raveloxprojects.com\/blog\/?p=503\">Read more &raquo;<\/a><\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[38,24,41],"tags":[],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-build","category-hardware-2","category-hexapod"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8tHuw-87","jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=503"}],"version-history":[{"count":1,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/503\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raveloxprojects.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}