Noise on serial line
Posted: Thu Dec 22, 2022 7:13 pm
I am connecting 2 esp32s together, communication is one-way. The sender is a Makerfab esp32uwb based on the WROOM and the receiver is a WT32-SC01 based on the WROVER.
The sender initializes the connection with
where TXD1 is 12
The receiver initializes the connection with
where RXD1 is 13
Grounds are connected.
The connection works, I can send data. However, there is constant noise on the receiver.
I have tried both
and
on the receiver, but it makes no difference.
I have tried different pins on the sender and the receiver.
Interestingly this did not happen when I used a different board (it was a DEVKIT V1 DOIT I believe) as the sender.
Edit: I have tried changing the sender and receiver to
but it didn't help.
Any ideas?
The sender initializes the connection with
- Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);
The receiver initializes the connection with
- Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);
Grounds are connected.
The connection works, I can send data. However, there is constant noise on the receiver.
I have tried both
- pinMode(RXD1, INPUT_PULLUP);
- pinMode(RXD1, INPUT_PULLDOWN);
I have tried different pins on the sender and the receiver.
Interestingly this did not happen when I used a different board (it was a DEVKIT V1 DOIT I believe) as the sender.
Edit: I have tried changing the sender and receiver to
- SERIAL_7E2
Any ideas?