{"id":232,"date":"2018-12-16T20:47:11","date_gmt":"2018-12-16T20:47:11","guid":{"rendered":"http:\/\/www.hardwarehacker.co.uk\/blog\/?p=232"},"modified":"2021-04-07T08:32:12","modified_gmt":"2021-04-07T08:32:12","slug":"mad-not-quite-hatting","status":"publish","type":"post","link":"https:\/\/www.hardwarehacker.co.uk\/blog\/mad-not-quite-hatting\/","title":{"rendered":"Mad not-quite-HATting"},"content":{"rendered":"<p>With space at a premium in this year&#8217;s bot (it amounts to a squared-off Pi):<\/p>\n<p><a href=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/Wall-e-footprint.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-239 size-medium\" src=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/Wall-e-footprint-300x290.png\" alt=\"Pi overlaid with a square, showing the size of the enclosure\" width=\"300\" height=\"290\" srcset=\"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/Wall-e-footprint-300x290.png 300w, https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/Wall-e-footprint.png 689w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>and because I fancied having a go at it, and, Lance had his hands full with the CAD work, we decided to design a custom PCB. It&#8217;s\u00a0now on its way to us from Shenzen \ud83d\ude42<\/p>\n<figure id=\"attachment_242\" aria-describedby=\"caption-attachment-242\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/DuYNX9iW4AEHi2q.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-242 size-medium\" src=\"http:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/DuYNX9iW4AEHi2q-300x272.jpg\" alt=\"Picture of our boards in bubble wrap\" width=\"300\" height=\"272\" srcset=\"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/DuYNX9iW4AEHi2q-300x272.jpg 300w, https:\/\/www.hardwarehacker.co.uk\/blog\/wp-content\/uploads\/2018\/12\/DuYNX9iW4AEHi2q.jpg 672w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-242\" class=\"wp-caption-text\">The board house sent us a photo when they finished production, which was a nice touch<\/figcaption><\/figure>\n<p>The custom PCB needed to combine several functions that were separate boards and breakouts last year:<\/p>\n<ul>\n<li>I2C mulitiplexer<\/li>\n<li>propeller microcontroller for interfacing with the motor drivers\/encoders<\/li>\n<li>connectors for all the peripherals (IMU, motors and distance sensors)<\/li>\n<\/ul>\n<p>along with some new functions that we wanted to squeeze in (screen and voltage sensors to monitor the batteries, for example).\u00a0 I also thought it&#8217;d be a good idea to add some isolation and level shifting chips to the design so that we could better isolate the motors and support having noisy and clean power supplies.\u00a0 Previously, we&#8217;d had gremlins that we thought might be down to noise and brownouts caused by the motors.<\/p>\n<p>Since it&#8217;s pretty much the only game in town for open source PCB design (and Lance and I had used it before), we used Kicad to draw the schematic and then design the board itself.<\/p>\n<p>We&#8217;ll cover a\u00a0 bit more detail on the design in the next few posts but, if you are interested in making your own board, my number one tip is to punch &#8220;Kicad&#8221; into Youtube&#8217;s search box.\u00a0 There are great how-to videos on there that guide you through the whole process.\u00a0 My second tip is to search for &#8220;Kicad push and shove&#8221;; which will show you how to use the automatic layout tools.<\/p>\n<p>Note about the title: while it fits on the Pi, our board isn&#8217;t a HAT because there are rules about what makes a HAT \ud83d\ude1b\u00a0 also, we&#8217;re mad to try soldering some of the chips we plan to put on there; they&#8217;re tiny :-O<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With space at a premium in this year&#8217;s bot (it amounts to a squared-off Pi): and because I fancied having a go at it, and, Lance had his hands full with the CAD work, we decided to design a custom PCB. It&#8217;s\u00a0now on its way to us from Shenzen \ud83d\ude42 The custom PCB needed to &hellip; <a href=\"https:\/\/www.hardwarehacker.co.uk\/blog\/mad-not-quite-hatting\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Mad not-quite-HATting<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1,10],"tags":[8,2],"_links":{"self":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/232"}],"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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":5,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":244,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/posts\/232\/revisions\/244"}],"wp:attachment":[{"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hardwarehacker.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}