The First Usage of NodeMCU ESP12E DEVKIT V2

Содержание

license

Introduction: The First Usage of NodeMCU ESP12E DEVKIT V2

How to Install Steam Link on Raspberry Pi 3

How to use Raspberry Pi 3 Model B+ V1.2 For The First Time!

How to knit baby booties in only one hour! Ta-Da!

Today, I am going to show you how to use NodeMCU ESP12E DEVKIT V2 for the first time. At very first, let’s call this board as NodeMCU development board, although it has got ESP8266MOD Module on it, that makes this board is fit to call development board enough. Or, whatever you call it is okey. NodeMCU board lets us to go to the internet via Wi-Fi. Such shields Arduino Wi-Fi Shield, ethernet shield; NodeMCU is much more powerful than the others, I think.

The need list:

Note: There are two version types of NodeMCU: NodeMCU v0.9 with ESP-12 module, and NodeMCU v1.0 with ESP-12E module On this instructable, I will use NodeMCU v2 ESP-12E which is refers to NodeMCU v1.0 with ESP-12E module. Arduino v1.6.8 knows as 1.0 for ESP-12E module, athough it is v2. So I can say that v1.0 means v2.0 that’s beacuse of Arduino side not about NodeMCU. The source

3. Your computer (Windows is okey on here)

5. Wi-Fi Network (We need SSID and Password to get used on next steps, wireless modem would be okey)

Note: While you give an energy to NodeMCU via micro usb cable from your computer to that, ESP8266 on-boarded module may hot. This is moderate. I mean, there is no danger, a little bit heat is not seem a dangerous thing for our module. Be aware, surface is hot enough.

Note: On here, I am using Microsoft Windows. For Linux user, check this link.

Step 1: Let's Take a Look As Overview

On top side, there is an other board that you can see, this is the ESP part. ESP8266 is a module, but this is on-boarded circuit organism which let us to connect over wi-fi.

On rear side, there is written name given: ESP12E DEVKIT V2 and the link http://www.doit.am/ for reference.

Step 2: The First Time to Connect to Pc

When we make a connection between NodeMCU board and computer, there is automatically driver loading window that you can easily learn which COM Port Number that your computer had gave. Mine is succesfully loaded the driver and gave me COM Port Number 15 to access to my NodeMCU board.

There are two black buttons near the micro usb port. One is RESET other is FLASH. When you click on RESET button, you can see ESP8266 side’s blue is blinked.

Step 3: How to Use Arduino IDE to Program NodeMCU?

1. Install the Arduino IDE from download section of arduino.cc website (Also, check my instructable about installing, updating, removing Arduino IDE from here)

2. Run Arduino IDE’s arduino.exe

3. Arduino IDE File Preferences (Shourtcut is CTRL + COMMA) Settings tab on Additional Board Manager URL side type this and click ok.

This json object will bring necessary drivers for NodeMCU from the website esp8266.com to our Arduino IDE.

4. Arduino IDE Tools Board Boards Manager. Type = Contributed click on install (Or, search ESP8266 from the search bar)

5. Arduino IDE Tools Board NodeMCU 1.0 (ESP-12E MODULE)

NOTE: We have NodeMCU v2, but we select as 1.0. Focus on inside of paranthesis ESP-12E is more important than this.

On Arduino IDE File Examples ESP8266 Blink

Attach NodeMCU to your computer with micro usb cable then click on upload button to upload your Blink codes to NodeMCU.

This code will run your NodeMCU’s blue led for 1 second then close in a forever loop.

Now, we have working NodeMCU board just like an Arduino boards basicly.

Note: On this site, it is mentioned that Arduino IDE v1.6.7 may not working well with NodeMCU, if you faced such an Arduino IDE problem, you need to update your Arduino IDE program. I can tell you how to update your program now.

Step 5: Let's Make Some LAN Joy 🙂 — Hello World on Browser

On Arduino IDE File Example ESP8266 ESP8266HelloServer Modify these lines:

Then click on upload button. After uploading, open Serial Monitor. Click on reset button then learn which IP adress you need to use from Serial Monitor

NOTE: We are using Baud Rate as: 115200

Now you did it well! 😀

Step 6: BONUS: Reading This Instructable

NOTE: This instructable’s step is aimed for visually impaired people to hear the sentences to learn what’s going on here. Watch the video, it explains all steps.


Источник: www.instructables.com