{"id":342,"date":"2018-01-31T20:54:47","date_gmt":"2018-01-31T20:54:47","guid":{"rendered":"http:\/\/www.burningimage.net\/cattrack\/?p=342"},"modified":"2023-07-22T07:56:57","modified_gmt":"2023-07-22T06:56:57","slug":"base-station-pcb","status":"publish","type":"post","link":"https:\/\/www.burningimage.net\/cattrack\/base-station-pcb\/","title":{"rendered":"Base Station PCB"},"content":{"rendered":"<p>I&#8217;ve finished laying out the base station PCB, hurrah!<\/p>\n<p>As ever I&#8217;ve laid it out using <a href=\"https:\/\/www.autodesk.com\/products\/eagle\/free-download\">Eagle<\/a> &#8211; this time I&#8217;ve managed to keep it to two layers so that&#8217;ll save me some money in PCB manufacture costs. \u00a0Click it to enlarge.<\/p>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-343\" src=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb.png\" alt=\"\" width=\"606\" height=\"316\" srcset=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb.png 2403w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb-300x156.png 300w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb-768x400.png 768w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb-1024x534.png 1024w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/01\/cattrack-base-station-pcb-1440x750.png 1440w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/a><\/p>\n<p>The CC1125 transceiver IC is on the right hand side of the PCB &#8211; I&#8217;ve made sure to keep the ground plane underneath the CC1125 free from other tracks such that the IC has an unbroken ground reference. \u00a0This is good (essential!) RF practice.<\/p>\n<p>There is however some good (essential?!) RF practice that I&#8217;ve not followed. \u00a0<a href=\"http:\/\/oshpark.com\">oshpark.com<\/a> (my favourite fab) have two options for 2-layer PCB heights, 0.8mm or 1.6mm. \u00a0In an ideal world, calculations show that for a 0.8mm height FR4 (er = 4.5) substrate, the 50 ohm PCB trace width needs to be 1.5mm. \u00a0This is completely unworkable for my design as I&#8217;d end up with really wide traces constantly getting necked down into tiny 0402 components. \u00a0It&#8217;d take up a great deal of space and look ridiculous! \u00a0So instead what I&#8217;ve done is arbitrarily set the trace width to the width of the 0402 pads. \u00a0This means that the trace is one constant width all the way from the CC1125 to the antenna. \u00a0Simulations I&#8217;ve carried out in <a href=\"http:\/\/www.awrcorp.com\/products\/ni-awr-design-environment\/microwave-office\">Microwave Office<\/a> show that in most cases the insertion loss and return loss (S21 and S11) of the trace are actually better if you set your trace width to a constant, &#8220;incorrect&#8221; value rather than setting the width to the correct 50 ohm value (1.5mm in my case) and every few mm having it neck down into 0402 components. \u00a0The discontinuities this causes outweighs the fact that the trace width is the &#8220;correct&#8221; value.<\/p>\n<p>Usually you&#8217;d ensure that you choose your substrate height such that the 50 ohm trace width is around the same as the width of the component pads you are using. \u00a0Unfortunately I don&#8217;t have that luxury with oshpark given than 0.8 mm is the smallest height they do for 2-layer PCBs. \u00a0This wasn&#8217;t an issue for the main CatTrack board because it was a 4-layer PCB and the height between layers 1 and 2 (used as the ground reference) was only\u00a00.17 mm. \u00a0This results in much more convenient values on layer 1 for 50 ohm trace widths.<\/p>\n<p>I&#8217;ve tried to stick to using components from the SparkFun PCB libraries, just because I can be reasonably sure that the footprints will be accurate. \u00a0They even come built-in to the latest versions of Eagle, so that&#8217;s handy.<\/p>\n<p>The switches I&#8217;m using to control the base station can be seen in the bottom middle of the PCB &#8211; I&#8217;ve marked them A and B in the silkscreen.<\/p>\n<p>The RN41 Bluetooth module is on the back of the PCB and I&#8217;ve cleared both grounds around the antenna on the RN41 board in order that the antenna can radiate properly.<\/p>\n<p>I&#8217;m using a 16&#215;2 LCD screen as a user interface &#8211; you should be able to see the 16 pin connector for it in the top left of the PCB. \u00a0The LCD will sit on pillars on top of the PCB, covering up most of the board, with the two switches underneath it.<\/p>\n<p>I think that&#8217;s about it &#8211; time to order the PCBs and then get soldering!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve finished laying out the base station PCB, hurrah! As ever I&#8217;ve laid it out using Eagle &#8211; this time I&#8217;ve managed to keep it to two layers so that&#8217;ll save me some money in PCB manufacture costs. \u00a0Click it to enlarge.<\/p>\n","protected":false},"author":1,"featured_media":343,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,1],"tags":[20,4,87,38,69,49,94,46,39],"class_list":["post-342","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pcbs","category-posts","tag-antenna","tag-cc1125","tag-lcd","tag-microchip","tag-pcb","tag-rf","tag-rn41","tag-tracker","tag-transceiver"],"_links":{"self":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":5,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":352,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/342\/revisions\/352"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/media\/343"}],"wp:attachment":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/categories?post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/tags?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}