Tag Archives: ESP8266

ESP8266 NodeMCU 16×2 LCD Interface

In this tutorial we interface 16×2 LCD display with ESP8266 NodeMCU without using I2C and with minimum pins i.e. using only 3 pins. To interface LCD with ESP8266 we need at least 6 IO lines but ESP already have very few IO lines, to expand IO lines we use serial to parallel shift register IC 74HC595. Continue reading ESP8266 NodeMCU 16×2 LCD Interface

ESP to ESP Communication

In this tutorial we will make two ESP8266 as wireless serial (chat application) using UDP communication protocol. You can have communication between multiple ESPs at the same time. We are using UDP broadcast. UDP is unreliable, but works for many application. UDP gives advantage of sending one message to all ESP8266 devices on same network at the same time using broadcast.

In this post I will explain two types of ESP to ESP communication methods. Continue reading ESP to ESP Communication

ESP8266 GPIO PINS

ESP8266 have 10 GPIO pins and 1 Analog Input. Pin numbers in Arduino correspond directly to the ESP8266 GPIO pin numbers. pinMode, digitalRead, and digitalWrite functions work as usual, so to read GPIO2, call digitalRead(2).

Digital IO (GPIO)

Digital pins 0—15 can be INPUT, OUTPUT, or INPUT_PULLUP. Pin 16 can be INPUT, OUTPUT or INPUT_PULLDOWN_16. At startup, pins are configured as INPUT. Continue reading ESP8266 GPIO PINS