How to Use Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board by Using Blynk

Arduino WeMos D1 WiFi UNO ESP8266 IOT IDE Compatible Board

Description:

WiFi ESP8266 Development Board WEMOS D1. WEMOS D1 is a WIFI development board based on ESP8266 12E. The functioning is similar to that of NODEMCU, except that the hardware is built resembling Arduino UNO. The D1 board can be configured to work on Arduino environment using BOARDS MANAGER.

Specification:

  • Microcontroller: ESP-8266EX
  • Operating Voltage: 3.3V
  • Digital I/O Pins: 11
  • Analog Input Pins: 1
  • Clock Speed: 80MHz/160MHz
  • Flash: 4M bytes

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Item Preparation

In this tutorial, we'll use an application from smartphone "Blynk" to control the Arduino Wemos D1 (ESP8266) with LED Traffic Light Module.

Before we begin, prepare all the item needed:

  • Breadboard
  • Arduino Wemos D1 Wifi UNO ESP8266
  • Jumper wires male to male
  • LED Traffic Light Module ( you can also use base LEDs )
  • micro USB
  • Smartphone ( You need to download "Blynk" from Play Store/iStore )

Step 2: Pin Connection

Follow the connection as shown above.

Step 3: Board Installation

Next, open Arduino IDE and go to [File => Preferences]. A dialog box appears. In this box, an additional board manager URL text box is present.

Step 4: Find Out in Board Manager

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.

Step 5: Select Board

Next, uploading your first program select the type of "WeMos D1 R1" board from the [Tools => Boards] section in your Arduino IDE.

Step 6: Example Code

To get the example code from the Blynk you need to download the library from Blynk website.

Follow these steps:

  1. Select "Download Blynk Library".
  2. Select to "Blynk_Release_v0.5.4.zip".
  3. Extract the files and copy both of the files (libraries, tools).
  4. Open Arduino IDE go to [Files => Preferences] find the files that appears on the "Sketchbooks location".
  5. Open the Arduino file and paste both of the files you've copied.

Then, open your Arduino IDE, go to [Files => Examples => Blynk => Boards Wifi =>Standalone] for the example code.

Step 7: Blynk Setup

Next, you need to set up your "Blynk" from your smartphone.

Follow these steps:

  1. Download "Blynk" at Play Store/iStore.
  2. Sign up using your email.
  3. Go to "New Project" Enter your project name (if needed).
  4. Choose device "WeMos D1".
  5. Connection type "Wifi" then "Create". (After create you will receive Auth Token from your email).
  6. Slide to the left to open "Widget Box".
  7. Select "Button" to add button.
  8. Touch the button for "Button Settings".
  9. Select [Output => Digital => D2,D3,D4] to choose pin connection.
  10. Mode turn into "Switch".

Step 8: Uploading

Now you need to check out your email inbox and copy the Auth token code.

Insert the Auth Token, Network name, and Password to your programming. Now upload the code to your WeMos D1 (ESP8266) through micro USB. Make sure you use the right port by select at [Tools => Port].

Step 9: Try Out Blynk Button

Select the play button from the upper right side and turn on the pin button.

Step 10: Finish

Now it's working! The Blynk pin buttons works as a switch.

Share

    Recommendations

    • Indoor Lighting Contest

      Indoor Lighting Contest
    • Make It Fly Challenge

      Make It Fly Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    Discussions