In this tutorial we will learn how to use static IP address for ESP8266 NodeMCU. We make LED on off control with simple web server with static IP to our ESP. Continue reading ESP8266 Static IP Address arduino Example
Tag Archives: ESP8266
ESP8266 arduino digital IO
In this tutorial we focus only on GPIO pins of ESP8266 and How to use efficiently ?
ESP8266 comes in many variants most popular is ESP-12 and ESP-01. Use of ESP8266 as just a Serial-to-WiFi bridge with arduino is most common mistake newbies do. ESP8266 itself is very powerful microcontroller. Lets compare with Arduino with ESP8266. To get serial and IOs expantion like Arduino you can use NodeMCU. Difference between ESP12, ESP01 and NodeMCU is only of Flash memory and Number of IOs are available to user. Programming and functioning of all three devices is same.
Continue reading ESP8266 arduino digital IO
ESP8266 Arduino WiFi Web Server LED on off control
In this tutorial, I am going to tell you about controlling LED using web server over WiFi using ESP8266 module or NodeMCU. So let’s start. In this tutorial we are using onboard LED of NodeMCU. If you are using different hardware you can connect led to GPIO2 or make changes in code as per your connection.
There are many ways to control LED over WiFi. We will go from basic to advance method of controlling LED using WiFi.
Continue reading ESP8266 Arduino WiFi Web Server LED on off control
ESP8266 (ajax) update part of web page without refreshing
In this tutorial we receive ADC data and send LED on off data to ESP8266 without refreshing webpage. You can do a lot of things with this. At the end we will see some advance applications of this. To make this possible we need to use javaScript Ajax.
Tools you need
only NodeMCU, Laptop and USB cable
What you will learn?
- ESP8266 Ajax web page update without refresh.
- Sending data to ESP NodeMCU without page refresh.
- Getting data from ESP8266 NodeMCU without page refresh and update it in web page dynamically. such as ADC values or temperature readings.
Continue reading ESP8266 (ajax) update part of web page without refreshing
ESP8266 handle not found pages and redirect
In this tutorial we learn NodeMCU Web Server request handling and redirect to root location. For more details on creating HTML web Server with ESP8266 Read here.
All web related requests are handled through HTTP protocol. Continue reading ESP8266 handle not found pages and redirect