3

Hi my USB to UART bridge (CP2102) seems to be broken on one of my NodeMCU Dev Boards with ESP8266.

It seems to be just that specific board since all other boards that I have can be flashed without problems. I have a FTDI Programmer like this one: FTDI Programmer

Now I would like to flash the Nodemcu using the FTDI programmer but I'm not sure how to wire it up. I know that those programmers cant power up the ESP8266 by itself thats why I would use a micro USB cable that doesnt have a data wire to power up the nodemcu.

This is how I would wire everything up: enter image description here

Is this the correct way to wire up the programmer with the nodemcu? I want to be sure that nothing is going to mess up with the nodemcu or the programmer.

NodeMCU FTDI GND ----> GND RX ----> TX TX ----> RX

shyney
  • 73
  • 1
  • 6

1 Answers1

1

Assuming your FTDI Basic is the 3.3V version, then yeah that will work fine provided you that manually reset the board yourself and enter the boot-loader using the buttons.

If you're independently powering the boards you may want to insert some series resistance in the RX and TX connections in case your signal receiving end is not powered while the sending side is. In short you don't want the TX signal from one of your devices (boards) trying to power the receiving device (board) through its protection/clamp diodes.

In regard to comment about resistor value: The value of the resistor depends on what you can get away with in terms of its effect on the signal and how much current is allowed through the clamp diodes on the other board. A couple of Kbyte is probably sufficient, better than nothing in any case. Use a bit more if you can and still get a reliable signal through. If you have the boards both powered before you connect them and you're careful about connecting them, then there's no opportunity for that. It may also just be that they're robust enough that you don't need them at all. I usually put some in though. The second reason which I didn't state above is just that it protects you from being outright stupid and accidentally connecting them to the wrong thing; wrong signal, or to VCC or GND on the other side.

timemage
  • 5,639
  • 1
  • 14
  • 25