Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UART Tx&Rx 16 bits Random Numbers (RNGs) Demo

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.

Getting Started

  1. Download Free Virtual Serial Ports;
  2. "Create Local Bridge";
    • First port Name: COM1;
    • Second port Name: COM2;
  3. Open one Python IDLE(or the PowerShell) run "uart_rx.py";
  4. Open another Pyhton IDLE, run "uart_tx.py";

Results:

Tx and Rx Result

Prerequisites

Python >= 3.5; pyserial; pip3 install pyserial

Reference

Pyserial : https://pyserial.readthedocs.io/en/latest/pyserial.html

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages