Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: FlexCAN for Teensy 3.5 for Car OBDII?

  1. #1

    FlexCAN for Teensy 3.5 for Car OBDII?

    Hey guys,

    I have a Teensy 3.5 and a WaveShare CAN transceiver I'd like to use to get basic diagnostics data from my 2015 Dodge Charger R/T such as speed and RPM.

    I did some digging and it looks like FlexCAN is the library to use for a project like this, but the main problem is that all the examples are for the T3.6. Does anyone know of an example for this library that gets car diagnostics and works with a T3.5?

    I've never used CAN before and I get a little ansy trying to communicate on new comm protocols, so an example I can use and test would set my mind at ease.

    Any ideas? Has anyone done a project like this before?

  2. #2
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    2,954
    https://github.com/tonton81/IFCT

    Theres very simple settings to get you up and running
    works on all Teensy 3.2/3.5/3.6

  3. #3
    Cool! Thanks for the link. Might be a dumb question, but have you tested your library to get data (i.e. speed) from a car's CAN port?

  4. #4
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    2,954
    yes, you can either do it through a CAN obd request or look through the stream of datta to find the RPM which is being sent to the cluster. it should be 2 bytes in a frame
    when you see the log scrolling in the car you’ll need to look through it to see which values change with the RPM

    Since the IDs are different per vehicle per year you need to do that reversing yourself

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •