Over a million developers have joined DZone.

Getting Started with ESP8266

· IoT Zone

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

I brought a ESP8266 module from eBay. The whole purpose was to do some experiments with it and understand how to use it in my micro-controller projects. I was not interested in XBee products since those were much more expensive than ESP8266.

Initially I started with issuing AT commands from my laptop to the WiFi module. To do this I brought a USB to TTL serial adapter.

Pairing ESP8266 and the USB-TTL adapter wasn't very simple , due to two reasons

  1. ESP8266 may draw around 300mA in high power modes, but the adapter was capable of providing max of 150mA 3.3V.
  2. WiFi module and serial adapter are working on different Logic levels (ESP8266 - 3.3V and USB-TTL - 5.0V )

In order to solve these issue I used a 3.3V regulator to provide  3.3V and enough current and few resistors to reduce the logic level or USB-TTL adapter. Below diagram show my configuration.

I chose arduino serial monitor to interact with the module with below configuration.
Line mode = NL & CR Baud Rate = 9600

AT Commands can be found on below documentations

The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}