{"id":732,"date":"2015-10-07T21:12:59","date_gmt":"2015-10-07T21:12:59","guid":{"rendered":"http:\/\/interactingobjects.com\/?p=732"},"modified":"2015-10-09T21:34:32","modified_gmt":"2015-10-09T21:34:32","slug":"discovering-blink-and-making-it-work-on-dfrobot-wido","status":"publish","type":"post","link":"https:\/\/interactingobjects.com\/?p=732","title":{"rendered":"Discovering Blynk&#8230; and making it work on DFRobot WiDo"},"content":{"rendered":"<p>I discovered <a href=\"http:\/\/www.blynk.cc\/\">Blynk <\/a>last week.<\/p>\n<p><a href=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2015\/10\/Blynk01.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-733 alignleft\" src=\"http:\/\/interactingobjects.com\/wp-content\/uploads\/2015\/10\/Blynk01.png\" alt=\"Blynk01\" width=\"106\" height=\"112\" srcset=\"https:\/\/interactingobjects.com\/wp-content\/uploads\/2015\/10\/Blynk01.png 750w, https:\/\/interactingobjects.com\/wp-content\/uploads\/2015\/10\/Blynk01-283x300.png 283w\" sizes=\"auto, (max-width: 106px) 100vw, 106px\" \/><\/a><\/p>\n<blockquote>\n<p style=\"text-align: left;\">Blynk<\/p>\n<p>Create an app for any connected\u00a0project or product based on Arduino, Raspberry Pi, ESP8266 and other hardware<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>I saw it could work with Adafruit CC3000 breakout board&#8230; and WiDo is working with this library. So lets test it !<\/p>\n<ul>\n<li>Grab a <a href=\"http:\/\/www.dfrobot.com\/index.php?route=product\/product&amp;product_id=1159\">WiDo<\/a><\/li>\n<li>Add the proper libraries\n<ul>\n<li><a href=\"https:\/\/github.com\/adafruit\/Adafruit_CC3000_Library\">CC3000\u00a0\u00a0from Adafruit<\/a><\/li>\n<li><a href=\"http:\/\/www.blynk.cc\/getting-started\/\">Blynk library &amp; app<\/a><\/li>\n<\/ul>\n<\/li>\n<li>Connect 3 leds to the WiDo on pin 11, 12 and 13 (but any other pin will do !).<\/li>\n<li>Download\u00a0<a href=\"https:\/\/github.com\/jsiobj\/BlynkLedTest\">this sketch<\/a><\/li>\n<li>Rename config.h.sample into config.h and customize the values depending on your environment<\/li>\n<li>Upload \u00a0on the WiDo (don&#8217;t forget to specify the proper board : it&#8217;s a Leonardo clone)<\/li>\n<\/ul>\n<p>And that&#8217;s it !<\/p>\n<p>You&#8217;ll notice the code is rather simple : almost all the magic happens in Blynk.run() whicg updates the led status when you press a button on Blynk App and a bit in Blynk.virtualWrite() which sends a value on virtual pin 1 and is used to blink a virtual led.<\/p>\n<p>[youtube width=&#8221;560&#8243; height=&#8221;315&#8243;]https:\/\/youtu.be\/pt1i4p4ZD6M[\/youtube]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I discovered Blynk last week. Blynk Create an app for any connected\u00a0project or product based on Arduino, Raspberry Pi, ESP8266 and other hardware &nbsp; I saw it could work with Adafruit CC3000 breakout board&#8230; and WiDo is working with this &hellip; <a href=\"https:\/\/interactingobjects.com\/?p=732\">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":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-732","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=732"}],"version-history":[{"count":12,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/732\/revisions"}],"predecessor-version":[{"id":745,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=\/wp\/v2\/posts\/732\/revisions\/745"}],"wp:attachment":[{"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interactingobjects.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}