Skip to content

Setup Arduino IDE

Elias Ruemmler edited this page Feb 18, 2021 · 8 revisions

To program the WeMos D1 mini with the Arduino IDE, the following settings must be made once.

  1. Download der Arduino IDE
  2. Install the ESP8266 board manager
  3. Install the ESP8266 library
  4. Install the board
  5. Test

1. Install the Arduino IDE

https://www.arduino.cc/en/Main/Software

2. Install the ESP8266 Board Manager

In the Arduino IDE, go to File > Preferences. Add the following URL to the filed Additional Boards Manager URLs.

Arduino IDE preferences dialog

https://arduino.esp8266.com/stable/package_esp8266com_index.json

3. Install the ESP8266 Library

Go to Sketch > Include Library > Manage Libraries, then in the search box enter microgear.

Arduino IDE library manager

Install the latest version of ESP8266 Microgear library.

4. Install the Board

Go to Tools > Board > Boards Manager, then search for esp8266.

Arduino IDE board manager

Install the latest version of esp8266 package from ESP8266 Community.

5. Test

  • Connect the WeMos D1 mini via USB to the PC
  • Select Tools > Boards > LOLIN(WEMOS) D1 R2 & mini
  • Select Tools > Port >
  • Load the blink sketch by selecting File > Examples > ESP8266 > Blink
  • Compile and uplaod the sketch, by pressing the buttons (✔️ and ▶️) in the left top corner
  • After uploading the led on your Di mini must blink