Mod a USB to TTL Serial Adapter (CP2102) to Program ESP8266

56,529

41

16

Introduction: Mod a USB to TTL Serial Adapter (CP2102) to Program ESP8266

This USB to TTL Serial board based on the CP2102 chip, it have no enough current (400mA+) to driven ESP8266. So I will fix the issue.

CP2102 Datasheet: https://www.sparkfun.com/datasheets/IC/cp2102.pdf

UPDATE: I made a new CP2102 USB to TTL converter depend on the board. It's now on tindie.

Step 1: Materials

  • 1 x CP2102 USB adapter, it's easy be found at eBay by keyword cp2102
  • 1 x AMS1117-3.3
  • A knife
  • A soldering iron

Step 2: Cutting Off the Original 3.3V Output

The 3.3V from CP2102 has only 200mA output. It's not enough for esp8266. I cutting off the 3.3V output with an knife.

Step 3: Soldering LDO AMS1117-3.3

Use the pin 5V as input of AMS1117, connect the output to 3.3V

Now the USB adapter can driven esp8266 directly.

Be the First to Share

    Recommendations

    • Fruit and Veggies Speed Challenge

      Fruit and Veggies Speed Challenge
    • Backyard Contest

      Backyard Contest
    • First Time Author Contest

      First Time Author Contest

    16 Comments

    0
    gcarom
    gcarom

    2 years ago

    Nice project ! I am wondering, Is it necesary to cut the 3v3 rail ?, or is it possible to use the 3v3 output of the AMS1117 to the 3v3 of the ESP, and leave the 3v3 of the CP2102 unconnected ? maybe using a breadboard, I don't want to cut that rail.
    Thanks in advance

    0
    adam_99
    adam_99

    5 years ago

    Hi!
    Will it work on PL2303HX chip as well?

    0
    ShahariaS
    ShahariaS

    Reply 5 years ago

    did you find the ans ??

    0
    adam_99
    adam_99

    Reply 5 years ago

    No :(

    0
    ShahariaS
    ShahariaS

    Reply 5 years ago

    did you find the ans ??

    0
    ShahariaS
    ShahariaS

    Reply 5 years ago

    did you find the ans ??

    0
    ShahariaS
    ShahariaS

    Reply 5 years ago

    did you find the ans ??

    0
    DerMega
    DerMega

    5 years ago on Introduction

    Hmmm aren´t the TR/RX wires from the CP2102 5V too?

    So they are able to destroy the ESP aren´t they?

    0
    JoelM5
    JoelM5

    6 years ago on Introduction

    Can I use cp2102 to convert TTL to USB?

    0
    yanc
    yanc

    Reply 6 years ago

    Yes.

    0
    kapilrathi22
    kapilrathi22

    6 years ago on Introduction

    I am using ESP8266 with CP2102. For ESP8266 supply I am using LD33v connected to VCC and CH_PD. as soon as serial monitor is open it shows continuous garbage value which is never ending. How to solve this issue?

    0
    yanc
    yanc

    Reply 6 years ago on Introduction

    Is the VCC 5V output from USB port?

    0
    kapilrathi22
    kapilrathi22

    Reply 6 years ago on Introduction

    Hi yanc, For ESP supply I used LD33v output which is 3.3 v and can handle 1A current.

    0
    yanc
    yanc

    6 years ago

    You can found the driver here https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx

    0
    yanc
    yanc

    6 years ago

    Hello, please search ebay for cp2102, you will find a lots of board like the image.

    1 上午10:49.jpg
    0
    e024576
    e024576

    6 years ago on Introduction

    Really great Project ! Two questions: I have a hard time finding the same board on ebay, that is: 3.3v, 5 pins, CP2102. Any hints where to get it?

    Also, what about CP2102 Windows 7 driver - can you recommend best source?

    Thanks Paul