So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By fsa317
#61439 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.
User avatar
By schufti
#61479 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 !