ESP8266 Arduino Tutorial 2 – Create the First Program

Driver Installation

In the previous tutorial, the Arduino IDE has been installed. In this tutorial, we will create the first program. This program uses the on-board LED on ESP-12E module. The LED will blink every 1 s. Before we go to the programming, we must install the NodeMCU USB driver. The step-by-step how to install the NodeMCU driver is described as the following:

  • Download NodeMCU driver from this link.
  • Connect NodeMCU board to the USB port.
  • Run the driver installer file: CH341SER.EXE, and install the driver.

NodeMCU Driver

Continue reading “ESP8266 Arduino Tutorial 2 – Create the First Program”

Share this:

ESP8266 Arduino Tutorial 1 – IDE Installation

ESP8266

ESP8266 is a low-cost Wi-Fi System-on-Chip (SoC) produced by Espressif Systems, a Shanghai-based Chinese fabless semiconductor company. The ESP8266 chip is shown in the following figure. It consists of a Wi-Fi transceiver with full TCP/IP stack and a microcontroller. It uses IEEE 802.11 b/g/n Wi-Fi standard, which is generally used in our daily life. It has 32-bit Tensilica RISC processor that runs at 80 MHz. It has several peripherals such as GPIO, I2C, SPI, UART, ADC, etc.

ESP8266 chip

Continue reading “ESP8266 Arduino Tutorial 1 – IDE Installation”

Share this:

Arduino Ethernet Shield – Control an LED from PC

Ethernet Shield

Ethernet Shield allows an Arduino to to connect to the internet and to read and write a microSD card. This shield use Wiznet W5100 ethernet chip. Inside this chip, there are PHY, MAC, IP, and TCP layer. The advantage of using this shield over the ENC28J60 is the TCP/IP stack is already implemented by hardware on this chip. With the ENC28J60 chip the TCP/IP must implemented on the microcontroller that is interfaced to it. In this tutorial, I will explain how to control an LED from PC using this shield.

Ethernet shield

Continue reading “Arduino Ethernet Shield – Control an LED from PC”

Share this: