Programming ESP8266 WeMos – D1 R2 using Arduino IDE

Hi everyone,

      I am very glad to guide you through the basic installation steps and the procedure to upload programs to the new ESP8266 based Arduino WiFi board using Micro USB: WeMos D1.

wemos_d1_esp8266

 

Hardware Requirements:-

  • A WeMos D1 R2 board (You can buy it from our Store)

A niche profile of the board:-

2016-10-01-14-48-24-509

  • Micro USB cable for connecting your PC and the board.

Software Requirements:-

 

  • Arduino IDE 1.6.4 or its newer versions- (Download it from here)

Follow these steps to do your first programming in WeMos D1 using Arduino IDE:-

  1. Download and Install Arduino IDE 1.6.4 or its higher versions. The latest version is available in the Arduino website. (Installation steps are available here)

  2. After installation open the IDE,Go to File>Preferences. A dialog box appears. In this box, an additional board manager URL text box is present.

    Copy and paste the following URL in the box and click OK to download the packages.

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

    addboard

  3. Next, go to Tools>Board>Board Manager in your Arduino IDE.The Boards Manager window appears as below. Scroll down the boards in the board manager to select ESP8266 from the list of available boards. Click on install to begin the installation.

    bodman1

     

     

    bodman2

  4. After installation for uploading your first program select the type of WeMos D1 board from the Tools>Boards section in your Arduino IDE. You can select WeMos D1 R2 if you have an R2 ,else you can go for WeMos D1 (Retired).

    bodsel

  5. Connect the board to your PC using the micro USB cable. Select the port to which the board is connected in the Tools>Port section.

    port

  6. Now open File>Examples>In the section containing Examples of Wemos D1(Retired) open ESP8266>Blink. This opens the blink program for WeMos D1 board.

    blink

  7. Uploading the sketch to the board blinks the LED_BUILTIN.

    upload

 

Congratulations,you just did the basic Blink program using WeMos D1.

I hope you are now clear with the installation procedure and basic program uploading procedure of WeMos D1 R2 or WeMos D1(Retired). Keep following us for new updates.

 

 

 

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s