{"id":7422,"date":"2019-10-11T16:35:40","date_gmt":"2019-10-11T23:35:40","guid":{"rendered":"https:\/\/www.dognmonkey.com\/techs\/?p=7422"},"modified":"2021-08-28T15:56:47","modified_gmt":"2021-08-28T22:56:47","slug":"how-to-use-wemos-d1-mini-with-arduino","status":"publish","type":"post","link":"https:\/\/www.dognmonkey.com\/techs\/how-to-use-wemos-d1-mini-with-arduino.html","title":{"rendered":"How To Use Wemos D1 Mini With Arduino"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><em>Software got updated and the links got disappeared, I couldn&#8217;t do the Wemos D1 mini using the older version anymore. I had to read again, now I&#8217;m going to document what needs to be done to just re-install a new version to be able to compile and upload the sketch to the wemos to be able to activate the garage relay. The Alexa garage with iPhone no longer works so I&#8217;ll have to find the good way to do it.<\/em><\/p>\n<p>https:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/p>\n<p><em>&#8211; I&#8217;m using the macOS, so rename the old document\/Arduino folder to document\/Arduinoold<\/em><\/p>\n<div class=\"igallery\">\n<a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_additionalboardsmanager.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7423\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_additionalboardsmanager-200x112.jpg\" alt=\"Additional Boards Manager\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_board_info_query.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7424\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_board_info_query-200x112.jpg\" alt=\"Board Info Query\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_board_manager.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7425\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_board_manager-200x112.jpg\" alt=\"Board Manager\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7426\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software-200x112.jpg\" alt=\"ESP8266 Software\" width=\"200\" height=\"112\" srcset=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software-200x112.jpg 200w, https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software-300x169.jpg 300w, https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software-100x56.jpg 100w, https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_esp8266_software.jpg 600w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_monitor.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7427\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_monitor-200x112.jpg\" alt=\"Wifi Connection Monitor\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_preferences.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7428\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_preferences-200x112.jpg\" alt=\"Preferences\" width=\"200\" height=\"112\" srcset=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_preferences-200x112.jpg 200w, https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_preferences-300x170.jpg 300w, https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_preferences-100x57.jpg 100w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_Screen-Shot-2019-10-11-at-2.04.29-PM.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7429\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_Screen-Shot-2019-10-11-at-2.04.29-PM-200x112.jpg\" alt=\"\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_tools_port_serial.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7430\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_tools_port_serial-200x112.jpg\" alt=\"Port Serial Connection\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_tools.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7431\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_tools-200x112.jpg\" alt=\"Tools\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_upload_sketch.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7432\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_upload_sketch-200x112.jpg\" alt=\"Upload Sketch Successfully\" width=\"200\" height=\"112\" \/><\/a> <a class=\"preview\" title=\"additional board manager\" href=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_usb_serial_port.jpg\" data-fancybox=\"wemos\" data-caption=\"additional board manager\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-7433\" src=\"https:\/\/www.dognmonkey.com\/techs\/wp-content\/uploads\/y_usb_serial_port-200x112.jpg\" alt=\"USB Serial Port\" width=\"200\" height=\"112\" \/><\/a><\/div>\n<ul>\n<li><em>Go to <a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-blue w3-round-xlarge\">Arduino.cc<\/button><\/a> to download the latest IDE software 1.8.9 and install it &#8211; drag the Arduino App to the Application folder.<\/em><\/li>\n<li><em>Launch the Arduino App, select preferences and copy and paste this url: https:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json to Additional Board Manager URLs field.<\/em><\/li>\n<li><em>Close and Re-launch Arduino App &#8211; go to board and install esp8266 to version 2.5.2. <a href=\"https:\/\/arduino-esp8266.readthedocs.io\/en\/2.5.2\/installing.html#boards-manager\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-green w3-round-xlarge\">Read the instructions here<\/button><\/a>.<\/em><\/li>\n<li><em>I also need to <a href=\"https:\/\/learn.sparkfun.com\/tutorials\/how-to-install-ch340-drivers\/all#drivers-if-you-need-them\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-red w3-round-xlarge\">install CH340 USB driver<\/button><\/a> for the nodeMCU and Arduino at the <a href=\"https:\/\/www.wemos.cc\" target=\"_blank\" rel=\"noopener noreferrer\"><button class=\"w3-button w3-black w3-round-xlarge\">Wemos.cc website<\/button><\/a>.<\/em><\/li>\n<li><em>When all the software is done, plug in the nodeMCU or Wemos D1 mini and select the correct com port to download the sketch, make sure you can query the board. Select the correct board (Lolin(Wemos) D1 R2 mini).<\/em><\/li>\n<li><em>That&#8217;s all I need for download a sketch to the wemos and the relay to work.<\/em><\/li>\n<\/ul>\n<ul class=\"lcp_catlist\" id=\"lcp_instance_0\"><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Software got updated and the links got disappeared, I couldn&#8217;t do the Wemos D1 mini using the older version anymore. I had to read again, now I&#8217;m going to document what needs to be done to just re-install a new version to be able to compile and upload the sketch to the wemos to <a href=\"https:\/\/www.dognmonkey.com\/techs\/how-to-use-wemos-d1-mini-with-arduino.html\" class=\"more-link\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":7485,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1153],"tags":[1253,1254,1326,1325,1232,1328,1327,1251],"class_list":["post-7422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot","tag-arduino","tag-arduino-ide","tag-ch340-usb-driver","tag-esp8266","tag-macos-mojave","tag-nodemcu","tag-wemos","tag-wemos-d1-mini"],"views":853,"_links":{"self":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/comments?post=7422"}],"version-history":[{"count":3,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7422\/revisions"}],"predecessor-version":[{"id":8209,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/posts\/7422\/revisions\/8209"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media\/7485"}],"wp:attachment":[{"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/media?parent=7422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/categories?post=7422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dognmonkey.com\/techs\/wp-json\/wp\/v2\/tags?post=7422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}