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?

3
  • "with an integrated logic level converter like the wemos d1 mini" ... please show me the schematics and point to the logic level converter.
    – gone
    Feb 16, 2018 at 11:08
  • My electronic background is limited, but with the wemos you don't need any logic converter for the ESP so I can only assume that it's built in. @yeti
    – shinzou
    Feb 16, 2018 at 16:10
  • I'll just move this to a comment: save yourself time and get an ESP module without any extra parts like the wemos d1 mini.
    – shinzou
    Feb 16, 2018 at 16:17

3 Answers 3

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

4
  • 1
    Why the other pins are not needed?
    – shinzou
    Sep 1, 2017 at 11:50
  • The eight ESP-01 pins are: Vcc, GND, TX, RX, RESET, and two GPIO that you will not use (because they are only accesible from code running in the ESP-01 itself. Less pins means less worries.
    – user31481
    Sep 1, 2017 at 11:55
  • Are those resistors enough to lower the logic level? No need for a level converter? It's a little funny how such a popular board is so complicated to use.
    – shinzou
    Sep 2, 2017 at 14:37
  • @kuhaku. The ESP01 is being powered by the Arduino 3.3V output pin. In some cases, you can connect two devices, one with 5v logic, the other 3.3v 5v tolerant.
    – user31481
    Sep 2, 2017 at 16:04
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.)

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.