An open API service indexing awesome lists of open source software.

https://github.com/muki01/obd2_k-line_reader

OBD2 K-line Rader (ISO9141 and ISO14230)
https://github.com/muki01/obd2_k-line_reader

iso14230-1 iso9141 k-line kwp2000 obd2

Last synced: 3 months ago
JSON representation

OBD2 K-line Rader (ISO9141 and ISO14230)

Awesome Lists containing this project

README

        

# 🚗OBD2 K-line Reader

![GitHub forks](https://img.shields.io/github/forks/muki01/OBD2_K-line_Reader?style=flat)
![GitHub Repo stars](https://img.shields.io/github/stars/muki01/OBD2_K-line_Reader?style=flat)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/muki01/OBD2_K-line_Reader?style=flat)
![GitHub License](https://img.shields.io/github/license/muki01/OBD2_K-line_Reader?style=flat)
![GitHub last commit](https://img.shields.io/github/last-commit/muki01/OBD2_K-line_Reader)

This code is for reading the K-Linke in Cars. With this code you can read sensor values, troubleshoot codes and more. It is compatible with ISO9141 and ISO14230(KWP slow and fast) protocols.
I have shared schematics to communicate with the car. You can use these schematics or you can make another one. I used Arduino nano and ESP32 C3 as microcontrollers, but you can use another microcontrollers like STM32, ESP8266 and much more.

I will share more information about K-Line protocols and communication later. Stay tuned 😉.

You can also see [this](https://github.com/muki01/I-K_Bus) project for I/K Bus for BMW cars

## ⚙️Instalation
* Open .ino file
* 📚Instal these Libraries
~~~
- ESPAsyncWebServer
- AsyncTCP
- ArduinoJson
~~~
* Edit the pins for your Board
~~~
#define K_Serial Serial
#define K_line_RX 20
#define K_line_TX 21
#define Led 8
#define Buzzer 1
#define voltagePin 0
~~~
* If you are using ESP32 C3,S2 or S3 board, you need to disable "USB CDC On Boot" option in Tools menu
* Upload the code to your Board
* Upload the Website to SPIFFS.
- To upload the Web Site, you can use PlatformIO or you can upload with tool for Arduino IDE v1.x.x
[Here](https://randomnerdtutorials.com/install-esp32-filesystem-uploader-arduino-ide/) is documentation how to upload files to SPIFFS with Arduino IDE.

## 📱Pictures of the application I made

## 🛠️Schematics for communication
#### This is the schematic with Transistors

#### This is the schematic with L9637D

## The device I made with ESP32 C3 SuperMini.