I wanted to work with the NodeMCU while travelling or some place where I could sit with my laptop without having a power supply handy for the powered USB hub, like on the couch so I decided to give the USB to serial adapter another try. After connecting it I found that the NodeMCU can actually be powered through the adapter by just using my laptop.
Connecting is quite straight forward. My adapter has 6 pins of which I am using 4.
- 3v3 of the adapter is connected to 3v3 of the NodeMCU
- GND of the adapter is connected to GND of the NodeMCU
- TXD of the adapter is connected to RX of the NodeMCU
- RXD of the adapter is connected to TX of the NodeMCU
That’s it. Connect the USB cable from the adapter to your computer (and remember to disconnect the other one) and you should be able to connect to your NodeMCU without a powered USB hub.
(The led in the picture is the led I described in my previous post)