Programming NodeMCU / ESP12 over RX/TX and USB-TTL converter
Posted: Tue Mar 28, 2017 1:57 pm
Hi all,
I got a USB to TTL converter and am now trying to communicate to my NodeMCU board. Not entirely successful.
Connecting the board over the USB cable allows me to upload programs from the Arduino IDE just fine. No other pins connected.
Then I connected the USB to TTL converter: RX to TX and TX to RX, GND to one of the GND pins and the +5V output to Vin. The jumper is set to 3.3V for the TTL levels.
The board powers up just fine this way, and the LED starts blinking (I uploaded my Blink program over the micro-USB connection for testing). Connecting the serial monitor I get the "on" and "off" messages from the board, so receiving data over RX/TX works, showing my wiring is at least correct.
But programming doesn't work, it gives the common "no response" error message (sorry no copy/paste as I'm now on a different computer). The LEDs on the USB/TTL do flicker a bit when I try to do the upload.
What could possibly be wrong here?
Really hope to get this working so I can move on to playing with an ESP-12F module. That module gives the same errors when trying to upload, which is why I went to the known-good NodeMCU to test.
I got a USB to TTL converter and am now trying to communicate to my NodeMCU board. Not entirely successful.
Connecting the board over the USB cable allows me to upload programs from the Arduino IDE just fine. No other pins connected.
Then I connected the USB to TTL converter: RX to TX and TX to RX, GND to one of the GND pins and the +5V output to Vin. The jumper is set to 3.3V for the TTL levels.
The board powers up just fine this way, and the LED starts blinking (I uploaded my Blink program over the micro-USB connection for testing). Connecting the serial monitor I get the "on" and "off" messages from the board, so receiving data over RX/TX works, showing my wiring is at least correct.
But programming doesn't work, it gives the common "no response" error message (sorry no copy/paste as I'm now on a different computer). The LEDs on the USB/TTL do flicker a bit when I try to do the upload.
What could possibly be wrong here?
Really hope to get this working so I can move on to playing with an ESP-12F module. That module gives the same errors when trying to upload, which is why I went to the known-good NodeMCU to test.