Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CANdapter-scripts

Scripts to convert input from a CANdapter (CAN bus to USB interface) to human-readable output. Supports CAN message decoding for the TPEE SEC-B175-7A MPPT and the Prohelion Wavesculptor 22 Motor Controller used on the 2025 Longhorn Racing Solar car. This script can be extended to any device by adding a device description file (.dbc) to the files directory.

Install

Run pip3 install -r requirements.txt in your virtual environment to install the necessary dependencies.

Usage

Run py main.py and follow the prompts to enter your device base address and default address. To change the COM port, serial baud rate, or CAN baud rate, set the port, serialbaudrate, and canbaudrate configuration variables. Alternatively, use the command line flags as outlined below for one-line execution:

-p PORT (CANdapter COM Port)
-s SERIAL (Serial Baud Rate)
-c CAN (CAN Baud Rate)
-i DEVICE_ID (Device Base Address)
-d DEFAULT_ID (Default Base Address)

Acknowledgement

pyCandapter.py is from https://github.com/Anay1440/pyCandapter developed by Anay Patil, used under the MIT License (thx goat).

About

Scripts to convert input from a CANdapter (CAN bus to USB interface) to human-readable output

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages