Firmware Programming - aeonSolutions/AeonLabs-AI-Volvo-MKII-Open-Hardware GitHub Wiki
Main Page >> Firmware Programming
Last change 02-03-2024
The open hardware I'll be prototyping will use the ISO 15765-2 ISO-TP protocol.
There's an implementation for Arduino by Heiko Krupp (from Germany) on this GitHub repository. Heiko's implementation required the MCP_CAN_lib from Cory, and available on this repository here. Cory has "a strong passion for electronics that wonders the spectrum from complicated FPGA designs down to blinky LED stuff". This is a fork form
Longan Labs available on the repository Arduino_CAN_BUS_MCP2515. Loogan Labs is located in Shenzhen and "provides open source hardware | MCU | CAN Bus dev board | electronic modules | PCS (product customization service)". Magnus Thomé has a really useful ESP32 CAN project, the RejsaCAN a 3x5 centimeter small ESP32 or ESP32-S3 based board aimed at car use that he put together for his own use. The board has an onboard CAN interface and can be powered directly from the car (5-15V). It also includes the option to auto shutdown so not to drain the car battery. Finally CL2 at University of Waterloo has really useful ROS libraries for autonomous driving.
All open hardware electronics made available here use Vendor ID Programming. One can read more about it on the previous link above.
Useful libraries
- Implementing Software Timers a gist by Rasmus
- ESP32TimerInterrupt Library by Khoi Hoang
- RejsaCAN-ESP32
- esp-serial-flasher by EspressIF
- FlashBox - Esp32 serial flasher by View Machiel80's full-sized avatar Machiel80
- espidf serial communication by antusystem
- ProtoCentral AF4490/AFE4400 based PPG/SpO2/HR shield for Arduino by Protocentral
To see a list of other Volvo related open projects click here.
- CANBus Traffic Anomaly Detection with LSTM and Autoencoders by Nicolás Eduardo Horro
- VolvoP2_CAN by martonn98 from Budapest
- OBD9141 by Ivor Wanders