Category Archives: IoT Tutorials

IO Level Conversion 3.3V to 5V for ESP8266

Most cases we need to interface 5V (TTL) logic level devices with ESP8266. For this you can simple use 1N4148 diode and one pull-up resistor.

Logic Level Conversion
Logic Level Conversion

The above circuit working can be understood using below figure.

  1. When we give logic 1 i.e. 5V to TXD diode becomes reverse bias and ESP 3.3V RXD pin gets supply of 3.3V (Logic 1) from pull-up.
  2. When we give logic low 0V to TXD pin the diode becomes forward bias and the voltage at its anode terminal drops below 0.7V i.e. logic zero.
  3. For TXD pin of ESP we don’t need any circuit as we can read 3.3V as logic 1 and 0V as logic 0 using any 5V controller.
Logic Level Conversion
Logic Level Conversion

5V TTL Serial Communication with ESP8266

For serial interface you have two options go with 3.3V USB to Serial converter or use above circuit  to do level conversion and use 5V serial converter.

Serial interface is required to program the ESP flash.

5V Serial Interfacing with ESP8266
5V Serial Interfacing with ESP8266

Power supply Design for ESP8266

ESP8266 operates at 3.3V and consumes around 100mAmp current, for designing of its power supply you can use LM1117-3.3V Low drop out (LDO) linear regulator which is having current capacity of 800mAmp. Remember that, this regulator is low drop out regulator. It is better to give 5V as input to the regulator to avoid over heating of regulator. You can create small heat sink on PCB using copper area.

Continue reading Power supply Design for ESP8266

ESP8266 Pin Diagram

ESP8266EX is among the most integrated WiFi chip in the industry; it integrates the antenna switches, RF balun, power amplifier, low noise receive amplifier, filters, power management modules, it requires minimal external circuitry, and the entire solution, including front-end module, is designed to occupy minimal PCB area. ESP8266EX also integrates an enhanced version of Tensilica’s L106 Diamond series 32-bit processor, with on-chip SRAM, besides the WiFi functionalities. ESP8266EX is often integrated with external sensors and other application specific devices through its GPIOs; sample codes for such applications are provided in the software development kit (SDK).

Continue reading ESP8266 Pin Diagram

Getting Started with IoT

Introduction

Extending the current Internet and providing connection, communication, and inter-networking between devices and physical objects, or “Things,” is a growing trend that is often referred to as the Internet of Things.

 “The technologies and solutions that enable integration of real world data and services into the current information networking technologies are often described under the umbrella term of the Internet of Things (IoT)”

What we Learn ?

1. How to program ESP8266? 

2. Selecting right IoT wifi module?

3. How to program ESP8266 using Arduino IDE?

4. IoT Software configurations.

5. Which tools to select ?

Continue reading Getting Started with IoT