-->
Page 1 of 1

Connecting Board via CP2102 Breakout

PostPosted: Mon Jan 23, 2017 5:10 pm
by fsa317
Hi,

So I have a NodeMCU board that I can connect to my laptop via micro usb. However, I want to tinker with some non-dev boards that don't have micro usb so I bout a CP2102 breakout. I'm trying to connect my Node MCU board and flash new software via arduino IDE as I do when connected via micro usb.

Right now I have connections:

CP2102 --> NodeMCU board

GND --> GND
CTS --> [NOT CONNECTED]
VCC --> VIN
TX0 --> TX
RX1 --> RX
DTR --> RST

When I try to upload my sketch the blue light flashes once or twice but then I get:

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed

Please let me know what I am doing wrong.

Re: Connecting Board via CP2102 Breakout

PostPosted: Tue Jan 24, 2017 5:31 pm
by schufti
swap tx and rx.

during flashing additionally:
dtr --> gpio0
rts --> rst

you can even use the 3V3 for supply if you add an 680µF/5V electrolytic.
for running with serial monitor open you have to disconnect dtr and rts !