New answers tagged


You can use Software serial for this. and assign pins like SoftwareSerial mySerial(2, 3); // RX, TX This is a link for better understanding


@Carlmikael is definitely correct in his answer, I should not have been using hardware pins with softwareserial. Besides that problem, my issue was resolved ultimately when I noticed that if I powered up the NodeMCU before powering up the Arduino, everything worked as expected. Maybe someone can elaborate as to why this caused an issue?


Arduino UNO is using pin 0 and pin 1 to have serial with USB serial Communication. You can not use them to softserial. Change softserial to other pins. /Mikael

Top 50 recent answers are included