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)
- Host: GitHub
- URL: https://github.com/muki01/obd2_k-line_reader
- Owner: muki01
- License: mit
- Created: 2023-10-30T12:02:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T00:01:11.000Z (about 1 year ago)
- Last Synced: 2024-04-03T20:47:47.523Z (about 1 year ago)
- Topics: iso14230-1, iso9141, k-line, kwp2000, obd2
- Language: HTML
- Homepage:
- Size: 1.65 MB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚗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.
![]()