Arduino OBD Simulator
Vložit
- čas přidán 5. 09. 2024
- V2.0 is Here: • Arduino based OBD 2 Si...
Here is Arduino based OBD 2 Simulator. This simulator simulates 10 parameters like vehicle ECU. To change the value of parameters I developed software in VB. For making this simulator you need Arduino CAN bus shield. You can download Arduino code and software from below links.
Arduino Code : drive.google.c...
GUI Software : drive.google.c...
#arduino obd2
#arduino obd2 shield
#arduino obd ii
#arduino obd reader
#arduino obd simulator
#arduino obd car
#obd avec arduino
#arduino obd ii library
#arduino obd code
#arduino obd can
#arduino due obd
#arduino honda obd
#obd.h arduino
#obd2.h arduino
#arduino obd kit
#arduino obd scanner
#arduino obd sniffer
#arduino obd tutorial
#mcp2515
#mcp2551
#obd scanner
#obd 2 hack
#obd.c
#obd stack
#free obd
#obd bluetooth
#obd wifi
Thanks, I'm successfully did your demo, i'm using the obd2 bluetooth as interface and I can read the values via android device
Hello sir. I have question on hardware part. Can you help me? if you have already did it
@@otabeknigmatov5171 yes, what is your question?
@@yudipatriot7765 Im also trying to do this project. However I could not find correct hardware which connects can bus shield and esp32? If you have some ideas, could you please share with me?
@@otabeknigmatov5171 Dear Otabek, so sorry that i discontinued the project as above video, its only a test, actually my project is to build a car instrument cluster with Raspberry pi4 pi4 with Qt5 software as display connected to (arduino + MCP2515 + GPS ) as signal source, if you interested you can view my video
the best arduino simulator i have ever seen. thanks a alot!
Thans Emre. I am also working on adding DTC.
@@Technical_Guruji Waiting for good news. Thank you again for your efforts. You saved me from going to my car many times in a day :)
Hello Sir. Thank you for a very good effort. I have a question. I cannot understand what is the CAN driver MCP2551? Can you tell me how can I get this?
Are you selling anything fully assembled? Can I purchase something from you to support you as well? I appreciate the video. Ypu did an awesome job brother
please sir I made the diagram as indicated but it always tells me `` Enter setting mode / CAN BUS Shield init fail / Init CAN BUS Shield again ''
check CS pin connected properly. or try to change it asper your circuit.
Hello ZenElectro, I have some questions about building the simulator, as I'll use the Bluetooth OBD scanner to read data and send it to my phone, do I need CAN Driver MCP2551 between CAN BUS Shield and the Bluetooth OBD?
Your project really inspired me, Thanks.
Its depends. If your scanner mention standard CAN voltages then you need this IC to communicate with OBD scanner. If obd scanner mentions pins are RX TX with standard volatege logc 3.3v to 5v then you can directly connect to CAN driver pins.
@@Technical_Guruji Thank you so much.
great software, but please I have few questions
can't we use mcp2551 with all cars with obd2 why?
the same questions for elm 327?
the last one is can we use elm 327 to get data from your software+arduino+can bus shield?
1) Yes, we can use MCP2551 drive( need CAN controller here like MCP2515 or MCU that have inbuild CAN controller like stm32F103) with all cars, becase BOD2 supports multiple standard protocols to send ECU data on OBD2 bus one of them is ISO 15765 CAN.
2) Same for ELM327 its use CAN protocol to read OBD 2 data.
3)Yes, we can use ELM327 to read data from this simulator. This simulator acts like ECU of car wich send 10 parameters and can be changed throw software.
Can you tell me more about the ESP32 with MCP2551 - OBDII-Reader ?
Here I used ESP32 as OBD II PID scanner and reader. It simple BLE GATT demo modify to read CAN(ESP32 internal CAN controller) data then data is parsed by OBD II data parser written by me. after parsing data I write that data on GATT characteristics in the key-value pair.
@@Technical_Guruji Can you please, share your project with me - danichervenski@gmail.com . I`m trying to make a ESP32-MCP2551 OBDII - Car speed reader (0xOD HEX) with a PWM output that is with function of speed, but i can`t find any information about interfacing the MCP2551. I got a succes with MCP2515 but i wanna make it quite smaller with less hardware with the MCP2551 and ESP32. I`ll be very greatfull to help with some issue.
Sorry Dani Chervenski, I cant share source code for ESP32 device. as its confidential. you can look for CAN driver for ESP32
Are you selling anything fully assembled? Can I purchase something from you to support you as well? I appreciate the video. Ypu did an awesome job brother
You may find more information on
1) github.com/Seeed-Studio/CAN_BUS_Shield
2) www.elecfreaks.com/store/download/product/shield/CAN-BUS_Shield/User%20Guide.zip
sir, thank you very much for this simulator u've created. i'm currently now developing an obd reader program in STM32. May I have your OBD reader code as a reference? thank you very much.
You can download from link given in description of this video czcams.com/video/kG1J2tNc_tg/video.html
@@Technical_Guruji I'm sorry sir but from the drive i have only seen the file for arduino simulator. I mean the code for the ESP32 CAN reader from the obd2App.c from minute 2:28
As per my understanding what you did is an emulation using real hardware. Any simulation possibilities? (completely in PC)
how did you build esp32 with obd2 reader?.....is there any code for the reader?
I used esp can controller and writw OBD2 parser library to communicate with car.
sir,can we send the request by using another set of arduino and can bus shield without using esp32.
Yes you can send OBD2 request using can shield on arduino
Hello! Why is necessary use esp 32? or is only for wifi or blutooth comunication?
Esp32 is working as OBD2 scanner and reader. Its read value from OBD2 simulator and display on console.
@@Technical_Guruji Sir, could you please explain how you connected to the esp32. I mean which pin? Since from can bus shield only two output CAN_H and CAN_L
hello my name is Weslley I am from Brazil, I am studying for a project to conclude a course at my Mecatronical Engineering faculty, I would like to develop a CAN data reading system for the J1939 protocol, used in most Diesel engines, mainly Cuminns by chance I could guide myself with information about this system and I'm having trouble inserting the order and serial in the Arduino's communication base.
Hello Weslley,
i hope you are doing great , i have a quetion for you sir if you did your project last year !!
@@user-hd3ky9qd1v Hey
Part of the project evolved yes, unfortunately I was only able to communicate with CAN protocols Global OBD types due to the libraries available in Arduino not having information for J1939 protocols.
I used a Bosch KTS 590 automotive scanner as a basis for comparison in the development and doing reverse engineering I have the CAN serial communication requests but the vehicle did not respond to the requests because I believe that the Shild I am using does not have the same speed as the car needs due to CAN FD protocol.
I connected from the CAN BUS Shild to a OBD2 Reader without success. I also connected also a 120 Ohm resistor to Hi/Lo PIN 14/6, don't work. My question is, do I need the CAN Driver MCP2551 in the middle and can I connect them to the OBD reader to pin 14 and 6?
Basically Can driver MCP2551is voltage level converter.
It required on both sides with single 120 ohm resistor between line(CAN H and CAN L) can bus shield have jumper to connect it.
Make sure.
1) If OBD reader is transfer data on CAN H and CAN L then your CAN bus shield should have MCP2551 on it.
2) if OBD reader transfer data on CAN RX and CAN TX then you need MCP2551 to connect your CAN bus shield (shield with mcp2551 on it).
3) check CS and INT pins are properly connected.
4) before starting software verify log on Arduino console.
Please whoever have successfully done this project, help me with the connection from CAN Bus Shield to the ESP32
SCARLET FIRE
What is the request - respone time of this setup?
hi ı want to use for iso 9141 with elm327 can ı use this system
Hello Omer Ozdemir. You can not use this simulator with iso 9142 as it uses K- line protocol. And this simulator works with CAN hardware. You can mdify it for K-line. You need K line protocol hardware.
@@Technical_Guruji :)
gay
Hi. Do you have a link to simulator? Does it have source code? Thanks.
Arduino code and software installer link is given in description. I have not published software source code. I working on porting this code to Qt platform. Will publish it soon.
Dont go to spam
do you have the code for the reader?
like 486 !
how to set error codes?
Can you tell us the Pin setup from Arduino to canbus shild?
You can find pin connections in Arduino code. Check v2 of this simulator czcams.com/video/kG1J2tNc_tg/video.html in this version pin connections given in help section.
Can i use it with MCP2515 ?
Yes you can use it with mcp2515.
show !
can you share the code for esp32?
My car is odb protocol ıso9141
Can ı use mcp2515
Hello Simracermudes. You can not use MCP2515 for ISO9141. As this protocol uses K line for communication. But there is way to make K line driver from some transistors wich can used by Arduino to read data. Or you can find ISO9141 driver.
ZenElectro ok thx
Can you make for iso9141 knowledge or video
Can you give me a schema?
can I pass a smog inspection with this?
u find out?
@@gianvmarco I never got an answer to my question.
Source code. Please 🙏
czcams.com/video/kG1J2tNc_tg/video.html please check in video description.
@@Technical_Guruji whether the tool can be used in all types of ecu.?
@@Technical_Guruji what modules are needed to make the tool.?