ArduinoGeneral

wt32-eth01 serial port

userHead TimCurry 2022-09-20 06:11:13 848 Views1 Replies

I programmed my new WT32-eth01 successfully using the Arduino TX0 and RX0 interface. My Arduino software is trying to read another device using the WT32-eth01 serial interface. I tried Serial1 and Serial2 for the TXD/RXD but I never get any messages. How do I know the Serial1 and Serial2 attributes? I would like to know what pins they use. Maybe that will tell me why I cannot read any serial messages on RXD/TXD. I know Serial.print uses TX0/RX0 because I can see my prints in the Arduino Serial monitor.

2023-02-24 14:48:48

Hi

For arduino UNO. there is only one hardware serial TX0 and RX0.

If you wish to use more than one serial, you can try soft serial, which enables you to use the interrupt pins(2 and 3) as a serial port. For more detail, you can check the tutorial below.

https://docs.arduino.cc/learn/built-in-libraries/software-serial

Hope it can help.

userHeadPic NeloKin