rusEFI Proteus: two CAN buses and Lua scripting. Also an ECU :)

This page summarizes the projects mentioned and recommended in the original post on /r/CarHacking

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • proteus

  • For now I've cut the CAN bus and inserted https://github.com/mck1117/proteus in the middle - that's the black box on the photo - this way I can Lua script what packets to let through and what packets to substitute with my version of the payload. Since rusEFI would not have the proper torque model I would have to come up with some approximation of torque to have the TCU somewhat happy.

  • rusefi

    rusefi - GPL internal combustion engine control unit

  • The default man-in-the-middle Lua script looks like this - https://github.com/rusefi/rusefi/blob/master/firmware/controllers/lua/examples/man-in-the-middle.txt

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • RabbitECUTeensyMCUXpresso

    Open-source ECU firmware for ECU based on NXP MKS2x MCU

  • Luckily for me there is a lot of data to build on top - there is https://mdac.com.au/2021/04/11/dsg-control-with-rabbit-ecu/ article, there is https://github.com/RabbitECUProject/RabbitECUTeensyMCUXpresso/blob/main/source/Client/DIAG.c source code of how RabbitECU solved the same problem, and there is a https://github.com/commaai/opendbc/blob/master/vw_golf_mk4.dbc

  • opendbc

    democratize access to car decoder rings

  • Luckily for me there is a lot of data to build on top - there is https://mdac.com.au/2021/04/11/dsg-control-with-rabbit-ecu/ article, there is https://github.com/RabbitECUProject/RabbitECUTeensyMCUXpresso/blob/main/source/Client/DIAG.c source code of how RabbitECU solved the same problem, and there is a https://github.com/commaai/opendbc/blob/master/vw_golf_mk4.dbc

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts