Category Archives: Internet of Things

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

Getting strted with IoT ESP8266

ESP8266 is most popular IoT module, it performs almost all the need of IoT functions in small size with powerful processor and huge program memory of 512Kbytes and RAM of 80 Kbytes.

This tutorial gives some information on how to get started using a ESP8266-based board. It is intended for the newbie with past experience in arduino-like mcu who wants to get a first hand at ESP8266.

In this tutorial we start with minimum hardware required and software setup.

Continue reading Getting strted with IoT ESP8266