Skip to content

Arduino library for interfacing Chrysler's J1850 VPW diagnostic communication bus, also known as PCI-bus.

License

Notifications You must be signed in to change notification settings

ajayre/J1850VPWCore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J1850 VPW Arduino Library

This Arduino library allows the user to receive and send messages on Chrysler's PCI-bus.
It uses interrupts to decode and encode J1850 VPW protocol.
Only Uno and Mega boards are supported.

RX-pin must be external interrupt capable:

  • Arduino Uno: 2 or 3
  • Arduino Mega: 2, 3, 18, 19, 20 or 21 (pins 71 and 72 are not broken out to the connector)

TX-pin can be any unused pin.

Message reception and transmission are handled simultaneously.

Bus-idle condition is measured with Timer 2 (Uno/Mega).
The protocol encoder uses Timer 1 (Uno) or Timer 4 (Mega) to signal TX pin state changes in accordance with J1850 VPW timing requirements.
Make sure that these timers are not used by other functions.

Without a suitable transceiver circuit/chip and live PCI-bus network the library is easy to test with the loop-back method: short selected RX/TX pins, upload J1850VPWWrite example, open Arduino Serial Monitor and observe the repeated test message.

IMG

To be used with the CCD/PCI-bus Transceiver Development Boards.

About

Arduino library for interfacing Chrysler's J1850 VPW diagnostic communication bus, also known as PCI-bus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%