{"id":786,"date":"2008-12-12T08:09:35","date_gmt":"2008-12-12T13:09:35","guid":{"rendered":"http:\/\/php.astolfo.com\/?p=786"},"modified":"2017-04-25T11:58:11","modified_gmt":"2017-04-25T16:58:11","slug":"review-technostuff-dirpd-sensor-review","status":"publish","type":"post","link":"https:\/\/www.plastibots.com\/index.php\/2008\/12\/12\/review-technostuff-dirpd-sensor-review\/","title":{"rendered":"Review &#8211; TechnoStuff DIRPD Sensor &#8211; Review"},"content":{"rendered":"<p>One of the my challenges was to build a bot that could effectively avoid obstacles before it hit them.\u00a0 My first attempt was to use the Lego Light sensor and the RCX to do this. The RCX would send out IR pulses and the Light Sensor would be used to read them and, based on how long they took to get back to the Light Sensor, could determine proximity. This worked realively well, with the exception that it was difficult to &#8220;tell&#8221; which side the robot should &#8220;look out&#8221; for&#8230; I came across a Dual Infra-Red Proximity Detector (DIRPD) that is currently being made and sold by Peter Sevcik.<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.plastibots.com\/image\/dirpd\/dirpd.gif\" border=\"0\" alt=\"\" width=\"197\" height=\"132\" align=\"right\" \/> Once I received the unit, I went fast to work.\u00a0 My plan was to build a robot in time for Christmas to deliver a set of diamond earnings to my fiance as well as test the abilities of this new sensor.\u00a0 The bot depicted is a paired down version of the actual one that was used, but it still functions in the same way.<\/p>\n<p>The sensor was set as a Light Sensor <span>SetSensorType(SENSOR_2, SENSOR_TYPE_LIGHT);<\/span> The code was straight forward.\u00a0 The bot would drive forward until SENSOR_2 returned one of the following values:<br \/>\n0      Object in front.<br \/>\n22    Object on left<br \/>\n48    Object on right.<br \/>\n75    No object detected  -continue<br \/>\nBased on those values, a decision would be made to turn in a specific direction.\u00a0 I also added in some randomizing for when the bot met an object head on.<\/p>\n<p>Results:<br \/>\nThe sensor worked exceptionally well.\u00a0 Reaction distance was predictable at approximately 16 to 24 inches.\u00a0 I only stumbled across one minor issue.\u00a0 The bot would have difficulties when approaching a standard doorway (i.e. bedroom) from the center.\u00a0 Both left and right would trigger and the bot would get stuck trying to decide what to do.\u00a0 This is easily fixed by building a routine that could detect this, make the assumption that it was a doorway, stop detecting, go through for x amount of time, and proceed with detection.\u00a0 This is also proof that the sensor is doing exactly what it was designed to to.<\/p>\n<p>Construction:<br \/>\nThe quality of the product both in workmanship and function is top notch.\u00a0 It is obvious that Peter takes time and know-how when creating each one of these.\u00a0The visual quality of the sensor may make you think that this one came from Lego themselves if it wern&#8217;t for the <a href=\"http:\/\/www.techno-stuff.com\/\" target=\"_blank\">TechnoStuff<\/a> logo on the side&#8230;<\/p>\n<p>Summary:<br \/>\nIf you are looking for an effective, easy-to-use sensor for proximity detection, the DIRPD is it.\u00a0 It is easy to mount, program, fairly priced and looks good too boot! Good work Peter.<\/p>\n<p>Have a sensor or add-on that you want reviewed? <a href=\"http:\/\/www.plastibots.com\/index.php\/contact-us\/\">Drop me a line<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the my challenges was to build a bot that could effectively avoid obstacles before it hit them.\u00a0 My first attempt was to use the Lego Light sensor and the RCX to do this. The RCX would send out IR pulses and the Light Sensor would be used to read them and, based on how long they took to get back to the Light Sensor, could determine proximity. This worked realively well, with the &hellip; <a href=\"https:\/\/www.plastibots.com\/index.php\/2008\/12\/12\/review-technostuff-dirpd-sensor-review\/\">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":[46],"tags":[],"class_list":["post-786","post","type-post","status-publish","format-standard","hentry","category-sensors","has_no_thumb"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pK41j-cG","jetpack_sharing_enabled":true,"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/786","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=786"}],"version-history":[{"count":0,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/posts\/786\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/media?parent=786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/categories?post=786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.plastibots.com\/index.php\/wp-json\/wp\/v2\/tags?post=786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}