CAN We Talk Python? Talking to your vehicle over the CAN bus with - - PowerPoint PPT Presentation

can we talk python
SMART_READER_LITE
LIVE PREVIEW

CAN We Talk Python? Talking to your vehicle over the CAN bus with - - PowerPoint PPT Presentation

CAN We Talk Python? Talking to your vehicle over the CAN bus with Python @shnewto CAN? The standard CAN frame (mostly) ID: 0x123 DLC: 8 Data: 8 bytes / 64 bits [0] 0x18 [1] 0x29 [2] 0x3A [3] 0x4B [4] 0x5C [5] 0x6D [6] 0x7E [7] 0x8F


slide-1
SLIDE 1

CAN We Talk Python?

Talking to your vehicle over the CAN bus with Python

@shnewto

slide-2
SLIDE 2

CAN?

slide-3
SLIDE 3
slide-4
SLIDE 4

The standard CAN frame (mostly)

ID: 0x123 DLC: 8 Data: 8 bytes / 64 bits [0] 0x18 [1] 0x29 [2] 0x3A [3] 0x4B [4] 0x5C [5] 0x6D [6] 0x7E [7] 0x8F

slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8

The OBD-II Port

slide-9
SLIDE 9

(My 2006 Hyundai Elantra)

slide-10
SLIDE 10

A LOT of chatter!

slide-11
SLIDE 11

can_we_talk.py

github.com/shnewto/can-we-talk

slide-12
SLIDE 12
slide-13
SLIDE 13
  • scc-check.py

github.com/PolySync/oscc-check

slide-14
SLIDE 14
slide-15
SLIDE 15

The CAN bus and your car

slide-16
SLIDE 16

Questions?

slide-17
SLIDE 17

Resources

sheas.blog/talks (slide deck) Code:

  • github.com/shnewto/can-we-talk OBD-II reader
  • github.com/PolySync/oscc-check Vehicle actuation and status reports

Twitter: @shnewto Blog: sheas.blog GitHub: shnewto Email: shnewto@gmail.com