Skip to content

craigpeacock/Tesla-ChargePort-Decoder

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Tesla-ChargePort-Decoder

Quick and dirty code to decode Tesla ChargePort messages over SWCAN.

Software written for and tested on a beaglebone black: https://www.beyondlogic.org/adding-can-to-the-beaglebone-black/

and using a NCV7356/TH8056 breakout board: https://www.beyondlogic.org/swcan-single-wire-can-transceiver-breakout-board/

Compile using gcc:

$ gcc ChargePortDecoder.c -o ChargePortDecoder

Code hardcoded to use CAN0 interface, but can be changed in code. SWCAN link runs at 33,300bps. Setup link using:

sudo /sbin/ip link set can0 up type can bitrate 33300

About

Tesla ChargePort SWCAN Decoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages