Improve transmitting and receiving files RPi
Budget: $30 – $250 CAD
Refer to attached circuit schematic. The transmitting raspberry pi (TX pi) sends a data signal to a filter circuit. The filter circuit removes the 3v that the rpi sends when there is no data streaming in order to protect the amplifier. The amplifier then sends the data signal down a long wireline to the receiving Pi (RX pi).
The problem is that the program uart_rx is expecting to see 3V to indicate there is no data. Instead it sees 0V and thinks this is data so it writes empty values to the file.
The scope of this job is to modify uart_tx.c files and uart_rx.c files so that the transmitting program sends a start of file indicator, and end of file indicator. The receiving program should then be able to identify when the data is starting so it can start to write to the file. Once it sees the terminating indicator that you create, it will close the file.
I will start an NRok server so you can test the modified programs once you are finished. The raspberry pi’s will be connected through the filter circuit as shown above so you can test the modifications with the circuit shown.
The problem is that the program uart_rx is expecting to see 3V to indicate there is no data. Instead it sees 0V and thinks this is data so it writes empty values to the file.
The scope of this job is to modify uart_tx.c files and uart_rx.c files so that the transmitting program sends a start of file indicator, and end of file indicator. The receiving program should then be able to identify when the data is starting so it can start to write to the file. Once it sees the terminating indicator that you create, it will close the file.
I will start an NRok server so you can test the modified programs once you are finished. The raspberry pi’s will be connected through the filter circuit as shown above so you can test the modifications with the circuit shown.