{"id":768,"date":"2011-12-06T11:14:07","date_gmt":"2011-12-06T18:14:07","guid":{"rendered":"http:\/\/www.built-to-spec.com\/blog\/?p=768"},"modified":"2011-12-06T16:12:29","modified_gmt":"2011-12-06T23:12:29","slug":"making-a-brushed-dc-motor-controller-out-of-a-servo","status":"publish","type":"post","link":"http:\/\/www.built-to-spec.com\/blog\/2011\/12\/06\/making-a-brushed-dc-motor-controller-out-of-a-servo\/","title":{"rendered":"Making a brushed DC motor controller out of a standard RC servo"},"content":{"rendered":"<p>Another fun hack you can do by modifying the guts of a servo is converting the controller on board to a brushed DC motor controller.\u00a0 The resulting controller will work just like a standard RC speed controller, allowing you to make a DC motor turn forward or reverse with it's speed proportional to the throttle position on your RC setup.\u00a0\u00a0 A simple controller like this should work great if you're trying to throw together a small RC setup like the <noindex><a rel=\"nofollow\" title=\"Botmobile\" href=\"http:\/\/www.thingiverse.com\/thing:13827\" target=\"_blank\">Botmobile<\/a><\/noindex> from some scavenged parts.<\/p>\n<p>All you need to do to build your controller is remove the controller of a standard servo and replace the potentiometer with two equal value resistors (typically 2.2k, but higher values should be OK) and hook up the brushed motor you want to control in place of the servo's DC motor.\u00a0 You want to connect the two resistors in the center by twisting their leads together connect the outside leads of the resistors to the outside potentiometer terminals and the twisted center to the center terminal. Here's a pic of a controller (specifically the TGY-S4505B controller, see some more pics of the guts of this servo in my previous <a title=\"Modifying the TGY-S4505B Servo for Continuous Rotation\" href=\"http:\/\/www.built-to-spec.com\/blog\/2011\/11\/07\/modifying-the-tgy-s4505b-servo-for-continuous-rotation\/\">post<\/a>) after it's been removed from the servo and the resistors have been installed:<\/p>\n<p><a href=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/install_resistors.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-770\" title=\"install_resistors\" src=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/install_resistors-300x229.jpg\" alt=\"RC Servo controller\" width=\"300\" height=\"229\" srcset=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/install_resistors-300x229.jpg 300w, http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/install_resistors-1024x782.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>I used heat shrink on the two outside leads of the resistor to keep the connections insulated.\u00a0 Next I put heat shrink over the two resistors:<\/p>\n<p><a href=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/heat_shrink.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-769\" title=\"heat_shrink\" src=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/heat_shrink-300x245.jpg\" alt=\"\" width=\"300\" height=\"245\" srcset=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/heat_shrink-300x245.jpg 300w, http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/heat_shrink-1024x837.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And tape everything down.\u00a0 Now I'm ready to test it out on <noindex><a rel=\"nofollow\" title=\"Luis' Thingiverse Page\" href=\"http:\/\/www.thingiverse.com\/Luis\" target=\"_blank\">Luis<\/a><\/noindex>' partially completed <noindex><a rel=\"nofollow\" title=\"Turtle Shell Racer\" href=\"http:\/\/www.thingiverse.com\/thing:10526\" target=\"_blank\">turtle shell racer<\/a><\/noindex> using a standard RC Tx\/Rx set by connecting up the DC motor I want to power where the servo's DC motor was previously connected:<\/p>\n<p><a href=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/tape_up_and_install.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-771\" title=\"tape_up_and_install\" src=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/tape_up_and_install-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/tape_up_and_install-300x225.jpg 300w, http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2011\/12\/tape_up_and_install.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If everything works you should not see the DC motor turn (or turn very slowly until you adjust the trim) when applying power to the RC Tx\/Rx set but the brushed DC motor should respond as expected when you use the throttle on your controller.\u00a0 If you've modified a servo for continuous rotation this should be very familiar to you because that's essentially what you've done, you're just not using the mechanics of the servo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another fun hack you can do by modifying the guts of a servo is converting the controller on board to a brushed DC motor controller.\u00a0 The resulting controller will work just like a standard RC speed controller, allowing you to make a DC motor turn forward or reverse with it's speed proportional to the throttle [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[49,50],"_links":{"self":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/768"}],"collection":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":6,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"predecessor-version":[{"id":777,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/768\/revisions\/777"}],"wp:attachment":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}