{"id":3888,"date":"2015-12-17T01:01:14","date_gmt":"2015-12-17T05:01:14","guid":{"rendered":"http:\/\/www.paleotechnologist.net\/?p=3888"},"modified":"2015-12-17T01:01:14","modified_gmt":"2015-12-17T05:01:14","slug":"just-the-thing","status":"publish","type":"post","link":"https:\/\/www.paleotechnologist.net\/?p=3888","title":{"rendered":"Just the Thing"},"content":{"rendered":"<p>If Necessity is the mother of Invention, Laziness is its father.\u00a0Lowering the barriers to innovation certainly helps encourage the development of new solutions.<\/p>\n<p>One technological feat that has been getting increasingly easier to do with embedded devices is send and receive data over the Internet. The recent development of the ultra-low-cost <a href=\"https:\/\/en.wikipedia.org\/wiki\/ESP8266\" target=\"_blank\">ESP8266 WiFi module<\/a> has spurred a lot of interest in getting smaller devices connected to the &#8216;Net. The &#8220;Internet of Things&#8221; is essentially the idea that even small, single-purpose devices might be more useful when connected to the Internet.<\/p>\n<p>Unfortunately, the original ESP8266 boards weren&#8217;t the friendliest things to prototype with. Their awkward two-row connector is mechanically stronger than an inline solution &#8212; but the geometry of most breadboards means that DIL parts with less than 300mil separation can&#8217;t be easily breadboarded. Plus, the ESP8266 uses an inexpensive but obscure Cadence Tensilica processor &#8212; not supported by most enthusiasts&#8217; toolchains. Sure would be nice if someone were to bake an ESP8266 into an Arduino and write the libraries.<\/p>\n<p>Seems like SparkFun had the same idea. Their &#8220;<a href=\"https:\/\/www.sparkfun.com\/products\/13231\" target=\"_blank\">ESP8266 Thing<\/a>&#8221; is essentially a high-powered Arduino-compatible CPU attached to a ESP8266 module. With the libraries and examples provided, it&#8217;s reasonably easy to get up and running with a webserver.<\/p>\n<div style=\"width: 610px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" title=\"I honestly don't know the difference between the &quot;Thing&quot; and the &quot;Thing Dev Board&quot;. I got the &quot;Dev Board.&quot; Or so I'm told.\" src=\"https:\/\/cdn.sparkfun.com\/\/assets\/parts\/1\/1\/1\/9\/7\/13711-01.jpg\" alt=\"\" width=\"600\" height=\"600\" \/><p class=\"wp-caption-text\">The SparkFun ESP8266 Thing Dev Board<\/p><\/div>\n<p>After <a href=\"https:\/\/learn.sparkfun.com\/tutorials\/esp8266-thing-development-board-hookup-guide\/introduction\" target=\"_blank\">setting up the Thing<\/a> (Note: you need to short GPIO0 to ground in order to get it to program), I modified a <a href=\"https:\/\/learn.adafruit.com\/esp8266-temperature-slash-humidity-webserver\/code\" target=\"_blank\">temperature and humidity webserver<\/a> from <a href=\"http:\/\/www.adafruit.com\" target=\"_blank\">Adafruit <\/a>to create a webserver that could turn on an LED when the \/on page was read, and turn it off when the \/off page was read. It&#8217;s straightforward enough to modify this to, for example, control A\/C outlets.<\/p>\n<p><a href=\"files\/ESP8266_webserver_test.ino\" target=\"_blank\">Here&#8217;s the sketch<\/a>.<\/p>\n<p>$16 to connect a gadget to the &#8216;Net, almost effortlessly. I love living in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For $16, the SparkFun ESP8266 Thing can connect your gadget to WiFi. <a href=\"https:\/\/www.paleotechnologist.net\/?p=3888\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[267,306,210,238,223,490,381],"tags":[],"class_list":["post-3888","post","type-post","status-publish","format-standard","hentry","category-arduino","category-design","category-digital","category-electronics","category-internet","category-networking","category-reviews"],"_links":{"self":[{"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/posts\/3888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3888"}],"version-history":[{"count":4,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/posts\/3888\/revisions"}],"predecessor-version":[{"id":3892,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=\/wp\/v2\/posts\/3888\/revisions\/3892"}],"wp:attachment":[{"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.paleotechnologist.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}