{"id":593,"date":"2007-12-11T09:00:07","date_gmt":"2007-12-11T14:00:07","guid":{"rendered":"http:\/\/php.astolfo.com\/?p=593"},"modified":"2018-03-03T06:30:27","modified_gmt":"2018-03-03T11:30:27","slug":"marblemiser-i","status":"publish","type":"post","link":"https:\/\/www.plastibots.com\/index.php\/2007\/12\/11\/marblemiser-i\/","title":{"rendered":"MarbleMiser I"},"content":{"rendered":"<p>Marble Miser was designed to meet the challenge of the 4th Annual Lego Robotics Competition \/ Get together at U of T in Toronto Ontario.<img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"\/image\/marblemiser\/main.gif\" alt=\"\" width=\"228\" height=\"127\" \/><br \/>\n Many thanks to Calum and the boys for putting this together.\u00a0 It was the first event that I was able to attend, and it was a great time.\u00a0 The turnout yielded many more entrants than initially expected.<br \/>\n To find out more about the event, visit RTL Toronto Website.<br \/>\n Now to get down to details.<\/p>\n<p><!--more--><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/angle.gif\" alt=\"\" \/><\/p>\n<p>[ad name=&#8221;GoogleAS728x90&#8243;]<br \/>\n This view shows the parts of Marble Miser that do the object avoidance tasks.\u00a0 In total, Marble Miser has 6 sensors multiplexed to the 3 sensor ports.<br \/>\n Port 1 has 2 touch and 1 light sensors.<br \/>\n Port 2 has a rotation sensor<br \/>\n Port 3 has 2 touch sensors.<br \/>\n This only required one trick in NQC.\u00a0 For Port 1, I had to be able to distinguish between when the &#8220;bumper&#8221; was hit, and what light sensor values were being returned to the RCX (white\/black marble &amp; home bases).\u00a0 To do this I set the port to read as RAW.\u00a0 Distinguishing between the tasks of bumper detection and colour\/light reading was simple:<br \/>\n If sensor value &lt; 70 then<br \/>\n do avoidance rountine (bumper hit)<br \/>\n end if<br \/>\n If sensor value was in the range of 650+ then read light values and do marble detection rountines.<\/p>\n<p style=\"text-align: left;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/top.gif\" alt=\"\" \/><br \/>\n The top view shows the front bumper system and the marble guide.\u00a0 The marble guide was driven by a micro motor that was powered seperately by a 9V battery pack.\u00a0 This power source also powered the fiber optic unit at the back (for show only).\u00a0 The power source can be seen directly below the RCX to the left of the motor.\u00a0 I was very impressed with the sensitivity of the bumpers.\u00a0 The top set were very flexible, and could absorb shock if Marble Miser was in a bind with another bot, and could not get out of it (see below).\u00a0 The bottom bumpers were initally designed to server 2 purposes.\u00a0 First, to guide the marbles into the center feed area, and second to detect hits on walls etc.. \u00a0 They too worked quite well.<\/p>\n<p style=\"text-align: left;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/under2.gif\" alt=\"\" \/><br \/>\n This is the marble guide system.\u00a0 Quite simple.\u00a0 Through forward motion, the marble would be guided into the detector unit (keeper\/ejector). \u00a0 There, the light sensor would read the value.\u00a0 The keeper\/ejector is the 2 blue 3x beams.\u00a0 They are attached to a micro motor, that runs through a rotation sensor.\u00a0 This unit would rotate one way to keep, and the other to eject.\u00a0 The rotation sensor is used to enable the unit to return to a zero position.<\/p>\n<p style=\"text-align: left;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/rumble.gif\" alt=\"\" \/><br \/>\n Here Marble Miser gets in a bind.\u00a0 Marble Miser was programed with &#8220;get out&#8221; routines, but since one drive wheel was raised off the ground, it was unable to break free.\u00a0 This competition ended up in a tie.\u00a0 Notice the tubing at the rear taking a beating.\u00a0 For the most part, this helped when Marble Miser was in tight corners, as it guided it around the turns while allowing flexibility.\u00a0 Looking back, I would not have built it any other way.<br \/>\n [ad name=&#8221;GoogleAS728x90&#8243;]<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/comp1.gif\" alt=\"\" \/><br \/>\n Two interested onlookers having fun watching the competition&#8230;<\/p>\n<p style=\"text-align: left;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/comp2.gif\" alt=\"\" \/><br \/>\n This was one of Marble Miser&#8217;s better performances.\u00a0 During this competition, my home base was white.\u00a0 The goal was to collect as many white marbles and get back to home base before 5 minutes was up.\u00a0 Well at the 3+ minute mark, Marble Miser had collected some 5 marbles in its holding bin and got back to home base and got stuck in the corner, so I was happy to let it keep trying to get out.\u00a0 Lucky for me it didn&#8217;t!\u00a0 I got 16 points for this round.<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"aligncenter\" src=\"\/image\/marblemiser\/comp3.gif\" alt=\"\" \/><\/p>\n<p>Rate This Post: <span id=\"post-ratings-593\" class=\"post-ratings\" data-nonce=\"3a3cb2d169\"><img decoding=\"async\" id=\"rating_593_1\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"1 Star\" title=\"1 Star\" onmouseover=\"current_rating(593, 1, '1 Star');\" onmouseout=\"ratings_off(0, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_593_2\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"2 Stars\" title=\"2 Stars\" onmouseover=\"current_rating(593, 2, '2 Stars');\" onmouseout=\"ratings_off(0, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_593_3\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"3 Stars\" title=\"3 Stars\" onmouseover=\"current_rating(593, 3, '3 Stars');\" onmouseout=\"ratings_off(0, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_593_4\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"4 Stars\" title=\"4 Stars\" onmouseover=\"current_rating(593, 4, '4 Stars');\" onmouseout=\"ratings_off(0, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_593_5\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"5 Stars\" title=\"5 Stars\" onmouseover=\"current_rating(593, 5, '5 Stars');\" onmouseout=\"ratings_off(0, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/> (No Ratings Yet)<br \/><span class=\"post-ratings-text\" id=\"ratings_593_text\"><\/span><\/span><span id=\"post-ratings-593-loading\" class=\"post-ratings-loading\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.plastibots.com\/wordpress\/wp-content\/plugins\/wp-postratings\/images\/loading.gif\" width=\"16\" height=\"16\" class=\"post-ratings-image\" \/>Loading...<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Marble Miser was designed to meet the challenge of the 4th Annual Lego Robotics Competition \/ Get together at U of T in Toronto Ontario. Many thanks to Calum and the boys for putting this together.\u00a0 It was the first event that I was able to attend, and it was a great time.\u00a0 The turnout yielded many more entrants than initially expected. To find out more about the event, visit RTL Toronto Website. Now to &hellip; <a href=\"https:\/\/www.plastibots.com\/index.php\/2007\/12\/11\/marblemiser-i\/\">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":[18,3,5],"tags":[37,33,38],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-autonomous","category-legorobots","category-rcxrobots","tag-light-sensor","tag-rcx","tag-touch-sensor","has_no_thumb"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pK41j-9z","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/593","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=593"}],"version-history":[{"count":0,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}