2

I read that I'll need a logic level converter like this to run an ESP8266-01 from the Uno.

But I saw this ESP adapter:

http://www.ebay.com/itm/ESP-01-ESP8266-Serial-Wi-Fi-Wireless-Adapter-Module-3-3V-5V-Compatible-Arduino-/282524471281?hash=item41c7c54ff1:g:wp0AAOSwQ59ZaClP

Two questions:

  1. The ESP-01 has 8 connections but this has only 4, how come? Will I get the same functionality?

  2. If I'll use this adapter, then I won't need the logic level converter?

shinzou
  • 155
  • 1
  • 3
  • 9

3 Answers3

4

The module has a 3.3V voltage regulator circuit and 5v-3.3v onboard level conversion circuit.

Yes, the module can be used with Arduino UNO R3 or compatible board without needing an additional level converter, as it is integrated in the module.

The module has Vcc, GND, TX and RX, so it means it uses a serial protocol for Arduino communication (and you will need two pins in the Arduino). Other pins in the ESP-01 are not needed in this scenario, but you still have access to them via the 8-pins female connector on the module.

It's totally plug and play.

Addendum: The old way

This how you connect a standard ESP-01 with an Arduino. The module you are looking at include all the resistors and also connect the CH_PD pin to Vcc. You only need to connect four pins. It saves you time, money and space.

Tradicional ESP-01

1

The ESP-01 is a microcontroller that works only with 3.3V. If you don't use a logic converter, it will not work correctly with 5V on TX and RX and you might even damage your module if you use it like that. So answering your second question, the important thing to keep in mind is that you need to power it with 3.3V and the logic level of the data you send must also be 3.3V.

As for the number of pins, the 4 pins are for VCC, GND, TX and RX. These are the only ones you'll need to connect with Arduino. The other pins on the ESP-01 are CH_PD, RST and two GPIOs.

(I'm not sure if you need to connect any of these while using it with Arduino, but in my experience using it standalone i know CH_PD must be connected to VCC in operation mode, and RST must be connected with GND on flashing mode.)

amorimph
  • 77
  • 1
  • 7
0

I used in one of my projects, instead of a logic level converter, some voltage dividers on the pins, Arduino inputs don't mind the 3.3v, it works just the same.

sundaysfantasy
  • 181
  • 2
  • 11