NODEMcu Usb Port Not Working? Upload the Code Using USB to TTL(FTDI) Module in Just 2 Steps

by lolipop8867 in Circuits > Microcontrollers

15529 Views, 6 Favorites, 0 Comments

NODEMcu Usb Port Not Working? Upload the Code Using USB to TTL(FTDI) Module in Just 2 Steps

instrucable2 (2).png
  • Tired of connecting to many wires from USB to TTL module to the NODEMcu, follow this instructable, to upload the code in just 2 step.
  • If the USB port of the NODEMcu is not working, then do not panic. Its just the USB driver chip or the USB connector, that may be broken, the ESP8266 will be still functional.
  • In many cases while testing, the USB driver gets burnt, there's no need to worry.
  • By using the USB to TTL module in just 2 steps we can upload the code.

MATERIALS NEEDED:

Screenshot (38).png
Screenshot (40).png
Screenshot (28).png

CONNECTIONS

ESPFDTI.png

NODEMcu----- USB to TTL module

Vin ---------------> 5 volts

Gnd ---------------> Gnd

Tx ---------------> Rx

Rx ---------------> Tx

Procedure

Screenshot (32).png
Screenshot (31).png
Screenshot (33).png

Once the connections are made as mentioned, then follow the following steps:

  1. If we now try to upload the code, it will still show the error as shown in the image.
  2. So as to successfully upload the code using the USB to TTL module, first press the flash button and while you keep the flash button pressed, press the reset button, and then release them together.
  3. Then try to upload the code, the code will get successfully uploaded.

NOTE: EVERY TIME WE UPLOAD THE CODE FOLLOW THE ABOVE STEP

HAVE A NICE DAY......CODING.................................

#include<byebye>