{"id":1769,"date":"2010-11-13T12:35:53","date_gmt":"2010-11-13T17:35:53","guid":{"rendered":"http:\/\/www.plastibots.com\/?p=1769"},"modified":"2014-12-21T06:32:33","modified_gmt":"2014-12-21T11:32:33","slug":"pulito-beacon-version-1-internals","status":"publish","type":"post","link":"https:\/\/www.plastibots.com\/index.php\/2010\/11\/13\/pulito-beacon-version-1-internals\/","title":{"rendered":"Pulito &#8211; Beacon (Version 1) Internals"},"content":{"rendered":"<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1657\" aria-describedby=\"caption-attachment-1657\" style=\"width: 300px\" class=\"wp-caption alignright\"><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/SBChargingBeacon.png\"> <img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1657 \" style=\"padding: 0px; margin: 0px; border: 0px none initial;\" title=\"SBChargingBeacon\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/SBChargingBeacon-300x227.png\" alt=\"Charging Beacon\" width=\"300\" height=\"227\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/SBChargingBeacon-300x227.png 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/SBChargingBeacon.png 967w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><figcaption id=\"caption-attachment-1657\" class=\"wp-caption-text\">Charging Beacon<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p>OLD Version Details: \u00a0<a href=\"http:\/\/www.plastibots.com\/?p=1594\">(see new version here<\/a>): The following is a picture of the charging beacon. \u00a0Although it looks quite plain from the outside, it is what is inside that resulted in this being a 5 month build (well that and things like kids! \ud83d\ude42 \u00a0) \u00a0From the top there is a cutout for the LCD. \u00a0The purpose of the LCD is to display the change from 1200 to 600 Hz. The gray axle on top is used to swap between frequencies. \u00a0These frequencies are tuned to work with the HT IR Seeker V2 sensor on Pulito. \u00a0Together they allow Pulito to detect the beacon from across the room in many varying conditions (incl bright sunlinght). \u00a0As many of you know, IR is everywhere, so the 1200Hz is used to allow robots to tune into a specific frequency while ignoring other sources of IR. \u00a0At the front, the 2 charge bars can be seen. \u00a0These allow Pulito to dock to the unit and begin charging. \u00a0At the center in the front, the blue cylinder contains 3 IR LEDs. \u00a0These LEDs are connected internally to a Basic Stamp II Sx which drives a 1200\/600 Hz pulse through a separate 555 timer that generates a 38Khz carrier wave. \u00a0Together the 1200Hz and 38KHz carrier allow the HT IR Seeker V2 to find the beacon.<\/p>\n<p><!--more--><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1630\" aria-describedby=\"caption-attachment-1630\" style=\"width: 300px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconShowingAllBits.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1630 \" style=\"padding: 0px; margin: 0px; border: 0px none initial;\" title=\"BeaconShowingAllBits\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconShowingAllBits-300x225.png\" alt=\"Beacon\" width=\"300\" height=\"225\" \/><\/a><figcaption id=\"caption-attachment-1630\" class=\"wp-caption-text\">Beacon - Showing Internals<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p>An inside view of the beacon from the top. \u00a0 The LCD (top left) has been removed to show the power supply (left). \u00a0The power supply was custom built to provide a number of both 5 and 9V power sources (driven by LM7805&#8217;s and 7809&#8217;s and caps) to provide smooth power for the various components. \u00a0The unit works as follows:<\/p>\n<p>The BSIISx generates the 1200Hz pulse (powered by 5V)<\/p>\n<p>The 555 timer is powered by 5V as well and is triggered by an output pin from the BSIISx. \u00a0The pin will pulse at 1200Hz and each pulse that is HIGH will trigger the 555 timer HIGH which is outputting its signal at 38KHz. \u00a0The output of the 555 timer triggers a transistor that switches a dedicated run from a 9V power supply to switch the 3 IR LED&#8217;s on\/off at high frequency. \u00a0I wanted the LED&#8217;s to have as much power as possible &#8211; hence the dedicated 9V supply for them. \u00a0This way I can add more LED&#8217;s if necessary at a later time.<\/p>\n<p>The switch in the center is connected to another pin on the BSIISx and is being read as an input. When it is clicked and held, as the code loops it detects this and switches from 1200 to 600 Hz. \u00a0And vice-versa.<\/p>\n<p>To the left (can&#8217;t be seen here) an external wall wart runs 12 Volts into the system (more like 14V). \u00a0This is all regulated using the power supply. \u00a0Additionally, a dedicated (fused) like runs directly to the 2 charge bars (brass things at the bottom left and right) which bring 14V \u00a0to the Pulito charging system. \u00a0 The fuse is necessary in case there is ever a short across the charge cars (read as\u00a0<em>my 3 yr old son likes to explore<\/em>). \u00a0 Of course, its only 14V and pretty much harmless.<\/p>\n<p style=\"text-align: center;\">[ad name=&#8221;GoogleAS728x90ImgOnly&#8221;]<\/p>\n<p>A close-up of the right side internals shows the BSIISx and some other bits. The switch that changes from 1200\/600Hz is shown, there is also a small blue LED connected to some LEGO fibre tube (seen above the BSIISx) to allow for power indication on the outside of the beacon. There is also a tiny piezo speaker connected to the unit to allow for some sound feedback.<\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1631\" aria-describedby=\"caption-attachment-1631\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconBSIISx.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1631 \" title=\"BeaconBSIISx\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconBSIISx-300x225.png\" alt=\"BSIISx 1200 Hz Generator\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconBSIISx-300x225.png 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconBSIISx.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1631\" class=\"wp-caption-text\">Beacon Close-up of BSIISx<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p>You can also see a close-up of the 555 timer. Some may ask why I did not use a 556 timer. There is no real good reason other than I discovered the 555 first and wanted to have some control over other features of the system. the BSIISx allowed me to integrate with the LCD and provide some other feedback. I have already created a similar beacon circuit using a 556 timer and may swap out for that later once I get more testing done.<\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1700\" aria-describedby=\"caption-attachment-1700\" style=\"width: 252px\" class=\"wp-caption aligncenter\"><a rel=\"attachment wp-att-1700\" href=\"http:\/\/www.plastibots.com\/?attachment_id=1700\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1700 \" title=\"555 Astable Timer\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/555ast.gif\" alt=\"555 Astable timer\" width=\"252\" height=\"217\" \/><\/a><figcaption id=\"caption-attachment-1700\" class=\"wp-caption-text\">555 Astable timer<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1637\" aria-describedby=\"caption-attachment-1637\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconPowerSupply.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1637 \" title=\"BeaconPowerSupply\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconPowerSupply-300x225.png\" alt=\"Beacon Power Supply\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconPowerSupply-300x225.png 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconPowerSupply.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1637\" class=\"wp-caption-text\">Beacon Power Supply<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p>A close-up view of the power supply.   It was necessary to provide somewhat clean regulated power to the various components as wall warts are known to be flaky at best.  This board contains 2 power regulation circuits.  One runs through a LM7809 and a cap to provide regulated 9 volts and the other runs through a LM7805 and a cap to provide regulated 5 volts.   All components run through this to get their power.  At the top left you can also see a fuse.  This is the direct line that runs from the wall wart power to the charge bars.  The power for these is unregulated as the NXT LiIon battery charger takes care of this.  It was necessary to fuse this in the event that the charge bars were shorted.<\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<p><br class=\"spacer_\" \/><\/p>\n<figure id=\"attachment_1584\" aria-describedby=\"caption-attachment-1584\" style=\"width: 300px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconIRLEDs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1584 \" title=\"BeaconIRLEDs\" src=\"http:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconIRLEDs-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconIRLEDs-300x225.jpg 300w, https:\/\/www.plastibots.com\/wordpress\/wp-content\/uploads\/2010\/10\/BeaconIRLEDs.jpg 680w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-1584\" class=\"wp-caption-text\">Showing Charge Bars and IR LEDs<\/figcaption><\/figure>\n<p><br class=\"spacer_\" \/><\/p>\n<p>A front view of the beacon when powered. The camera shows the beacon IR LEDs illuminated. These LEDs are being driven at 1200Hz with a a 38KHz carrier. Tuned for the HT Ir Seeker V2. When Pulito needs to charge, it seeks out this beacon source and navigates towards it. It was necessary to cover the cylinder with the axle holed plate as the 3 IR LEDs flooded the area with IR and made it more difficult for Pulito to center itself in the beacon base. This way, the IR light is not as dispersed. This also limits the distance of detection, but this is not an issue in the area that this setup is running within.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OLD Version Details: \u00a0(see new version here): The following is a picture of the charging beacon. \u00a0Although it looks quite plain from the outside, it is what is inside that resulted in this being a 5 month build (well that and things like kids! \ud83d\ude42 \u00a0) \u00a0From the top there is a cutout for the LCD. \u00a0The purpose of the LCD is to display the change from 1200 to 600 Hz. The gray axle on &hellip; <a href=\"https:\/\/www.plastibots.com\/index.php\/2010\/11\/13\/pulito-beacon-version-1-internals\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1769","post","type-post","status-publish","format-standard","hentry","category-uncategorized","has_no_thumb"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pK41j-sx","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/1769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/comments?post=1769"}],"version-history":[{"count":0,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/1769\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/media?parent=1769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/categories?post=1769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/tags?post=1769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}