This tutorial demonstrate how to get NTP Network Time using ESP8266 NodeMCU? Getting network time is much simpler than adding external RTC Chip to ESP8266. Use of NTP with ESP8266 makes getting time simpler and accurate. Continue reading ESP8266 NodeMCU NTP (Network Time Protocol) Clock
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
There are two timers in ESP8266 Timer0 and Timer1, one timer is used by its WiFi functions. We get only one timer to work. To avoid crash issues I recommend use of Ticker instead of Timer. Ticker performs same function as timer. Continue reading ESP8266 Timer and Ticker Example
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 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