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

Thread: Teensey and Vehicle CAN

  1. #1
    Junior Member
    Join Date
    Aug 2016
    Posts
    2

    Teensey and Vehicle CAN

    Silly question. Almost a newbie at electronics. As the teensey has CAN hardware on board, can I use it to read vehicle data from the OBDII port direct or will extra hardware be required?

    Thanks for any guidance!
    Nick

  2. #2
    Googling for "teensy can" gives this as the first result .. https://github.com/teachop/FlexCAN_Library

    That mentions hardware requirements..

  3. #3
    Junior Member
    Join Date
    Aug 2016
    Posts
    2
    Quote Originally Posted by ohhorob View Post
    Googling for "teensy can" gives this as the first result .. https://github.com/teachop/FlexCAN_Library

    That mentions hardware requirements..
    You're right. It does. It doesn't mention anything about Vehicle CAN bus systems via OBDII ports however.

    Unless I've missed something in the readme file?

  4. #4
    These should be wired to a 3.3V CAN transceiver...
    and then later .. https://github.com/teachop/FlexCAN_L...ceiver-options
    Please add parts you are using successfully with Teensy 3.1 to this list.

    TI SN65HVD230D on 3.3V (1MBPS)
    TI SN65HVD232D / SN65HVD232QDQ1 on 3.3V (1MBPS)
    NXP TJA1050T/VM,118 on the same 5V supply as the Teensy. (1MBPS)
    Microchip MCP2551 on 5V (reported at 500KBPS)
    Linear LT1796 on 5V (not speedtested)
    And I see a bunch of OBDII specific bits at sparkfun.. https://www.sparkfun.com/search/results?term=obdII
    Last edited by ohhorob; 08-18-2016 at 06:48 PM.

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    26,801
    You must use one of those CAN transceiver chips. The output pins on those chips are meant to be able to connect to a CAN bus, like the ones in your vehicle. Don't forget the ground connection, which is implied but not always explicitly shown in wiring diagrams.

    Teensy requires 5V power to run. If powering in a vehicle, you'll probably need a 12V to 5V power supply. Beware, cars can have terribly noisy 12V systems, especially if the car's battery becomes disconnected while the engine is running. Many power supplies not designed for automotive use might not survive those scenarios. Some might even pass the noise onto Teensy, possibly destroying it as well.

Tags for this Thread

Posting Permissions

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