I am running this code.
import serial
import time
serialport = serial.Serial('/dev/serial0',baudrate=1200, timeout=3)
t = "ttt"
while True:
serialport.flush()
serialport.write(t.encode())
rcv =serialport.read()
print(rcv)
I have enabled Serial on raspi-config.
I have connected RF receiver MX-RM-5V to Rx GPIO 15 and RF transmitter FS1000A to Tx GPIO 14 on a Rpi3B. Always the output of the received message is empty. I am also using piscope to monitor the outputs of the Pins. When I connect Rx and Tx Pins together, I can see the message correctly (bypassing the RFs). Receiver and Transmitter work perfectly because I can test them in a RpiPico that I own.
Is there something I miss?