{"id":1599,"date":"2020-05-26T17:44:12","date_gmt":"2020-05-26T17:44:12","guid":{"rendered":"https:\/\/soliloquyforthefallen.net\/?p=1599"},"modified":"2020-05-18T18:30:13","modified_gmt":"2020-05-18T18:30:13","slug":"a-useful-gadget","status":"publish","type":"post","link":"https:\/\/soliloquyforthefallen.net\/?p=1599","title":{"rendered":"A Useful Gadget"},"content":{"rendered":"<p>The problem though with developing on an arduino is there&#8217;s not a real good way to debug it, other then lots of printing to the serial port.\u00a0 So, not a &#8220;problem&#8221; &#8211; unless you can&#8217;t get a computer near what you&#8217;re working or you want to air gap your very expensive laptop from the arduino.\u00a0 How to solve this?<\/p>\n<p>JeeLabs has developed firmware for the esp-12s to turn it into a wifi serial platform.\u00a0 I think its out of active development at this point, but it still works &#8211; and pretty well at this point.\u00a0 So, I built a breakout to the esp-link.\u00a0 And feature creep occured.<\/p>\n<p>This isn&#8217;t something I really want to sell or build or what have you.\u00a0 But I decided today while I was debugging the &#8220;LazyVac 31&#8221; with this that I would share it for everyone, for free.\u00a0 Because I can &#8211; and because I think its that useful.\u00a0 Since this post is for the developer amongst my readers I won&#8217;t deep dive to much.\u00a0 Instead, I&#8217;ll link the relevant components and share the schematics, stl, and some pictures of the finished project.\u00a0 If you need more details, feel free to ask in the comments.<\/p>\n<div id=\"attachment_1605\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/IMG_3498-scaled.jpg\"><img aria-describedby=\"caption-attachment-1605\" decoding=\"async\" loading=\"lazy\" class=\"size-thumbnail wp-image-1605\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/IMG_3498-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-1605\" class=\"wp-caption-text\">The Finished Project. Yes, Full Rebel XS + Macro Lense Resolution<\/p><\/div>\n<div id=\"attachment_1601\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-03-29-20-39-53.png\"><img aria-describedby=\"caption-attachment-1601\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1601 size-thumbnail\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-03-29-20-39-53-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-1601\" class=\"wp-caption-text\">Cura View of the Carrier<\/p><\/div>\n<div id=\"attachment_1593\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/04\/IMG_3458-scaled.jpg\"><img aria-describedby=\"caption-attachment-1593\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1593 size-thumbnail\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/04\/IMG_3458-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-1593\" class=\"wp-caption-text\">Top View of the Board<\/p><\/div>\n<div id=\"attachment_1594\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/04\/IMG_3459-scaled.jpg\"><img aria-describedby=\"caption-attachment-1594\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1594 size-thumbnail\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/04\/IMG_3459-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-1594\" class=\"wp-caption-text\">Bottom Side of the Board<\/p><\/div>\n<div id=\"attachment_1602\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/04\/esp-12s-serial.pdf\"><img aria-describedby=\"caption-attachment-1602\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1602 size-thumbnail\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/2245921-200-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/2245921-200-150x150.png 150w, https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/2245921-200.png 200w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-1602\" class=\"wp-caption-text\">Schematic Diagram<\/p><\/div>\n<div id=\"attachment_1603\" style=\"width: 160px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/carrier-bottom-3d-mark2.stl\"><img aria-describedby=\"caption-attachment-1603\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-1603 size-thumbnail\" src=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/926687-200-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/926687-200-150x150.png 150w, https:\/\/soliloquyforthefallen.net\/wp-content\/uploads\/2020\/05\/926687-200.png 200w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a><p id=\"caption-attachment-1603\" class=\"wp-caption-text\">Carrier STL<\/p><\/div>\n<h3>Additional Notes<\/h3>\n<ul>\n<li>The USB A on board is for power only.\u00a0 I have a breakout board that plugs into a USB power supply so it makes sense to be able to power the breadboard.<\/li>\n<li>From what I can tell, the esp12-s is meant to run on 3.3VDC.\u00a0 So, since I had to include a 3.3VD rail it makes sense include a screw terminal for 3.3VDC powering.<\/li>\n<li>I added the silicone wire and clips after I built the schematic.\u00a0 I found out that being able to hook up the two wires with the test clips made my life super easy.<\/li>\n<li>I generally use my phone to connect to the esp-12s&#8217; wireless access point and then connect to the serial terminal via JuiceSSH.<\/li>\n<li>The extra holes on the top of the carrier are meant to have 12mm magnets pressed in for retaining a cover but I&#8217;ve never needed the cover enough to design one.<\/li>\n<\/ul>\n<h3>Components<\/h3>\n<ul>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07F81Y299\">Test Clip<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07VNNHWF9\/\">Voltage Regulator<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07PZT3ZW2\/\">Lithium 18650 Controller<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B0183KF7TM\">USB Micro B Breakout<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07H5G7GC6\/\">Screw Terminal<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B07G2GLKMP\">Silicone Wire<\/a><\/li>\n<li><a href=\"https:\/\/www.electrodragon.com\/product\/esp-12s-wifi-module-esp8266\/\">esp-12s<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/Programmer-ESP8266-Adapter-ESPRESSIF-ESP-12S\/\">Frog Pin Programmer<\/a><\/li>\n<\/ul>\n<h3>Flashing the Firmware<\/h3>\n<p>This is the command I used to flash the firmware via my frog pin programmer.\u00a0 You&#8217;ll need to download the esptool package for your platform to flash the firmware.\u00a0 Its much easier then tying to get the Arduino IDE to flash the firmware via the programmer.<\/p>\n<pre>esptool-2.8\/esptool.py --port \/dev\/ttyUSB0 --baud 460800 write_flash -fs 4m -ff 40m 0x00000 esp-link-v3.0.14-g963ffbb\/boot_v1.6.bin 0x1000 esp-link-v3.0.14-g963ffbb\/user1.bin 0x7C000 esp-link-v3.0.14-g963ffbb\/esp_init_data_default.bin 0x7E000 esp-link-v3.0.14-g963ffbb\/blank.bin<\/pre>\n<p><a href=\"https:\/\/github.com\/jeelabs\/esp-link\">esp-link Firmware<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The problem though with developing on an arduino is there&#8217;s not a real good way to debug it, other then lots of printing to the serial port.\u00a0 So, not a &#8220;problem&#8221; &#8211; unless you can&#8217;t get a computer near what you&#8217;re working or you want to air gap your very expensive laptop from the arduino.\u00a0&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/soliloquyforthefallen.net\/?p=1599\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[120,117],"tags":[],"_links":{"self":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/1599"}],"collection":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1599"}],"version-history":[{"count":6,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/1599\/revisions"}],"predecessor-version":[{"id":1781,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/1599\/revisions\/1781"}],"wp:attachment":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}