This is Transmitter & Receiver of RNGs Demo project via virtual Serial Ports for Digital System Lab. The demo project using UART Transmit (Python) 16 bits RNG DATA from PC(Transmitter) to PC(Receiver). A pair of virtual serial ports was build via "Free Virtual Serial Ports", which allow one PC support Tx and Rx at the same time.
- Download Free Virtual Serial Ports;
- "Create Local Bridge";
- First port Name: COM1;
- Second port Name: COM2;
- Open one Python IDLE(or the PowerShell) run "uart_rx.py";
- Open another Pyhton IDLE, run "uart_tx.py";
Python >= 3.5;
pyserial; pip3 install pyserial
Pyserial : https://pyserial.readthedocs.io/en/latest/pyserial.html
This project is licensed under the MIT License
