{"id":2312,"date":"2017-08-28T01:36:57","date_gmt":"2017-08-28T01:36:57","guid":{"rendered":"http:\/\/funkboxing.com\/wordpress\/?p=2312"},"modified":"2021-01-03T17:58:29","modified_gmt":"2021-01-03T17:58:29","slug":"lolin32-adventures-in-wifi","status":"publish","type":"post","link":"http:\/\/funkboxing.com\/wordpress\/?p=2312","title":{"rendered":"Lolin32 &#8211; Adventures in WiFi"},"content":{"rendered":"<p><a href=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201722.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2314\" src=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201722-300x225.jpg\" alt=\"IMG_20170827_201722\" width=\"300\" height=\"225\" srcset=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201722-300x225.jpg 300w, http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201722.jpg 806w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201832.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-2313\" src=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201832-300x225.jpg\" alt=\"IMG_20170827_201832\" width=\"300\" height=\"225\" srcset=\"http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201832-300x225.jpg 300w, http:\/\/funkboxing.com\/wordpress\/wp-content\/uploads\/2017\/08\/IMG_20170827_201832.jpg 726w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>So I&#8217;ve been using Arduino Nano&#8217;s for a long time and my communications were pretty limited to<br \/>\nbluetooth and IR. I always wanted to use WiFi connection, but the expense and effort to integrate WiFi with Arduino was never really worth is. Enter the ESP8266- I actually made a few attempts to use it as a drop in replacement for the bluetooth modules I&#8217;m using, but I never got anything working the way I wanted.<\/p>\n<p>So then I start seeing these ESP32&#8217;s and they look pretty sweet, but I wasn&#8217;t sure I wanted to take the leap when I was so comfortable in my little Nano world.<\/p>\n<p>Then I see the Lolin32 ESP-32 board, with one major thing that set it apart- the battery connection and charging circuit. Game changer for me. I&#8217;ve been using USB battery packs forever because they&#8217;re pretty self-contained and nothing I could hack together would be as good as just plugging in the USB, but now I&#8217;ve got options.<\/p>\n<p>So I got a couple of these Lolin32&#8217;s and I&#8217;ve had about a week to poke at them. I finally got a few of the puzzle pieces turned over so I think I&#8217;m ready to start redoing the old bluetooth LED FX stuff for the ESP-32.<\/p>\n<p>So this post is mostly just to make notes and such so I don&#8217;t forget and maybe they&#8217;ll help someone else trying to get started with these chips.<\/p>\n<p>Here&#8217;s some pics of my &#8216;first light&#8217;, got a little strip of LED&#8217;s controlled via a simple web server on the Lolin32.<\/p>\n<p>NOTES \\ STUFF I&#8217;VE FOUND SO FAR<br \/>\n~FastLED library isn&#8217;t there yet. They just updated it with ESP32 support but I still couldn&#8217;t get it working so I ended up using Adafruits Neopixel library. There are still some weird flickering and color issues, but for the most part the library works okay.<br \/>\n~Pin 0 is weird. Not sure what&#8217;s up with that but when you have anything connect to it the Lolin32 boots into a different mode so idk if you can use this pin as a normal GPIO<\/p>\n<p>TO DO \\ STUFF I PLAN TO DO LATER<br \/>\n~Going to figure out more about the deep sleep mode on these things<br \/>\n~Not sure if there&#8217;s a way to monitor the attached battery voltage, but that would be great<br \/>\n~Still haven&#8217;t tried servos.<br \/>\n~Something about capacitive touch buttons built in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I&#8217;ve been using Arduino Nano&#8217;s for a long time and my communications were pretty limited to bluetooth and IR. I always wanted to use WiFi connection, but the expense and effort to integrate WiFi with Arduino was never really worth is. Enter the ESP8266- I actually made a few attempts to use it as <a href='http:\/\/funkboxing.com\/wordpress\/?p=2312' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[47],"tags":[],"_links":{"self":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2312"}],"collection":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2312"}],"version-history":[{"count":1,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2312\/revisions"}],"predecessor-version":[{"id":2315,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2312\/revisions\/2315"}],"wp:attachment":[{"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2312"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/funkboxing.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}