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

Introduction: 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

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.

1 Person Made This Project!

Recommendations

  • The 1000th Contest

    The 1000th Contest
  • Battery Powered Contest

    Battery Powered Contest
  • Hand Tools Only Challenge

    Hand Tools Only Challenge

5 Discussions

0
dekulun
dekulun

Question 3 months ago on Step 10

how do you get the file its just sendes me to the page and nothing else

0
tholetiprabha461
tholetiprabha461

10 months ago

hello,how to blink the inbuilt led through this
the app only showing the digital pins

0
arnablue
arnablue

Question 10 months ago

Hello, without the wi-fi feature... Can I use it as a Uno R3 ?
Will it work with same code as uno?
I want to build a cnc with "cnc shield" with it...

0
javiersusa
javiersusa

Question 1 year ago

Good afternoon, I have this problem when I try to connect the application and it doesn't let me do anything. The application and the WeMos are connected to the same network. Can you help me?
InkedScreenshot_20191001-150250_LI.jpg