Set up
Download these files from Github:
- Read_serial_data.py
- Plot_data.py
- Requirements.txt
Setup Environment
- Download VS Code
- Download latest Python 3.XXX
- Create python virtual environment using the terminal in VSCode IDE a) Command to execute in the terminal: python3 -m venv venv b) Activate virtual environment c) Command to execute in the terminal: source venv/bin/activate d) Install requirements from requirements.txt file e) Command to execute in the terminal: pip3 install -r requirements.txt f) Open the given Python code and adjust the COM port in the script to correspond with the COM port selected in the Arduino IDE
- Make any changes in the Python code if necessary
- Update port based on the Arduino port
- Update baud rate based on the Arduino baud rate
Setup Calibration (TBD)...