Modular Live Telemetry Project for Zephryus:
- Communicates through low frequency radio
- Includes dashboard for visualization
-
Update existing dependencies
sudo apt update -
Install Python through terminal
sudo apt install python3 -y -
Install Python library manager with
sudo apt install python3-pip -y -
Create virtual enviornment with
python3 -m venv env -
Enter virtual enviornment
source env/bin/activate -
Install libraries with
pip install -r requirements.txt
-
Open Powershell as Admin
-
On Powershell run
usbipd listto list all USB devices attached to Windows, noting which device is the ESP32 -
On Powershell run
usbipd attach --wsl --busid <BUSID>to attach USB device to WSL, where<BUSID>is the value from step 8 ex.2-1 -
Go back to WSL and run
lsusbto confirm that the ESP32 is now visible inside WSL. Example outputID 10c4:ea60 Silicon Labs CP210x USB to UART Bridge -
Run
dmesg | grep ttyto see which COM port Linux assigned to the USB port. Look for something like/dev/ttyUSB0 -
Run
sudo chmod 666 <PORT NAME>to give the port permissions, port name is defined above -
Inside
backend/server.pyreplace the port name with the one fromdmesg/lsusb