SCanner is a CAN bus blackbox and live telemetry system developed by Squadra Corse PoliTO, the Formula SAE team of Politecnico di Torino. This project is designed to monitor and record CAN bus data in real-time, providing valuable insights for vehicle diagnostics and performance analysis.
- Real-Time Data Monitoring: Capture and display live telemetry data from the vehicle's CAN bus.
- Data Logging: Record CAN bus traffic for post-analysis and debugging.
- Blackbox Functionality: Store critical data during events for later review.
To set up and run SCanner on your system, follow these steps:
- Hardware: STM32H743VGTx microcontroller
- Software:
- A toolchain supporting Makefile-based projects (e.g., GCC for ARM, OpenOCD, etc.)
-
Clone the Repository:
git clone --recursive https://github.com/squadracorsepolito/SCanner.git cd SCanner
-
Build the Project:
Use the
STM32Make.make
file to build the project:make -f STM32Make.make
-
Flash the Microcontroller:
The recommended way to flash the microcontroller is to use the following
make
command:make -f STM32Make.make flash
Alternatively, you can flash the compiled binary manually using OpenOCD:
openocd -f interface/your_interface.cfg -f target/stm32h7x.cfg -c "program your_binary.elf verify reset exit"
-
Connect Hardware:
Ensure the microcontroller is connected to the vehicle's CAN bus.
-
Run the System:
Power on the device to start monitoring and logging CAN bus data.
-
Access Data:
- Live Data: Use Cannelloni to read data live from the CAN bus.
- Logged Data: Retrieve logged data from the storage for analysis.
We welcome contributions from the community. To contribute:
-
Fork the Repository:
Click the "Fork" button at the top right of this page.
-
Create a Branch:
git checkout -b feature/YourFeatureName
-
Commit Your Changes:
git commit -m 'feat: Add some feature'
-
Push to the Branch:
git push origin feature/YourFeatureName
-
Open a Pull Request:
Navigate to your forked repository and click the "New Pull Request" button.
"THE BEER-WARE LICENSE" (Revision 69): Squadra Corse firmware team wrote this project. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy us a beer in return.
Authors
- Filippo Rossi [email protected]
- Federico Carbone [email protected]
Special thanks to the members of Squadra Corse PoliTO for their dedication and contributions to this project.
For more information, visit our GitHub page.