Skip to content

Arduino / ESP / RPi Pico library integrating the proprietary VAG Key-Word 1281 protocol (KWP1281/KW1281)

License

Notifications You must be signed in to change notification settings

domnulvlad/KLineKWP1281Lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KLineKWP1281Lib

KLineKWP1281Lib is a library designed for communicating with VAG control modules which use the proprietary VAG Key-Word 1281 protocol (KWP1281/KW1281), through an Arduino / ESP / RPi Pico development board.

Supported features:

  • Ability to use any method to send and receive data (best being a hardware serial port, or software serial if an additional port is not available)
  • Ability to keep the connection alive while doing other tasks
  • Connecting to any control module that supports KWP1281
  • Reading the module's part number + extra fields, coding, WSC
  • Recoding
  • Performing a login operation
  • Reading stored fault codes and their elaboration codes
  • Converting fault/elaboration codes to strings (available in a few different languages)
  • Clearing stored fault codes
  • Reading, testing and saving an adaptation value
  • Reading measuring blocks, calculating a measurement's value and providing its units, or displaying text from a table where applicable (available in a few different languages)
  • Reading ROM / EEPROM (firmware)
  • Performing actuator tests
  • Performing basic settings
  • Implied multi-instance support for managing multiple K-lines at the same time by using a multitasking-capable platform (ESP32 example included)

Getting started

Download the latest release (.zip) and add it to your Arduino IDE.

Read the documentation on the wiki! Chapter 3 describes using the demo sketches.

Credits

Thanks go out to these people for their efforts:

Contact

For any inquiries, you can open an issue or contact me at ne555timer@yahoo.com.