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

55,728

42

22

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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    22 Discussions

    0
    gcarom
    gcarom

    1 year 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

    4 years ago

    Hi!
    Will it work on PL2303HX chip as well?

    0
    kubik256
    kubik256

    Reply 3 years ago

    I'm using old Profilic PL2303 USB2TTL adapter with dual 3.3V and 5V outputs.
    On 3.3V pin flashing ESP without external power is ok ;) Tested with ESP-01, ESP-12E, ESP-14 and LUA MCU Dev Board V3.

    If you have only 5V output, so this mod can work. BR

    0
    DumindaP1
    DumindaP1

    Reply 2 years ago

    Does old prolific driver work with Windows 10? Bought one and no any text on the chip, couldn't make it work yet :(

    0
    kubik256
    kubik256

    Reply 2 years ago

    It is working, but with only one old Profilic driver ... drivers from Windows Update or automaticaly installed drivers doesn't work. (the exclamation mark in HW manager)


    I've saved it for later use, here is link from my dropbox:
    https://www.dropbox.com/s/5ddxoi44ads0435/Profilic...

    Please don't forget to check it with antivirus SW before running it!
    I've installed this many months ago, BR ;)

    0
    DumindaP1
    DumindaP1

    Reply 2 years ago

    Thanks kubik256 your driver works fine.

    0
    kubik256
    kubik256

    Reply 2 years ago

    Nice to hear ;) Best regards.

    0
    adam_99
    adam_99

    Reply 3 years ago

    Interesting...
    I didn't know I can draw enough current from the chip on 3.3v
    I'll try.
    Thanks!

    0
    ShahariaS
    ShahariaS

    Reply 3 years ago

    did you find the ans ??

    0
    adam_99
    adam_99

    Reply 3 years ago

    No :(

    0
    ShahariaS
    ShahariaS

    Reply 3 years ago

    did you find the ans ??

    0
    ShahariaS
    ShahariaS

    Reply 3 years ago

    did you find the ans ??

    0
    ShahariaS
    ShahariaS

    Reply 3 years ago

    did you find the ans ??

    0
    DerMega
    DerMega

    4 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

    5 years ago on Introduction

    Can I use cp2102 to convert TTL to USB?

    0
    yanc
    yanc

    Reply 5 years ago

    Yes.

    0
    kapilrathi22
    kapilrathi22

    5 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 5 years ago on Introduction

    Is the VCC 5V output from USB port?

    0
    kapilrathi22
    kapilrathi22

    Reply 5 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

    5 years ago

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