Basically String type variable in arduino is character array, Conversion of string to character array can be done using simple toCharArray() function. Getting string value in character array is useful when you want to break single string into parts or get part of string. Continue reading Arduino convert string to character array
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
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.
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.