All posts by Manoj R. Thakur

About Manoj R. Thakur

In 2014 I started contributing to Open Source electronics, and life has just gotten better from there. Founder of Maven Technologies.

ESP8266 Web Server

A Web server is a program that uses HTTP (Hypertext Transfer Protocol) to serve the files that form Web pages to users, in response to their requests, which are forwarded by their computers’ HTTP clients.
To implement web server on ESP, there are two ways to make your first web server first connect to your WiFi router or make ESP as access point. Continue reading ESP8266 Web Server

ESP8266 Internal EEPROM Programming

In this tutorial we will see writing data to EEPOM and reading from EEPROM. ESP8266 have 512 bytes of internal EEPROM, it is useful when you want to store some settings, such as IP address of server, WEP key, SSID of WiFi. We also discuss on writing string into EEPROM and reading it.

To write byte to EEPROM we need two commands Continue reading ESP8266 Internal EEPROM Programming

ESP8266 Serial Communication

Serial interface is common requirement for most of the application development. We are discussing on how to do 3.3V to 5V level conversion for converting serial TTL to RS232 level from 3.3V you can use MAX3232 it operates at 3.3V levels.

On ESP8266 we have one hardware serial i.e. GPIO2 (Tx) and GPIO3 (Rx).

Hardware Serial Programming is similar to the Arduino Serial. Remember that few USB to Serial converter does not support higher baud rate. It is better to keep baud rate below 115200. Continue reading ESP8266 Serial Communication

ESP8266 Software Serial Communication

Software serial uses timer, be careful when you are using software serial. Timer is also used for WiFi communication section if you don’t give enough time to WiFi routines it will create problem of stack error or misbehavior. It is better to use software serial only when you need two serial ports and also avoid use of software serial for data reception.

Software serial can be implemented on any GPIO pin of ESP8266. Continue reading ESP8266 Software Serial Communication