{"id":613,"date":"2014-11-26T14:49:58","date_gmt":"2014-11-26T14:49:58","guid":{"rendered":"http:\/\/4tronix.co.uk\/blog\/?p=613"},"modified":"2014-11-26T14:49:58","modified_gmt":"2014-11-26T14:49:58","slug":"soldering-the-ultrasonic-led-pcb-kit","status":"publish","type":"post","link":"https:\/\/4tronix.co.uk\/blog\/?p=613","title":{"rendered":"Soldering the UltraSonic &#038; LED PCB Kit"},"content":{"rendered":"<h2>UltraSonic &amp; LED PCB Kit<\/h2>\n<p>This kit makes it easy to mount a standard SR-HC04 ultrasonic sensor on the front of a robot. The sensor itself is soldered to the PCB which acts as a carrier, additionally having M3 mounting holes at various spacings.<\/p>\n<p>The board also carries 4 LEDs with the necessary series resistors to be driven directly from Arduino or Raspberry Pi GPIO pins.<\/p>\n<p>Click any image to enlarge.<\/p>\n<p>&nbsp;<\/p>\n<h3>1. Check you have all the parts<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-614\" alt=\"ultra01\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra01-300x252.jpg\" width=\"300\" height=\"252\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra01-300x252.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra01.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The kit contains:<\/p>\n<ul>\n<li>1 x PCB<\/li>\n<li>1x UltraSonic sensor<\/li>\n<li>1 x Resistor pack (4 x 220R resistors in a SIL package)<\/li>\n<li>2 x White LEDs<\/li>\n<li>1 x Blue LED<\/li>\n<li>1 x Green LED<\/li>\n<li>2 x 4-pin male headers<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>2. Solder the LEDs<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-615\" alt=\"ultra02\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra02-300x211.jpg\" width=\"300\" height=\"211\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra02-300x211.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra02.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>It doesn&#8217;t really matter where you put each LED, but the standard way for our Pizazz robot is as shown above.<\/p>\n<p><strong>NB. Ensure that the longer lead (positive) from each LED is soldered into the holes marked with a &#8216;+&#8217; sign (<\/strong>towards the top of the board in the photo above)<\/p>\n<p>&nbsp;<\/p>\n<h3>3. Solder the Resistor Pack<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-616\" alt=\"ultra03\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra03-300x196.jpg\" width=\"300\" height=\"196\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra03-300x196.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra03.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The resistor pack must be placed the correct way round, with the white dot next to the &#8216;1&#8217; marked on the PCB. The writing is therefore point towards the ultrasonic mounting points as shown in the photo above.<\/p>\n<p>&nbsp;<\/p>\n<h3>4. Solder the 4-pin Male Headers<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-617\" alt=\"ultra04\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra04-300x195.jpg\" width=\"300\" height=\"195\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra04-300x195.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra04.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>These should be mounted in the positions either side of the resistor pack. To get the straight, I find it easiest to solder just one pin of each header, then holding the board and header in one hand and the soldering iron in the other, gently melt the solder and move the header so it is straight. There&#8217;s a bit of a knack to this \ud83d\ude09<\/p>\n<p>&nbsp;<\/p>\n<h3>5. Finally, Solder on the UltraSonic Sensor<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-618\" alt=\"ultra05\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra05-300x297.jpg\" width=\"300\" height=\"297\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra05-300x297.jpg 300w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra05-150x150.jpg 150w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra05.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This should be mounted on the same side as all the other components. You can double check, by checking that the writing on the front of the sensors, matches the pins on the 4-pin header next to it. (ie. VCC is next to VCC, Trig is next to Trig, etc)<\/p>\n<p>Again, solder one pin first then straighten it out using the same method as for the headers.<\/p>\n<p>&nbsp;<\/p>\n<h3>6. The Completed Board &#8211; Ready for Mounting on your Robot<\/h3>\n<p><a href=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-619\" alt=\"ultra06\" src=\"http:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra06-255x300.jpg\" width=\"255\" height=\"300\" srcset=\"https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra06-255x300.jpg 255w, https:\/\/4tronix.co.uk\/blog\/wp-content\/uploads\/2014\/11\/ultra06.jpg 800w\" sizes=\"auto, (max-width: 255px) 100vw, 255px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UltraSonic &amp; LED PCB Kit This kit makes it easy to mount a standard SR-HC04 ultrasonic sensor on the front of a robot. The sensor itself is soldered to the PCB which acts as a carrier, additionally having M3 mounting holes at various spacings. The board also carries 4 LEDs with the necessary series resistors &hellip; <a href=\"https:\/\/4tronix.co.uk\/blog\/?p=613\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Soldering the UltraSonic &#038; LED PCB Kit<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-613","post","type-post","status-publish","format-standard","hentry","category-robotics-for-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=613"}],"version-history":[{"count":1,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/613\/revisions"}],"predecessor-version":[{"id":620,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/613\/revisions\/620"}],"wp:attachment":[{"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/4tronix.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}