top of page

Arduino IDE WeMos D1 Mini Board Support Install & Blink LED Instructions


This post describes how to install the board support package for the WeMos D1 Mini board into the Arduino IDE and blink the board's LED.


Note


A WeMos D1 Mini clone: "IZOKEE D1 Mini NodeMcu Lua 4M Bytes WLAN WIFI Internet Development Board Base on ESP8266 ESP-12F for Arduino, 100% Compatible with WeMos D1 Mini" from [amazon] was used in this example.


Description from Amazon:

  • This D1 mini module is a mini WIFI board based on ESP-8266EX.

  • This WLAN board contains 11 digital input / output pins, all pins have interrupt / pwm / I2C / 1-wire and a micro-USB connection.

  • Our D1 mini development board is 100% compatible with Arduino WeMos and can be programmed in the Arduino IDE. (Verified)


Prerequisites

  • Installed the Arduino IDE on Ubuntu 16.04.3 following [instructions]

  • A USB 2.0 A-Male to Micro B Cable [amazon]


Steps


1. Double click the Arduino IDE icon to run the Arduino IDE


2. (A) Click File and (B) click Preferences


3. (A) Enter http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json into the Additional Boards Manager URLs: field (comma separate multiple URLs) and (B) click OK


4. (A) Click Tools, (B) Board: .... and (C) Boards Manager...


5. (A) Type esp8266 and (B) click Install


You should see:


6. (A) check that it is INSTALLED and click (B) Close

7. (A) Click Tools, (B) Board: ... and (C) WeMos D1 R2 & mini

8. Plug the USB cable in to the WeMos D1 Mini board and the computer


9. Type (replace zpfeffer with your username) sudo usermod -a -G dialout zpfeffer


10. Unplug the USB from the computer, close all programs, log out, log in and start the Arduino IDE again.


11. Plug the USB cable into the computer.


12. (A) Click Tools, (B) Port and (C) /dev/ttyUSB0

You should see:


13. Paste the following code (from [link]) into sketch_nov03a:


14. Click Upload


Click Save

15. Click Upload


You should see compiled output:

...and:


Here's a video of the compile:


Here's a video of the serial port output:


And here's the board blinking:



References


WEMOS D1 Mini at [link]

WEMOS D1 Mini / Get started in Arduino at [link]

WEMOS at [link]

WEMOS' store at [link]

ESP8266 Community Forum at [link]

Wemos D1 Mini, ESP8266 Getting Started Guide With Arduino at [link]

Arduino at [link]

Arduino IDE at [link]

Arduino core for the ESP32 at [link]

Deep Sleep - Blink at [link]



Other Related References


Things4U - Internet of Things for You at [link]

Charles's Blog at [link]

bottom of page