{"id":2199,"date":"2020-04-07T07:31:27","date_gmt":"2020-04-07T14:31:27","guid":{"rendered":"http:\/\/www.donluc.com\/?p=2199"},"modified":"2020-04-07T07:31:27","modified_gmt":"2020-04-07T14:31:27","slug":"project-15-environment-sparkfun-thing-plus-esp32-wroom-mk01","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=2199","title":{"rendered":"Project #15: Environment &#8211; SparkFun Thing Plus &#8211; ESP32 WROOM &#8211; Mk01"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2199-1\" width=\"720\" height=\"406\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/dl2004mk04.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/dl2004mk04.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/dl2004mk04.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLuc #Environment #Electronics #Microcontrollers #ESP32 #SparkFun #Fritzing #Programming #Adafruit #Arduino #Consultant #Vlog #Aphasia<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04a-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04a-1.png\" alt=\"Environment\" width=\"720\" height=\"493\" class=\"alignnone size-full wp-image-2203\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04a-1.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04a-1-300x205.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04b-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04b-1.png\" alt=\"Environment\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2204\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04b-1.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04b-1-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04c-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04c-1.png\" alt=\"Environment\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2205\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04c-1.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04c-1-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04d.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04d.png\" alt=\"Environment\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2206\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04d.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/04\/DL2004Mk04d-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>DL2004Mk04<\/strong><\/p>\n<p>1 x SparkFun Thing Plus &#8211; ESP32 WROOM<br \/>\n1 x Adafruit SHARP Memory Display<br \/>\n1 x LED Green<br \/>\n4 x Jumper Wires 3in M\/M<br \/>\n5 x Wire Solid Core &#8211; 22 AWG<br \/>\n1 x Half-Size Breadboard<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>SparkFun Thing Plus &#8211; ESP32 WROOM<\/strong><\/p>\n<p>LEG &#8211; Digital 21<br \/>\nSCK &#8211; Digital 13<br \/>\nMOS &#8211; Digital 12<br \/>\nSSD &#8211; Digital 27<br \/>\nVIN &#8211; +3.3V<br \/>\nGND &#8211; GND<\/p>\n<p><strong>DL2004Mk04p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"DL2004Mk04p.ino\">\r\n\/\/ ***** Don Luc Electronics \u00a9 *****\r\n\/\/ Software Version Information\r\n\/\/ Project #15: Environment - SparkFun Thing Plus - ESP32 WROOM - Mk01\r\n\/\/ 04-04\r\n\/\/ DL2004Mk04p.ino 15-01\r\n\/\/ EEPROM with Unique ID\r\n\/\/ 1 x SparkFun Thing Plus - ESP32 WROOM\r\n\/\/ 1 x Adafruit SHARP Memory Display\r\n\/\/ 1 x LED Green\r\n\/\/ 4 x Jumper Wires 3in M\/M\r\n\/\/ 5 x Wire Solid Core - 22 AWG\r\n\/\/ 1 x Half-Size Breadboard\r\n\/\/ 1 x SparkFun Cerberus USB Cable\r\n\r\n\/\/ Include the library code:\r\n\/\/ EEPROM library to read and write EEPROM with unique ID for unit\r\n#include &quot;EEPROM.h&quot;\r\n#include &lt;Adafruit_SharpMem.h&gt;\r\n#include &lt;Adafruit_GFX.h&gt;\r\n\r\n\/\/ LED Green\r\nint iLEDGreen = 21;\r\n\r\n\/\/ SHARP Memory Display\r\n\/\/ any pins can be used\r\n#define SHARP_SCK  13\r\n#define SHARP_MOSI 12\r\n#define SHARP_SS   27\r\n\/\/ Set the size of the display here - 144x168\r\nAdafruit_SharpMem display(SHARP_SCK, SHARP_MOSI, SHARP_SS, 144, 168);\r\n\/\/ The currently-available SHARP Memory Display (144x168 pixels)\r\n\/\/ requires &gt; 4K of microcontroller RAM; it WILL NOT WORK on Arduino Uno\r\n\/\/ or other &lt;4K &quot;classic&quot; devices!\r\n#define BLACK 0\r\n#define WHITE 1\r\nint minorHalfSize; \/\/ 1\/2 of lesser of display width or height\r\n\r\n\/\/ Software Version Information\r\n#define EEPROM_SIZE 64\r\nString sver = &quot;15-01&quot;;\r\n\/\/ Unit ID information\r\nString uid = &quot;&quot;;\r\n\r\nvoid loop() {\r\n\r\n  \/\/ Return\r\n  \r\n}\r\n<\/pre>\n<p><strong>getDisplay.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getDisplay.ino\">\r\n\/\/ Display\r\n\/\/ SHARP Memory Display - UID\r\nvoid isDisplayUID() {\r\n\r\n    \/\/ text display EEPROM\r\n    display.setRotation(4);\r\n    display.setTextSize(3);\r\n    display.setTextColor(BLACK);\r\n    display.setCursor(0,20);\r\n    display.println( &quot;Don Luc&quot; );\r\n    display.setTextSize(2);\r\n    display.setCursor(0,50);\r\n    display.println( &quot;Electronics&quot; );\r\n    display.setTextSize(3);\r\n    display.setCursor(0,80);   \r\n    display.println( sver );\r\n    display.setCursor(0,120);\r\n    display.println( uid );\r\n    display.refresh();\r\n    delay( 100 );\r\n    \r\n}\r\n<\/pre>\n<p><strong>getEEPROM.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"getEEPROM.ino\">\r\n\/\/ EEPROM\r\n\/\/ isUID\r\nvoid isUID()\r\n{\r\n  \r\n  \/\/ Is Unit ID\r\n  uid = &quot;&quot;;\r\n  for (int x = 0; x &lt; 5; x++)\r\n  {\r\n    uid = uid + char(EEPROM.read(x));\r\n  }\r\n  \r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"default\" data-enlighter-title=\"setup.ino\">\r\n\/\/ Setup\r\nvoid setup() {\r\n\r\n  \/\/ EEPROM with unique ID\r\n  EEPROM.begin(EEPROM_SIZE);\r\n  \r\n  \/\/ EEPROM Unit ID\r\n  isUID();\r\n  \r\n  \/\/ SHARP Display start &amp; clear the display\r\n  display.begin();\r\n  display.clearDisplay();\r\n\r\n  isDisplayUID();\r\n\r\n  delay( 5000 );\r\n  \r\n  \/\/ LED Green\r\n  pinMode(iLEDGreen, OUTPUT);\r\n  digitalWrite(iLEDGreen, HIGH);\r\n\r\n}\r\n<\/pre>\n<p><strong>Technology Experience<\/strong><\/p>\n<ul>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Desktop Applications (Windows, OSX, Linux, Multi-OS, Multi-Tier, etc&#8230;)<\/li>\n<li>Mobile Applications (Android, iOS, Blackberry, Windows Mobile, Windows CE, etc&#8230;)<\/li>\n<li>Web Applications (LAMP, Scripting, Java, ASP, ASP.NET, RoR, Wakanda, etc&#8230;)<\/li>\n<li>Social Media Programming &#038; Integration (Facebook, Twitter, YouTube, Pinterest, etc&#8230;)<\/li>\n<li>Content Management Systems (WordPress, Drupal, Joomla, Moodle, etc&#8230;)<\/li>\n<li>Bulletin Boards (phpBB, SMF, Vanilla, jobberBase, etc&#8230;)<\/li>\n<li>eCommerce (WooCommerce, OSCommerce, ZenCart, PayPal Shopping Cart, etc&#8230;)<\/li>\n<\/ul>\n<p><strong>Instructor<\/strong><\/p>\n<ul>\n<li>DOS, Windows, OSX, Linux, iOS, Android, Multi-OS<\/li>\n<li>Linux-Apache-PHP-MySQL<\/li>\n<li>Robotics<\/li>\n<li>Arduino<\/li>\n<li>Raspberry Pi<\/li>\n<li>Espressif<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>The Alpha Geek<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"VXLy9eqJcB\"><p><a href=\"https:\/\/www.donluc.com\/?page_id=6\">Why &#8220;The Alpha Geek&#8221;?<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" title=\"&#8220;Why &#8220;The Alpha Geek&#8221;?&#8221; &#8212; Don Luc Electronics\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.donluc.com\/?page_id=6&#038;embed=true#?secret=VXLy9eqJcB\" data-secret=\"VXLy9eqJcB\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><strong>Aphasia<\/strong><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"7FRm53JGIQ\"><p><a href=\"https:\/\/www.donluc.com\/?page_id=2149\">Don Luc Aphasia<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" title=\"&#8220;Don Luc Aphasia&#8221; &#8212; Don Luc Electronics\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.donluc.com\/?page_id=2149&#038;embed=true#?secret=7FRm53JGIQ\" data-secret=\"7FRm53JGIQ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p><strong>J. Luc Paquin \u2013 Curriculum Vitae<\/strong><br \/>\nhttps:\/\/www.donluc.com\/DLHackster\/LucPaquinCVEngMk2020a.pdf<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.donluc.com\/DLHackster\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/channel\/UC5eRjrGn1CqkkGfZy0jxEdA<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLuc #Environment #Electronics #Microcontrollers #ESP32 #SparkFun #Fritzing #Programming #Adafruit #Arduino #Consultant #Vlog #Aphasia &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; DL2004Mk04 1 x SparkFun Thing Plus &#8211; ESP32 WROOM 1 x Adafruit SHARP Memory Display 1 x LED Green 4 x Jumper Wires 3in M\/M 5 x Wire Solid Core &#8211; 22 AWG 1 x Half-Size &#8230; <a title=\"Project #15: Environment &#8211; SparkFun Thing Plus &#8211; ESP32 WROOM &#8211; Mk01\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=2199\" aria-label=\"Read more about Project #15: Environment &#8211; SparkFun Thing Plus &#8211; ESP32 WROOM &#8211; Mk01\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106,47,38,80,59,5,82,10,43],"tags":[86,105,6,87,19,107,83,85,24,9,84,27,34,108],"class_list":["post-2199","post","type-post","status-publish","format-standard","hentry","category-environment","category-adafruit","category-digitalelectronics","category-esp32","category-fritzing","category-microcontrollers","category-program-esp32","category-projects","category-sparkfun","tag-adafruit","tag-aphasia","tag-arduino","tag-display","tag-electronics","tag-environment","tag-esp32","tag-fritzing","tag-microcontroller","tag-programming","tag-programming-esp32","tag-projects-2","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2199"}],"version-history":[{"count":2,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2199\/revisions"}],"predecessor-version":[{"id":2207,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2199\/revisions\/2207"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}