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?