{"id":316,"date":"2016-07-12T23:06:50","date_gmt":"2016-07-12T23:06:50","guid":{"rendered":"http:\/\/www.n4n.us\/wordpress\/?p=316"},"modified":"2016-07-12T23:21:46","modified_gmt":"2016-07-12T23:21:46","slug":"wemos-d1-mini","status":"publish","type":"post","link":"https:\/\/www.n4n.us\/wordpress\/?p=316","title":{"rendered":"WeMos D1 Mini"},"content":{"rendered":"<p>Being that they were ordered from China, I ordered a few items from WeMos. OLED Display Shield, Temperature Sensor, Relay and Button shields. All were cheap and using Arduino fairly easy to program just took awhile to get to USA (say a month to the day) [Not complaining, just stating, pay a little more get from USA seller MUCH faster].<\/p>\n<p><a href=\"https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-315 aligncenter\" src=\"https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734.jpg\" alt=\"IMG_8734\" width=\"308\" height=\"408\" srcset=\"https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734.jpg 801w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734-226x300.jpg 226w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734-768x1018.jpg 768w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8734-772x1024.jpg 772w\" sizes=\"auto, (max-width: 308px) 85vw, 308px\" \/><\/a><\/p>\n<p>We were able to create a web server, that reads and displays Temperature (T), control a relay over the web (R) and have it display its IP number (within our subnet). HOWEVER, you can\u2019t read temperature and control relay, in the same \u2018stack\u2019. So more parts are on order to deal with that minor complication.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-318 aligncenter\" src=\"https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736.jpg\" alt=\"IMG_8736\" width=\"276\" height=\"262\" srcset=\"https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736.jpg 1364w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736-300x285.jpg 300w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736-768x729.jpg 768w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736-1024x972.jpg 1024w, https:\/\/www.n4n.us\/wordpress\/wp-content\/uploads\/2016\/07\/IMG_8736-1200x1139.jpg 1200w\" sizes=\"auto, (max-width: 276px) 85vw, 276px\" \/>The biggest issue was getting the OLED display to work. Seems there was an issue with one of the libraries;<\/p>\n<p><em>http:\/\/stackoverflow.com\/questions\/36768562\/wemos-oled-sparkfun-print-text-does-not-display<\/em><\/p>\n<p>Just a matter of deleting two lines of code, and it worked. Course that took two days to find.<\/p>\n<p>Being a true believer in scattering projects over over the place, wireless would be great. But as always, there is the matter of POWER. If I have to run power, I can run an ethernet cable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Being that they were ordered from China, I ordered a few items from WeMos. OLED Display Shield, Temperature Sensor, Relay and Button shields. All were cheap and using Arduino fairly easy to program just took awhile to get to USA (say a month to the day) [Not complaining, just stating, pay a little more get &hellip; <a href=\"https:\/\/www.n4n.us\/wordpress\/?p=316\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WeMos D1 Mini&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,14,21,28],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-automation-homekit","category-projects","category-raspberry-pi","category-wemos"],"_links":{"self":[{"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316"}],"version-history":[{"count":4,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions\/321"}],"wp:attachment":[{"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.n4n.us\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}