{"id":146,"date":"2017-03-25T08:17:07","date_gmt":"2017-03-25T08:17:07","guid":{"rendered":"http:\/\/www.hardwarehacker.co.uk\/blog\/?p=146"},"modified":"2017-03-25T09:00:55","modified_gmt":"2017-03-25T09:00:55","slug":"brushless-motors","status":"publish","type":"post","link":"https:\/\/www.hardwarehacker.co.uk\/blog\/brushless-motors\/","title":{"rendered":"Brushless motors"},"content":{"rendered":"<p>Brushless motors are amazing. \u00a0Massive power to weight ratio &#8211; which is why they&#8217;re used heavily by the model flying community in their planes and quadcopters.<\/p>\n<p>Their mass adoption also means they&#8217;re cheap and plentiful!<\/p>\n<p>They&#8217;re basically 3 phase motors, which means they have 3 sets of coils inside. \u00a0They also have permanent magnets attached to the rotor and by energising the coils in sequence (and changing the polarity), you can make a rotating magnetic field which drags the rotor magnets around. \u00a0You have to be quite precise however, especially when starting up or dealing with a variable torque &#8211; you need to know where the rotor is all the time. \u00a0Fortunately, someone has done all the hard work for you in the form of pre-packaged Electronic Speed Controllers (ESCs) which measure the rotor position by \u00a0looking at the induced voltage in the coils themselves! \u00a0Genius. \u00a0And you can buy an ESC with this genius in it from ebay for a fiver!<\/p>\n<p>Of course if you&#8217;re going to use one in a robot, you really want it to got forwards and backwards. \u00a0And most ESCs on the market are single direction (because for RC planes, that&#8217;s what you want). \u00a0So either look for reversible ESCs or do it the hard way and re-program the ESCs you&#8217;ve already bought by mistake!<\/p>\n<p>There are a couple of open source ESC firmwares out there &#8211; SimonK and BLHeli are the main ones. \u00a0But you can download them, compile them and flash them to your ESC.<\/p>\n<p>Some ESCs are helpful and include in-circuit programming pads to allow reprogramming, but if (like me) you bought cheap ones, you&#8217;ll have to break out the soldering iron and magnifying glasses to solder wires onto the right pins (see <a href=\"https:\/\/www.rcgroups.com\/forums\/showthread.php?1513678-RCTimer-Turnigy-Hobbywing-ESC-DIY-Firmware-Flashing\">RCgroups<\/a>) on the microcontroller:<\/p>\n<p><a href=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2017\/03\/IMG_20170228_202208.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-147\" src=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2017\/03\/IMG_20170228_202208-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2017\/03\/IMG_20170228_202208-300x225.jpg 300w, https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2017\/03\/IMG_20170228_202208-768x576.jpg 768w, https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2017\/03\/IMG_20170228_202208-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brushless motors are amazing. \u00a0Massive power to weight ratio &#8211; which is why they&#8217;re used heavily by the model flying community in their planes and quadcopters. Their mass adoption also means they&#8217;re cheap and plentiful! They&#8217;re basically 3 phase motors, which means they have 3 sets of coils inside. \u00a0They also have permanent magnets attached &hellip; <a href=\"https:\/\/www.hardwarehacker.co.uk\/blog\/brushless-motors\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Brushless motors<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2],"_links":{"self":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/146"}],"collection":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":2,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":158,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/146\/revisions\/158"}],"wp:attachment":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}