I'm still new in RF projects so if there's anything that I did wrong, please point it out. This project is taken a toll on me so any suggestion to get it work is appreciated.
In this project, 2 pair of arduino uno + UART transceiver will be used. One pair will be transmitter and another will be receiver.
The code is located in https://pastebin.com/ctaVEmGK I will be using software serial since I kept getting stk500_getsync() error when hardware serial (pin 0 & 1) is being used. If possible, I would like to use hardware serial to reduce possible errors introduced in this project. Inside the code, byte code of 1 will be sent to receiver, if byte code of 1 is received, led will light up.
Picture of breadboard configuration for transmitter is located in https://imgur.com/a/wAprm Additonal information about the wiring, based on the UART manual, RX pin of UART will be connected to software TX of arduino, and vice versa. For receiver, the difference is that led is added to pin 6, if byte code of 1 is received, led will light up.
The received output via variable rx_byte is 255, even with RX and TX plugged out, it still outputs 255. The whole project hasn't been working once.
If there is any information needed for diagnosis, please ask.
Thank you in advance.