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
All posts by Manoj R. Thakur
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 (NodeMCU) ADC analog value on dial gauge
This is advance tutorial it uses knowledge for JavaScripts, ESP8266, CSS and HTML. In this example we are reading analog value of ADC and display it on HTML web page, which is served by ESP8266 or NodeMCU web server, To get more details on basic HTML page creation in ESP8266 read this.
Continue reading ESP8266 (NodeMCU) ADC analog value on dial gauge