Giter VIP home page Giter VIP logo

giulia_escape's Introduction

giulia_ESCape

Traction Control enable/disable for the Alfa Romeo Giulia via Arduino + canbus module

This is a simple Arduino project that enables/disables traction control in any (R)DNA mode via pressing the left stalk button (LDW) for ~2 seconds.

This has been tested on my 2018 Giulia Quadrifoglio (late 2017 built). It is untested on 2.0 Giulias. It is unteted on Stelvio. It is untested on vehicles with the Secure Gateway module.

You assume all risk for using this. You are interfacing with the stability control systems on an $80,000 car with a $10 computer. It's very possible something could go very wrong...like loss of critical safety functions. Seriously, this code is provided for informational purposes only. You should not use it on an actual car.

You will need a few items:

1.) An Arduino Uno 2.) A CAN-BUS Shield V2 https://www.amazon.com/seeed-studio-CAN-BUS-Shield-V2/dp/B076DSQFXH 3.) A way to access the CAN-CH bus. This is not the primary can bus. There are various places to access the CAN-CH bus (I'm using a connector in the trunk), but the most convenient place to access is is via pins 12 and 13 at the OBD port. If you've bought an OBD cable set for your Alfa, you will want to use the gray adapter cable. Additionally you will need an OBD->DB9 cable. I purchased this one: https://www.amazon.com/gp/product/B01ETRINYO/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1 4.) Power - The canbus shield has an option for you to power the entire setup via the power provided by the OBD port. This seems to work fine for testing, but automotive voltage is a bit higher than optimum for the Arduino. Also, it's possible to drain your car's battery if you choose to power the arduino via OBD port.

You'll need the CAN-BUS Shield Library. IMPORTANT There seems to be a bug in this library, or some implementation issue. As the library ships, setting masks and filters is very hit or miss. I've solved it by adding a small delay (100ms) after the controller switches into config mode via mcp2515_setCANCTRL_Mode(MODE_CONFIG) in both the init_Mask() and init_Filt() functions. If you do not make these two changes, the application is going to be working on a lot more packets than it needs to. It could cause the packets we want to be filtered out erroneously.

giulia_escape's People

Contributors

beaups avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.