Zeeshan
Zeeshan

Reputation: 11

I want to know about Serial Communication in Nodemcu. How we can use more than 2 serials at a time like we use in arduino

I'm new and I just want to know if we can use more than 2 Serial comms in nodemcu by using Software Serial.. I m currently using 3 modules which need serial communication and I want to use them with a single Nodemcu. Is it possible?

I'm trying to use GPIO 4 and 5 for one serial Comm and Rxd2 and Txd2 for second serial. will it work?

Upvotes: 1

Views: 407

Answers (1)

Marcel Stör
Marcel Stör

Reputation: 23535

This won't work.

Although there are two UARTs(0 and 1) available to NodeMCU, UART 1 is not capable of receiving data and is therefore transmit only.

For reference: https://nodemcu.readthedocs.io/en/latest/en/modules/uart/

Upvotes: 1

Related Questions