{"id":10729,"date":"2021-01-08T14:34:34","date_gmt":"2021-01-08T14:34:34","guid":{"rendered":"https:\/\/wolles-elektronikkiste.de\/wemos-d1-mini-boards"},"modified":"2025-02-03T20:03:37","modified_gmt":"2025-02-03T20:03:37","slug":"wemos-d1-mini-boards","status":"publish","type":"post","link":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards","title":{"rendered":"Wemos D1 Mini Boards"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">About this post<\/h2>\n\n<p>In this article I would like to introduce the Wemos D1 Mini Board. Strictly speaking, it is a board family, but its members are not very different. So, when I talk about the Wemos D1 Mini, I always mean the whole family.<\/p>\r\n<p>First, I will look at what the Wemos D1 Mini Board is, what features it has, and how the variants differ. Then I will show you how to integrate the board into the Arduino IDE and what are the differences to the Arduino (UNO) board. Finally, there is a small speed test.<\/p>\r\n\n<h2 class=\"wp-block-heading\">What is the Wemos D1 Mini Board?<\/h2>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-1024x476.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-1024x476.png\" alt=\"Wemos D1 Mini Board (here from AZ-Delivery)\" class=\"wp-image-7485\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-1024x476.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-300x139.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-768x357.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-1536x714.png 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-2048x951.png 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Board_beide_Seiten-1320x613.png 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Wemos D1 Mini Board (here from AZ-Delivery)<\/figcaption><\/figure>\n\n<p>The heart of a Wemos D1 mini board is an ESP8266EX, an ESP8266 12-F or an ESP8285 chip, depending on the version. These are powerful 32-bit microcontrollers with integrated Wi-Fi interface.<\/p>\r\n<p>So, what the ATmega328P is for the Arduino UNO board, the ESP8266\/ESP8285 is for the Wemos board. And just as the ATmega328P is &#8220;stand-alone&#8221; programmable (I have reported on it <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/using-the-atmega328p-standalone\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>), you can also program the ESP8266\/ESP8285 as such. But for this purpose, you need some additional components such as USB-to-serial adapter. In addition, not for everyone enjoys soldering SMD components like the ESP8266EX. It&#8217;s easier to use a development board like the Wemos D1 Mini.<\/p>\r\n\n<h3 class=\"wp-block-heading\">Name confusion<\/h3>\n\n<p>If you search for the term &#8220;D1 Mini&#8221;, you will find a bunch of boards with different names. For example, this could be the Lolin D1 Mini, the AZ-Delivery D1 Mini (NodeMCU) shown above, but of course also the Wemos D1 Mini. The &#8220;first name&#8221; is only a brand or manufacturer name and in my experience does not matter. In the further course of the article I prefer to use the name Wemos D1 Mini, as this is the original. <\/p>\r\n<p>In addition, these boards have different &#8220;surnames&#8221;, e.g. D1 Mini <em>Pro<\/em>, D1 Mini <em>V3 <\/em>or D1 Mini <em>Lite.<\/em> There are indeed differences here. <\/p>\r\n\n<h2 class=\"wp-block-heading\">Key technical features of the Wemos D1 Mini Boards<\/h2>\n\n<p>The following technical features are common to all Wemos D1 mini boards:<\/p>\r\n<ul>\r\n<li>You have several options for<strong>powering<\/strong> the boards. Either apply 2.5 to 3.6 volts to the 3.3 volt pin, 3 to 7 volts to the 5 volt pin, or power the board via the USB micro port. The underlying microcontrollers run at 2.5 &#8211; 3.6 volts.<\/li>\r\n<li>The <strong>power comsumption <\/strong>of the Wemos D1 Mini Boards is comparatively high at around 70 milliamps. When transmitting via Wi-Fi, it even increases to several hundred milliamperes.<\/li>\r\n<li><span class=\"enlighter-m0\">The Wemos D1 Mini Boards have the <strong>interfaces<\/strong> I2C, SPI and UART. <br><\/span><\/li>\r\n<li><strong>The Wi-Fi<\/strong> meets the specifications 802.11 b\/g\/n (2.4 GHz) with WPA\/WPA2 PSK.<\/li>\r\n<li>The <strong>clock<\/strong> is 80 or 160 MHz.<\/li>\r\n<li>There are 11 <strong>I\/O pins, <\/strong>all except D0 are <strong>PWM, I2C and One-Wire <\/strong>capable, I<sub>max<\/sub> is 12 mA.<\/li>\r\n<li>The maximum <strong>output voltage<\/strong> at the I\/O pins is 3.3 volts.<\/li>\r\n<li>1 <strong>analog input<\/strong> with 10 bit resolution, <strong>max. 3.2 Volts<\/strong> (!)<\/li>\r\n<li><strong>Flash memory:<\/strong>1 &#8211; 16 MB.<\/li>\r\n<\/ul>\r\n\n<h2 class=\"wp-block-heading\">The different Wemos D1 Mini Boards<\/h2>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2025\/02\/D1_mini_family_2025-1024x255.png\"><img decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2025\/02\/D1_mini_family_2025-1024x255.png\" alt=\"\" class=\"wp-image-23069\"\/><\/a><figcaption class=\"wp-element-caption\">Table 1: Members of the Wemos D1 Mini Board Family<\/figcaption><\/figure>\n\n<p>The boards differ mainly in the microcontroller used, the flash memory and the antenna. In addition, there are differences in the USB-to-serial adapter. Some boards use the CH340G, others use the CP2104. This difference is relevant in that different drivers are required. From the name of the board it cannot be concluded with certainty which USB-serial adapter is used. <\/p>\r\n<p> <\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-1024x465.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"465\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-1024x465.png\" alt=\"Wemos D1 Mini Lite Board\" class=\"wp-image-7496\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-1024x465.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-300x136.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-768x349.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten-1320x599.png 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Lite_Board__beide_Seiten.png 1447w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The smallest representative (in terms of flash memory): the Wemos D1 Mini Lite Board<\/figcaption><\/figure>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-1024x476.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-1024x476.png\" alt=\"The Wemos D1 Mini V3 Board\" class=\"wp-image-7493\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-1024x476.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-300x139.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-768x357.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-1536x714.png 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-2048x951.png 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_V3_Board_beide_Seiten-1320x613.png 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Wemos D1 Mini V3.0.0 Board <\/figcaption><\/figure>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-1024x465.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"465\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-1024x465.png\" alt=\"\" class=\"wp-image-23065\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-1024x465.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-300x136.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-768x349.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0-1320x599.png 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/d1_mini_4_0_0.png 1447w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Wemos D1 Mini V4.0.0<\/figcaption><\/figure>\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-1024x476.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-1024x476.png\" alt=\"Wemos D1 Mini Pro Board\" class=\"wp-image-7494\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-1024x476.png 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-300x139.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-768x357.png 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-1536x714.png 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-2048x951.png 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_pro_Board_beide_Seiten-1320x613.png 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">With external antenna connection: Wemos D1 Mini Pro Board<\/figcaption><\/figure>\n\n<h3 class=\"wp-block-heading\">Wemos D1 Mini V4.0.0 vs. V3.0.0<\/h3>\n\n<p>The latest representative of the series is the Wemos D1 Mini V4.0.0 (short: D1 Mini V4). The changes compared to the Wemos D1 Mini 3.0.0 (short: D1 Mini V3) are not huge:<\/p>\r\n<ul>\r\n<li>The USB port has been changed from USB-Micro-B to USB-C.<\/li>\r\n<li>The 5V connection is now called VBUS on the D1 Mini V4. There is no longer a diode between the 5V power supply via USB and VBUS. You can continue to supply the Wemos D1 Mini V4 with voltages &gt; 5V at VBUS, but you should then disconnect it from the USB connection!<\/li>\r\n<li>The D1 Mini V4 has a QWIIC connector for the convenient use of I2C devices.<\/li>\r\n<li>The SLEEP solder pad offers the option of connecting GPIO16 (D0) to Reset. This is required to wake the D1 mini from deep sleep. The D1 mini V4 has an additional 470 Ohm resistor installed between D0 and Reset for protection.<\/li>\r\n<li>I think it&#8217;s a bit of a shame that version 4 only uses the GPIO designations and not the \u201cDx\u201d pin designations.<\/li>\r\n<\/ul>\r\n\n<h2 class=\"wp-block-heading\">Preparations<\/h2>\n\n<h3 class=\"wp-block-heading\">Pin header<\/h3>\n\n<p>Normally you will receive pin headers with your board. With AZ-Delivery you will receive various bars (no, I am not paid by them!):<\/p>\r\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-1024x268.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"268\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-1024x268.jpg\" alt=\"Pin headers for the Wemos D1 Mini Board\" class=\"wp-image-7506\" style=\"width:580px;height:151px\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-1024x268.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-300x78.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-768x201.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-1536x401.jpg 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-2048x535.jpg 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Anschluesse-1320x345.jpg 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Pin headers for the Wemos D1 Mini Board<\/figcaption><\/figure>\n\n<p>Personally, I find the socket strips with the long pins handy for experimenting because you can fix the board well on the breadboard and also use the sockets:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-1024x589.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"589\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-1024x589.jpg\" alt=\"Wemos D1 Mini Board on the Breadboard\" class=\"wp-image-7505\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-1024x589.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-300x173.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-768x442.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-1536x884.jpg 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard-1320x760.jpg 1320w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_auf_Breadboard.jpg 1800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n<h3 class=\"wp-block-heading\">Integrating the Wemos D1 Mini Board into the Arduino IDE<\/h3>\n\n<p>Before you start you have to introduce the Wemos D1 Mini Board to the Arduino IDE. To do this, go to File &gt; Preferences and click on the icon next to &#8220;Additional Board Manager URLs&#8221;. In the window that pops up, enter the following on a separate line:<\/p>\r\n<p>https:\/\/arduino.esp8266.com\/stable\/package_esp8266com_index.json<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/Board_mgr_URL.png\"><img decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/Board_mgr_URL.png\" alt=\"Configuring the preferences\" class=\"wp-image-7508\"\/><\/a><figcaption class=\"wp-element-caption\">Configuring the preferences<\/figcaption><\/figure>\n\n<p>Then you go to Tools &#8211; &gt; Board &#8211; &gt; Board Manager, search for &#8220;esp8266&#8221; and install the package:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/ESP8266_Paket.png\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"443\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/ESP8266_Paket.png\" alt=\"Installation via Board Manager\" class=\"wp-image-7509\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/ESP8266_Paket.png 786w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/ESP8266_Paket-300x169.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/ESP8266_Paket-768x433.png 768w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/a><figcaption class=\"wp-element-caption\">Installation via Board Manager<\/figcaption><\/figure>\n\n<p>Then you restart the Arduino IDE.<\/p>\r\n<p>If your board is detected by Windows, it should appear like this or similar in the Device Manager:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Geraetemanager.png\"><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"141\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Geraetemanager.png\" alt=\"Wemos D1 Mini Board in Device Manager\" class=\"wp-image-7511\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Geraetemanager.png 777w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Geraetemanager-300x54.png 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Geraetemanager-768x139.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/a><figcaption class=\"wp-element-caption\">Wemos D1 Mini Board in Device Manager<\/figcaption><\/figure>\n\n<p>If your board is not recognized, then you are probably missing the driver for the USB-to-Serial Adapter. The driver for the CH340G can be downloaded <a href=\"https:\/\/github.com\/HobbyComponents\/CH340-Drivers\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or <a href=\"http:\/\/www.wch.cn\/download\/CH341SER_ZIP.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> (click on the download icon). Don&#8217;t bother with the name &#8220;CH341SER&#8221;. You can get the driver for the CP2104 <a href=\"https:\/\/www.silabs.com\/products\/development-tools\/software\/usb-to-uart-bridge-vcp-drivers\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\r\n\n<h3 class=\"wp-block-heading\">A small test<\/h3>\n\n<p>Open the Blink Example sketch: File &#8211; &gt; Examples &#8211; &gt; Basics &#8211; &gt; Blink. Then select the correct board in Tools &#8211; &gt; Boards:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/Board_selection.png\"><img decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/Board_selection.png\" alt=\"Board selection in the Arduino IDE\" class=\"wp-image-7513\"\/><\/a><figcaption class=\"wp-element-caption\">Board selection in the Arduino IDE<\/figcaption><\/figure>\n\n<p>Finally, you have to select the right port, and then you are ready to upload the sketch. If all goes well, the on-board LED should flash now:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED-1024x592.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"592\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED-1024x592.jpg\" alt=\"On-board LED of the Wemos D1 Mini Board\" class=\"wp-image-7514\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED-1024x592.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED-300x173.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED-768x444.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/D1_Mini_Built_in_LED.jpg 1300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">On-board LED of the Wemos D1 Mini Board<\/figcaption><\/figure>\n\n<h2 class=\"wp-block-heading\">Problems using clone boards<\/h2>\n\n<p>With some clones of the Wemos boards, I sometimes had problems uploading programs. In this case, it helped me to press the reset button during compilation and release it when the actual upload is starting.<\/p>\r\n\n<h2 class=\"wp-block-heading\">Using the Wemos D1 Board<\/h2>\n\n<p>I will now go into the most important basic functions, paying particular attention to the differences with the Arduino (Uno).<\/p>\r\n<p>Also on the Wemos D1 Mini Board some pins have multiple functions:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/pinout_and_functions_D1_Mini.png\"><img decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2021\/01\/pinout_and_functions_D1_Mini-1024x408.png\" alt=\"Table 2: Pin names and functions of the Wemos D1 Mini Boards\" class=\"wp-image-7516\"\/><\/a><figcaption class=\"wp-element-caption\">Table 2: Pin names and functions of the Wemos D1 Mini Boards<\/figcaption><\/figure>\n\n<h4 class=\"wp-block-heading\" id=\"pin_restrictions\">Restrictions for the use of some pins<\/h4>\n\n<p>Some pins have special functions, so there are certain restrictions for them:<\/p>\r\n<ul>\r\n<li>D0 (GPIO 16): The pin is needed to wake up from DeepSleep. It also gives a short high signal when booting.<\/li>\r\n<li>D3 (GPIO 0): If this pin is pulled to LOW during boot, the ESP8266 changes into firmware programming mode.<\/li>\r\n<li>D4 (GPIO 2): The pin must not be pulled to LOW during boot.<\/li>\r\n<li>D8 (GPIO 15): Must not be pulled HIGH during boot.<\/li>\r\n<\/ul>\r\n\n<h3 class=\"wp-block-heading\">digitalWrite() \/ analogWrite()<\/h3>\n\n<p>For the <code>digitalWrite()<\/code> function, first note that the HIGH signal at the corresponding output is 3.3 volts. The current must not exceed 12 milliamps.<\/p>\r\n<p>You can use the pins D0 &#8211; D8 and RX \/ TX as input or output pins. This means that you have a total of 11 pins at your disposal. To address them, you can use their designation or GPIO number. The following commands have the same effect:<\/p>\r\n<p><code>digitalWrite(D2, HIGH);<\/code>  \/  <code>digitalWrite(4, HIGH);<\/code><\/p>\r\n<p>For pin D4, it should be noted that it is connected to the board LED. However, in such a way that the board LED lights up when D4 is LOW.<\/p>\r\n<p>The <code>pinMode<\/code> is set as usual. But there is one particularity. If you want to activate the pull-down resistor of D0 (GPIO 16), then you have to do like this: <code>pinMode(D0, INPUT_PULLDOWN_16)<\/code>.<\/p>\r\n<p><code>analogWrite()<\/code> is available for all I\/O pins. This also applies to the pin D0, which has otherwise limited PWM capabilities. In contrast to the Arduino UNO, the resolution is 10 bits. This means that &nbsp; <code>analogWrite(pin, 1023)<\/code> delivers the full voltage.<\/p>\r\n<p>Update: since ESP8266 Arduino Core version 3.0 the default resolution for <code>analogWrite()<\/code> is 8 bit due to compatibility issues. To return to the old behavior, you just have to add <code>analogWriteRange(1023);<\/code> to the setup (see also <a href=\"https:\/\/arduino-esp8266.readthedocs.io\/en\/3.0.2\/reference.html#analog-output\" target=\"_blank\" rel=\"noopener\">here<\/a>).<\/p>\r\n\n<h3 class=\"wp-block-heading\">digitalRead() \/ analogRead()<\/h3>\n\n<p><code>digitalRead()<\/code> works like the Arduino with all pins D0 &#8211; D8. The pins RX and TX have their own peculiarities. Therefore, I would not use them for this purpose.<\/p>\r\n<p>The Pin A0 is the only analog input. Actually, the analog input of the ESP8266 can only tolerate a maximum of 1 volt. However, on the Wemos D1 mini boards a voltage divider (100 kOhm \/ 220 kOhm) is connected upstream, so that the maximum voltage is 3.2 volts. The resolution is 10 bits. This results in the following for the voltage U:<\/p>\r\n\n<p><\/p>\r\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 40px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/ql-cache\/quicklatex.com-974402f6be440fc615728ab9c63d2fd6_l3.png\" height=\"40\" width=\"246\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#92;&#91; &#85;&#92;&#59;&#91;&#92;&#116;&#101;&#120;&#116;&#123;&#86;&#125;&#93;&#61;&#51;&#46;&#50;&#32;&#92;&#99;&#100;&#111;&#116;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#97;&#110;&#97;&#108;&#111;&#103;&#82;&#101;&#97;&#100;&#40;&#92;&#116;&#101;&#120;&#116;&#123;&#65;&#48;&#125;&#41;&#125;&#123;&#49;&#48;&#50;&#52;&#125; &#92;&#93;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\r\n\n<p>It is interesting that you actually get 1024 for the maximum voltage and not 1023 as with the Arduino UNO. For the latter it&#8217;s one of my favorite topics that you have to divide by 1023 and not 1024 when calculating the voltage. So that&#8217;s different here.<\/p>\r\n\n<p>I like the function <code>analogRead()<\/code> on the Wemos D1 Mini Boards much more than that on the Arduino UNO. With the Arduino UNO, the analogRead values fluctuate by +\/- two units, even when a stable voltage source is connected. The values determined with the Wemos D1 Mini, on the other hand, do not fluctuate at all.<\/p>\r\n\n<h3 class=\"wp-block-heading\">Interrupts<\/h3>\n\n<p>AApart from the general restrictions mentioned above, you can use any pin of the Wemos D1 Mini Board for interrupts. An interrupt is set up as usual via <\/p>\r\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">attachInterrupt(digitalPinToInterrupt(Pin), ISR, mode);<\/code><\/p>\r\n<p>and<\/p>\r\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">detachInterrupt(digitalPinToInterrupt(Pin));<\/code><\/p>\r\n<p>deactivates it again. For mode, you can choose from:<\/p>\r\n<ul>\r\n<li>RISING<\/li>\r\n<li>FALLING<\/li>\r\n<li>CHANGE<\/li>\r\n<li>LOW<\/li>\r\n<li>HIGH<\/li>\r\n<\/ul>\r\n<p>The first three options trigger the interrupt with the signal edge, LOW and HIGH trigger again and again as long as the level of the pin corresponds to the setting.<\/p>\r\n<p>In addition, there are two things to note about the Interrupt Service Routine (ISR):<\/p>\r\n<ol>\r\n<li>The ISR must be placed before the Setup.<\/li>\r\n<li>You have to insert the attribute <code>IRAM_ATTR<\/code> before the function name of the ISR, i.e.: <code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">void IRAM_ATTR ISRname() {.....}<\/code>.<\/li>\r\n<\/ol>\r\n\n<p>You may also see <code>ICACHE_RAM_ATTR<\/code> in older code. It still works, but it is deprecated.<\/p>\r\n\n<h3 class=\"wp-block-heading\">I2C with the Wemos D1 Mini Board<\/h3>\n\n<p>If you activate I2C with <code>Wire.begin()<\/code>, then D1 serves as SCL and D2 as SDA. However, it is not a problem to select other pins according to the scheme <code>Wire.begin(SDA-PIN,SCL-PIN)<\/code>.<\/p>\r\n<p>The Wemos D1 Mini boards are capable of the Fast Mode (400 kHz). Beyond that, it gets tight.<\/p>\r\n<p>You have to be careful with the voltage levels of the I2C connection. If you use an I2C component that runs on 5 volts, you need a voltage divider, or you take a logic level converter like this:<\/p>\r\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"405\" src=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-1024x405.jpg\" alt=\"Logic Level Converter\" class=\"wp-image-7521\" srcset=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-1024x405.jpg 1024w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-300x119.jpg 300w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-768x304.jpg 768w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-1536x608.jpg 1536w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-2048x811.jpg 2048w, https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/08\/Levelkonverter-1320x523.jpg 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Logic Level Converter<\/figcaption><\/figure>\n\n<h3 class=\"wp-block-heading\">SPI with the Wemos D1 Mini Board<\/h3>\n\n<p>There is not so much to say about SPI. The connections can be found in Table 2.<\/p>\r\n\n<h3 class=\"wp-block-heading\">Serial interface<\/h3>\n\n<p>You use the pins TX and RX for serial communication like on the Arduino UNO. You can also use pins D7 and D8 (= GPIO 13 \/ RXD2 or GPIO 15 \/ TXD2) instead. All you have to do is insert the instruction <code>Serial.swap()<\/code> after <code>Serial.begin()<\/code> in the setup.&nbsp; <\/p>\r\n\n<h3 class=\"wp-block-heading\">Attention &#8211; biting watchdog<\/h3>\n\n<p>Take the following sketch, which is rather pointless in itself, and load it unchanged onto your Wemos D1 Mini Board.<\/p>\r\n<p>In the setup, the board LED flashes ten times at fast frequency. This is simply to visualize the starting point of the sketch. In the main loop, your Wemos D1 Mini Board is waiting for a HIGH signal on D1, e.g. through a button or sensor. If there is no signal, your board should run the <code>while()<\/code> loop forever.<\/p>\r\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"ESP8266_Watchdog_Demo.ino\" data-enlighter-title=\"ESP8266_Watchdog_Demo.ino\">void setup() {\r\n  pinMode(D1, INPUT); \/\/ Actually redundant, since this state is default\r\n  pinMode(LED_BUILTIN, OUTPUT);\r\n  for(int i=0; i&lt;10; i++){\r\n    digitalWrite(LED_BUILTIN, LOW);   \r\n    delay(50);                       \r\n    digitalWrite(LED_BUILTIN, HIGH);    \r\n    delay(50);           \r\n  }\r\n  \/\/ESP.wdtDisable();\r\n}\r\n\r\nvoid loop() {\r\n  while(!digitalRead(D1)){\r\n    \/\/delay(0);  \r\n  }\r\n}<\/pre>\r\n<p>&nbsp;<\/p>\r\n\n<p>But if you run the sketch, you will see the flashing LED restarting about every three seconds. Here a security mechanism strikes and this is called watchdog timer. I have reported about watchdog timers in <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/watchdog-timer\" target=\"_blank\" rel=\"noopener noreferrer\">another post<\/a>. The short version is: a watchdog timer is a counter that, if not reset in time, overflows and then triggers a reset. It thus watches over the microcontroller and ensures, for example, that a crashed program is restarted. <\/p>\r\n<p>The Wemos D1 Mini Board, or more precisely the ESP8266, has a software and a hardware watchdog timer. The software watchdog is activated by default and runs over approximately every 3 seconds if it&#8217;s not reset. The reset is done by certain functions, e.g. when you restart the main loop, perform a <code>delay()<\/code> or &#8211; quite explicitly &#8211; by <code>ESP.wdtFeed()<\/code> (the watchdog is fed). Uncomment line 15, and you&#8217;ll see that your board isn&#8217;t constantly restarting.<\/p>\r\n\n<h4 class=\"wp-block-heading\">Extending the watchdog period<\/h4>\n\n<p>You can extend the time until the reset by turning off the software watchdog. For this purpose, uncomment line 10. However, the hardware watchdog now bites about every 8 seconds. The hardware watchdog cannot be turned off and the watchdog periods cannot be extended further.<\/p>\r\n\n<h4 class=\"wp-block-heading\">What is this is good for?<\/h4>\n\n<p>The ESP8266 regularly performs routines that take care of the Wi-Fi function. For example, this happens when the main loop restarts or when a <code>delay()<\/code> is executed. If it is not given the opportunity to do so, the ESP8266 prefers to restart to ensure the correct Wi-Fi function. However, this in turn can lead to problems like in the sketch above.<\/p>\r\n\n<h3 class=\"wp-block-heading\">Wi-Fi &#8211; Functions<\/h3>\n\n<p>One of the main reasons for choosing a Wemos D1 Mini Board is, of course, its Wi-Fi functionality. Since this a quite extensive topic I have covered it in a <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/using-wifi-with-the-esp8266-and-esp32\" target=\"_blank\" rel=\"noopener\">separate article<\/a>. As an &#8220;appetizer&#8221; I would like to show a simple example here. The following sketch allows you to switch an LED connected to D1 via your browser.<\/p>\r\n\n<div class=\"scroll-paragraph-long\">\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"LED_per_WLAN_schalten.ino\" data-enlighter-title=\"LED_per_WLAN_schalten.ino\">#include \"ESP8266WebServer.h\"\r\n#define LEDPIN D1\r\n\r\nconst char* ssid = \"Deine SSID\";\r\nconst char* pass = \"Dein Passwort\";\r\nIPAddress ip(192,168,178,xxx); \/\/ xxx = w\u00e4hlt eine frei IP in eurem Heimnetz\r\nIPAddress gateway(192,168,178,1);\r\nIPAddress subnet(255,255,255,0);\r\n\r\nESP8266WebServer server(80);\r\n \r\nString led1= \"&lt;a href=\\\"\/led_an\\\"&gt;LED An&lt;\/a&gt;\";\r\nString led0= \"&lt;a href=\\\"\/led_aus\\\"&gt;LED Aus&lt;\/a&gt;\";\r\n\r\nvoid handleRoot() {\r\n  String message=\"&lt;h1&gt;Testprogramm - Minimalprogramm ESP8266&lt;\/h1&gt;\";\r\n  message += \"Hallo ......, das ist ein Gru&amp;szlig vom ESP8266 Server&lt;\/BR&gt;&lt;\/BR&gt;\";\r\n  message += led1;\r\n  server.send(200, \"text\/html\", message);\r\n}\r\n\r\nvoid ledan(){\r\n  digitalWrite(LEDPIN, HIGH);\r\n  server.send(200, \"text\/html\", led0);\r\n}\r\n\r\nvoid ledaus(){\r\n  digitalWrite(LEDPIN, LOW);\r\n  server.send(200, \"text\/html\", led1);\r\n}\r\n\r\nvoid setup(){\r\n  pinMode(LEDPIN, OUTPUT);\r\n  digitalWrite(LEDPIN, LOW);\r\n\/\/  Serial.begin(9600); \r\n\/\/  Serial.println(\"Testprogramm - Minimalprogramm ESP8266\");\r\n\/\/  Serial.print(\"Verbinde mich mit Netz: \");\r\n\/\/  Serial.println(ssid);\r\n  WiFi.begin(ssid, pass);\r\n  WiFi.config(ip, gateway, subnet); \r\n  \r\n\/\/  while(WiFi.status() != WL_CONNECTED){\r\n\/\/  delay(500); Serial.print(\".\");\r\n\/\/  }\r\n\/\/  Serial.println(\"\");\r\n\/\/  Serial.println(\"WiFi Verbindung aufgebaut\");\r\n\/\/  Serial.print(\"Eigene IP des ESP-Modul: \");\r\n\/\/  Serial.println(WiFi.localIP());\r\n\r\n  server.on(\"\/\",handleRoot);\r\n  server.on(\"\/led_an\", ledan);\r\n  server.on(\"\/led_aus\", ledaus);\r\n  server.begin();\r\n\/\/  Serial.println(\"HTTP Server wurde gestartet!\");\r\n} \r\n  \r\nvoid loop(){\r\n  server.handleClient(); \r\n}<\/pre>\r\n<p> <\/p>\r\n<\/div>\r\n\n<p>Explanations for this sketch and other examples can be found in my article about the <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/esp8266-esp-01-module\" target=\"_blank\" rel=\"noopener noreferrer\">ESP8266 ESP-01<\/a>. Or do you want to be informed on your smartphone when certain sensor data exceeds a limit? No problem with IFTTT (if this then that) &#8211; I have described this <a href=\"https:\/\/wolles-elektronikkiste.de\/en\/using-ifttt-and-webhooks-with-the-esp8266\" target=\"_blank\" rel=\"noopener noreferrer\">here.<\/a><\/p>\r\n\n<h2 class=\"wp-block-heading\">Speed test<\/h2>\n\n<p>Finally, I would like to address the question of how fast the Wemos D1 Mini boards actually are. 80 or 160 MHz sound quite promising compared to the 16 MHz of the Arduino UNO.<\/p>\r\n\n<h3 class=\"wp-block-heading\">digitalRead();<\/h3>\n\n<p>First, I determined the speed of the <code>digitalRead()<\/code> function. To achieve this, I had the board perform this function a million times. I measured the time required for this by using the <code>millis()<\/code> function.<\/p>\r\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"Geschwindigkeitstest.ino\" data-enlighter-title=\"Geschwindigkeitstest.ino\">void setup() {\r\n  Serial.begin(9600);\r\n}\r\n\r\nvoid loop() {\r\n  long startTime = millis();\r\n  for(long i=0; i&lt;1000000; i++){\r\n    digitalRead(10);\r\n  }\r\n  long duration = millis() - startTime;\r\n  Serial.println(duration);\r\n}<\/pre>\r\n<p>&nbsp;<\/p>\r\n\n<p>Here are the results for 1 million reads on the Arduino UNO and the D1 Mini at 80 and 160 MHz respectively:<\/p>\r\n<ul>\r\n<li>Arduino UNO : 3710 ms<\/li>\r\n<li>D1 Mini &nbsp; at 80 MHz: 588 ms<\/li>\r\n<li>D1 Mini at 160 MHz: 325 ms<\/li>\r\n<\/ul>\r\n<p>In a first rough approximation, this actually corresponds to the ratio of the clock rates.<\/p>\r\n\n<h3 class=\"wp-block-heading\">Mathematical operations<\/h3>\n\n<p>For the speed measurement of mathematical operations, I chose <code>pow(i,0.5)<\/code> which is known to be computationally intensive:<\/p>\r\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">void setup() {\r\n  Serial.begin(9600);\r\n}\r\n\r\nvoid loop() {\r\n  long startTime = millis();\r\n  float f = 0.0;\r\n  for(long i=0; i&lt;50000; i++){\r\n    f = pow(i,0.5);\r\n  }\r\n  long duration = millis() - startTime;\r\n  Serial.println(duration);\r\n  Serial.println(f);\r\n}<\/pre>\r\n\n<p>By the way, the command <code>Serial.println(f)<\/code> is important because the compiler &#8220;optimized&#8221; the calculation of f by just ignoring it when f is not used. I was very surprised when I always got &#8220;0&#8221; as a result for &#8220;duration&#8221; until I noticed that f must be used. <\/p>\r\n<p>Here are the results:<\/p>\r\n<ul>\r\n<li>Arduino UN : 17119 ms<\/li>\r\n<li>D1 Mini at 80 MHz: 926 ms<\/li>\r\n<li>D1 Mini at 160 MHz: 463 ms<\/li>\r\n<\/ul>\r\n<p>In this calculation process the ESP8266 chip is even faster than the ATmega328P as it could be explained by the clock rate. Here, an architectural advantage comes into play. In any case, the difference is really big. But whether you really need it is, of course, a different matter.<\/p>\r\n\n<h2 class=\"wp-block-heading\">Deep Sleep<\/h2>\n\n<p>To put the D1 Mini Board into deep sleep and wake it up again, connect the contacts of the SLEEP solder pad. The function ESP.deepSleep(time); sends the board into deep sleep for the period \u201ctime\u201d (in microseconds). Try it with the following sketch:<\/p>\r\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-group=\"wemos_d1mini_deep_sleep.ino\" data-enlighter-title=\"wemos_d1mini_deep_sleep.ino\">void setup() {\r\n  pinMode(LED_BUILTIN, OUTPUT);\r\n  for(int i=0; i&lt;10; i++){\r\n    digitalWrite(LED_BUILTIN, HIGH);\r\n    delay(50);\r\n    digitalWrite(LED_BUILTIN, LOW);\r\n    delay(50);\r\n  }\r\n  ESP.deepSleep(10e6); \/\/ sleep for 10 x 10^6 \u00b5s = 10s\r\n}\r\n\r\nvoid loop() {}<\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>A little breather from current sensors:<br \/>\nI present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE. I will highlight the main differences from the Arduino UNO Board. <\/p>\n","protected":false},"author":1,"featured_media":8706,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[543],"tags":[1266,1263,1264,1265,2618,1506,2619,970,1050,1262],"class_list":["post-10729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-boards-and-microcontrollers","tag-d1-mini-en","tag-d1-mini-lite-en","tag-d1-mini-pro-en","tag-d1-mini-v3-en","tag-d1-mini-v4-en","tag-deep-sleep-en","tag-problems-using-clone-boards","tag-speed","tag-watchdog-en","tag-wemos-d1-mini-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste<\/title>\n<meta name=\"description\" content=\"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste\" \/>\n<meta property=\"og:description\" content=\"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards\" \/>\n<meta property=\"og:site_name\" content=\"Wolles Elektronikkiste\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-08T14:34:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-03T20:03:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild-1024x1024.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Wolfgang Ewald\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Wolfgang Ewald\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards\"},\"author\":{\"name\":\"Wolfgang Ewald\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"headline\":\"Wemos D1 Mini Boards\",\"datePublished\":\"2021-01-08T14:34:34+00:00\",\"dateModified\":\"2025-02-03T20:03:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards\"},\"wordCount\":2672,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Beitragsbild.png\",\"keywords\":[\"D1 Mini\",\"D1 Mini Lite\",\"D1 Mini Pro\",\"D1 Mini V3\",\"D1 Mini V4\",\"deep sleep\",\"Problems using clone boards\",\"speed\",\"watchdog\",\"Wemos D1 Mini\"],\"articleSection\":[\"Boards and Microcontrollers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards\",\"name\":\"Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Beitragsbild.png\",\"datePublished\":\"2021-01-08T14:34:34+00:00\",\"dateModified\":\"2025-02-03T20:03:37+00:00\",\"description\":\"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#primaryimage\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Beitragsbild.png\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/Beitragsbild.png\",\"width\":1300,\"height\":1300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\\\/wemos-d1-mini-boards#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wemos D1 Mini Boards\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#website\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en\",\"name\":\"Wolles Elektronikkiste\",\"description\":\"Die wunderbare Welt der Elektronik\",\"publisher\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/en#\\\/schema\\\/person\\\/b774e4d64b4766889a2f7c6e5ec85b46\",\"name\":\"Wolfgang Ewald\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"url\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\",\"width\":512,\"height\":512,\"caption\":\"Wolfgang Ewald\"},\"logo\":{\"@id\":\"https:\\\/\\\/wolles-elektronikkiste.de\\\/wp-content\\\/uploads\\\/2019\\\/03\\\/cropped-Logo-1.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste","description":"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards","og_locale":"en_US","og_type":"article","og_title":"Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste","og_description":"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.","og_url":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards","og_site_name":"Wolles Elektronikkiste","article_published_time":"2021-01-08T14:34:34+00:00","article_modified_time":"2025-02-03T20:03:37+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild-1024x1024.png","type":"image\/png"}],"author":"Wolfgang Ewald","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Wolfgang Ewald","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#article","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards"},"author":{"name":"Wolfgang Ewald","@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"headline":"Wemos D1 Mini Boards","datePublished":"2021-01-08T14:34:34+00:00","dateModified":"2025-02-03T20:03:37+00:00","mainEntityOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards"},"wordCount":2672,"commentCount":0,"publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild.png","keywords":["D1 Mini","D1 Mini Lite","D1 Mini Pro","D1 Mini V3","D1 Mini V4","deep sleep","Problems using clone boards","speed","watchdog","Wemos D1 Mini"],"articleSection":["Boards and Microcontrollers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards","url":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards","name":"Wemos D1 Mini Boards &#8226; Wolles Elektronikkiste","isPartOf":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#website"},"primaryImageOfPage":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#primaryimage"},"image":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#primaryimage"},"thumbnailUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild.png","datePublished":"2021-01-08T14:34:34+00:00","dateModified":"2025-02-03T20:03:37+00:00","description":"I present the Wemos D1 Mini Board with its technical features and show how you integrate it into the Arduino IDE.","breadcrumb":{"@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#primaryimage","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild.png","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2020\/09\/Beitragsbild.png","width":1300,"height":1300},{"@type":"BreadcrumbList","@id":"https:\/\/wolles-elektronikkiste.de\/en\/wemos-d1-mini-boards#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/wolles-elektronikkiste.de\/en"},{"@type":"ListItem","position":2,"name":"Wemos D1 Mini Boards"}]},{"@type":"WebSite","@id":"https:\/\/wolles-elektronikkiste.de\/en#website","url":"https:\/\/wolles-elektronikkiste.de\/en","name":"Wolles Elektronikkiste","description":"Die wunderbare Welt der Elektronik","publisher":{"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wolles-elektronikkiste.de\/en?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/wolles-elektronikkiste.de\/en#\/schema\/person\/b774e4d64b4766889a2f7c6e5ec85b46","name":"Wolfgang Ewald","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","url":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","contentUrl":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png","width":512,"height":512,"caption":"Wolfgang Ewald"},"logo":{"@id":"https:\/\/wolles-elektronikkiste.de\/wp-content\/uploads\/2019\/03\/cropped-Logo-1.png"}}]}},"_links":{"self":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/10729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/comments?post=10729"}],"version-history":[{"count":4,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/10729\/revisions"}],"predecessor-version":[{"id":23084,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/posts\/10729\/revisions\/23084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media\/8706"}],"wp:attachment":[{"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/media?parent=10729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/categories?post=10729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wolles-elektronikkiste.de\/en\/wp-json\/wp\/v2\/tags?post=10729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}