Skip to content Skip to sidebar Skip to footer

How to Program Blink ESP8266 NodeMCU Arduino Beginner

Basic Progam Blink NodeMCU v3 esp8266 arduino iot esp - For the days ahead, we will come in to industry 4.0 where everything is internet. It's time for us to learn IoT from right now 

One of the well-known modules is the ESP-12 which uses the ESP8266EX microcontroller. 

 

NodeMCU Library Board

Before we install the NodeMCU library, there are actually two ways to add the library,  through the Library Manager and manually uploading it.

In this article, I only share how to install library boards automatically via the Boards Manager. Please read How To Install NodeMCU In Arduino Ide.


How to Program Blink NodeMCU V3

Now let's learn to program this module with the Blink program or turn on the internal led and turn it off for 1 second.

However, what should be noted is that the BUILT-IN LED on NODEMCU is ACTIVE-LOW. That is, when given LOW logic, the LED lights up. This only applies to the built in led, if you use the same I / O port as the Arduino board.

The steps we want to use are as follows:

  • Connect NodeMCU to computer
  • If the NodeMCU you are using, uses the ch340 chip as the USB to TTL Converter, please install the driver. Read here.
  • Click Tools> Boards> ESP8266 Boards> NodeMCU 1.0 (ESP-12E Module)
  • Use a basic configuration like this:

    Basic Progam Blink NodeMCU v3 esp8266 arduino iot esp
  • Select Port
  • Open Arduino IDE> Files> Examples> 01. Basics> Blink
  • Click Upload
  • If the upload is successful, then you will see the ESP8266 Built in module LED lights up as follows:

Hopefully the article "How to Program NodeMCU V3 Arduino ESP8266 Basic Blink" can add to our knowledge together.

If this article is useful, please share it using the share button below.

Post a Comment for "How to Program Blink ESP8266 NodeMCU Arduino Beginner"