Python3 based script using Pyserial library. To use, please put the /serial folder under your version of Python package directories. And run the main.py.