{"id":31,"date":"2016-09-23T23:19:10","date_gmt":"2016-09-23T22:19:10","guid":{"rendered":"http:\/\/connectranet.co.uk\/wp\/?p=31"},"modified":"2016-09-24T01:27:01","modified_gmt":"2016-09-24T00:27:01","slug":"sharp-dust-sensor-arduino-nano-and-2x16-lcd","status":"publish","type":"post","link":"https:\/\/connectranet.co.uk\/wp\/?p=31","title":{"rendered":"Sharp Dust Sensor &#8211; Arduino Nano and 2&#215;16 LCD"},"content":{"rendered":"<h4>Parts List:<\/h4>\n<ul>\n<li>Sharp Dust Sensor GP2Y1010AU0F<\/li>\n<li>Arduino Nano (or pretty much any other 5v Arduino)<\/li>\n<li>2&#215;16 LCD<\/li>\n<li>Connector for sharp sensor (JST S6B-ZR-SM4A-TF)<\/li>\n<li>Stripboard (25 x 9, lengthways copper strips)<\/li>\n<li>150 ohm resistor<\/li>\n<li>220uF capacitor<\/li>\n<li>10k trimmer pot<\/li>\n<li>ribbon cable<\/li>\n<li>wire<\/li>\n<li>(Optional) Small 5v cooling fan<\/li>\n<li>(Optional) 3 pin male header, for fan connection<\/li>\n<li>(Optional) 9 pin female header, makes testing easier<\/li>\n<\/ul>\n<h4>Diagram:<\/h4>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-30\" src=\"https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb-618x1024.png?resize=618%2C1024\" alt=\"dust-sensor-stripboard-v01_bb\" width=\"618\" height=\"1024\" srcset=\"https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb.png?resize=618%2C1024&amp;ssl=1 618w, https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb.png?resize=181%2C300&amp;ssl=1 181w, https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb.png?resize=768%2C1272&amp;ssl=1 768w, https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb.png?resize=1200%2C1987&amp;ssl=1 1200w, https:\/\/i0.wp.com\/connectranet.co.uk\/wp\/wp-content\/uploads\/2016\/09\/Dust-Sensor-StripBoard-v01_bb.png?w=1230&amp;ssl=1 1230w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<h3>Wiring Details<\/h3>\n<h4>Stripboard Connections:<\/h4>\n<p><strong>Row 1 (+5v)<\/strong><\/p>\n<ul>\n<li>LCD Pin 2 (VDD)<\/li>\n<li>LCD Pin 15 (A)<\/li>\n<li>Sensor Pin 6<\/li>\n<li>Arduino +5v<\/li>\n<li>Wire jumper to row 8<\/li>\n<li>Resistor lead 1<\/li>\n<li>Trimmer Pin 1<\/li>\n<\/ul>\n<p><strong>Row 2 (LCD Contrast)<\/strong><\/p>\n<ul>\n<li>LCD Pin 3 (VO)<\/li>\n<li>Trimmer Pin 2<\/li>\n<\/ul>\n<p><strong>Row 3 (GND)<\/strong><\/p>\n<ul>\n<li>Trimmer Pin 3<\/li>\n<li>Wire jumper to row 9<\/li>\n<\/ul>\n<p><strong>Row 4 (Sensor Output)<\/strong><\/p>\n<ul>\n<li>Sensor Pin 5<\/li>\n<li>Arduino A0<\/li>\n<\/ul>\n<p><strong>Row 5 (Sensor LED Supply)<\/strong><\/p>\n<ul>\n<li>Sensor Pin 1<\/li>\n<li>Resistor lead 2<\/li>\n<li>Capacitor +ve<\/li>\n<\/ul>\n<p><strong>Row 6 (Sensor LED control)<\/strong><\/p>\n<ul>\n<li>Sensor Pin 3<\/li>\n<li>Arduino D2<\/li>\n<\/ul>\n<p><strong>Row 7 (Not Connected)<\/strong><\/p>\n<ul>\n<li>Male header Pin 1 (NC)<\/li>\n<\/ul>\n<p><strong>Row 8 (+5v, for Fan)<\/strong><\/p>\n<ul>\n<li>Wire jumper to row 1<\/li>\n<li>Male header Pin 2 (+5v)<\/li>\n<\/ul>\n<p><strong>Row 9 (GND)<\/strong><\/p>\n<ul>\n<li>LCD Pin 1 (VSS)<\/li>\n<li>LCD Pin 5 (R_W)<\/li>\n<li>LCD Pin 16 (K)<\/li>\n<li>Sensor Pin 2<\/li>\n<li>Sensor Pin 4<\/li>\n<li>Arduino GND<\/li>\n<li>Male header Pin 3 (GND)<\/li>\n<li>Capacitor -ve<\/li>\n<li>Wire jumper to row 3<\/li>\n<\/ul>\n<h4>Arduino to LCD Connections:<\/h4>\n<ul>\n<li>Arduino D7 to LCD Pin 4 (RS)<\/li>\n<li>Arduino D8 to LCD Pin 6 (E)<\/li>\n<li>Arduino D9 to LCD Pin 11 (D4)<\/li>\n<li>Arduino D10 to LCD Pin 12 (D5)<\/li>\n<li>Arduino D11 to LCD Pin 13 (D6)<\/li>\n<li>Arduino D12 to LCD pin 14 (D7)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Parts List: Sharp Dust Sensor GP2Y1010AU0F Arduino Nano (or pretty much any other 5v Arduino) 2&#215;16 LCD Connector for sharp sensor (JST S6B-ZR-SM4A-TF) Stripboard (25 x 9, lengthways copper strips) 150 ohm resistor 220uF capacitor 10k trimmer pot ribbon cable wire (Optional) Small 5v cooling fan (Optional) 3 pin male header, for fan connection (Optional) &hellip; <a href=\"https:\/\/connectranet.co.uk\/wp\/?p=31\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Sharp Dust Sensor &#8211; Arduino Nano and 2&#215;16 LCD&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[2,3],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-arduino","category-sharp-dust-sensor"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7Vhuy-v","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":1,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=\/wp\/v2\/posts\/31\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/connectranet.co.uk\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}