Git Product home page Git Product logo

arduinohondaobd's People

Contributors

kerpz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduinohondaobd's Issues

New version is something wrong ...@@...

My Honda is 00" CRV in Taiwan, when I used "hobd_elm", It works very well!

When I try "hobd_uni" even "hobd_uni2", everything working..... but the RPM and Throttle and.... which value is become very low.

For example, Throttle's value is from 11% become 0.8%, RPM's value is from 1500 become 300or200.

Is something changed in "hobd_uni" ?

connect with chrome ecu software

hi ..
i'm blind about arduino :).. wuff .. see lot of awesome project based n arduino .. including this one :)..
is possible to connect your project with FT232RL FTDI USB to TTL ..(maybe chrome application will accept this communication..)
sorry for my english..
and thx for advance

help with translate honda code ECT to a number

Hi Philip! how are you?

I came here because I had no one who know too much about honda code and maybe you can help
I'm in a project (a TFT ECT ring meter) to solve a S2000 AP2 2007+ problem (this cluster has a rocket science method to see ECT and need a CAN bus decode... yep forget this CAN and I'm creating a external temperature gauge).

Ok, using a ESP32 and a FTF 3.2" screen we can get a nice ring meter to place over the AP2 (with the same design) but I need to get a ECT value as a decimal value...

Looking your code I guess can use only ECT data to do that... (maybe you ask me about use a termopar k sensor or read the ECT gauge sensor from D16Z6, but the wire length and the engine temperature and RF interference is so bad to a simple arduino. So, I'm thinking about convert from 3 pin DLC information directly to my gauge (maybe a VTEC information too).

Can you take me to a "north" about this?

Thank you again (if you want to see this project I can show you the ring code images about)

Intent to create Wiki

Essentially I'd like to create a Wiki for this project for some of the less known/lost pieces of information required to communicate and translate honda ecu data

Information that I'd like to source and confirm

PID/ECU communication | I've already found a few reliable sources from various forums that appear to be correct, next steps for this is to make a master spread sheet

--

ECU Byte/Word conversion | There are various readings made by the ECU which are stored as values between 0 and 255 or 511. After the micro controller receives one or two byte pieces of information, it must convert these values into real world values like temperatures, degrees of advance, percentages...

I'd like to collect and confirm as many conversion formulas and sources as possible.

--

If anybody has any sources (i.e. forums) or and raw data that could be formatted into a document by myself, I'd love to know about it.

EK3 ECU not responding

Hello, i have tried to do this project on my EK3 civic (D15Z6 engine with P2Y ECU).
Unfortunately my ECU is not responding with any code... I have tried it on my friends EK3 as well with the same result.
I have added a Serial.print(Data[i]) when the data is being collected from the data steam for debugging and the serial does not show anything.
Does the ECU use a different way of communication ? Or any ideas what could be wrong ?
Im using the hobd_lcd.
Thanks for your response.

List of DLC values and meanings ?

Hi Philip,
I've recently forked your Arduino code and am attempting to add some features to it like additional temperature sensors..
I've been digging for Honda DLC command and response info from all over the place, but it occurs to me that you may have collated a sanitised list or spreadsheet of known values and new ones you may have found.
Would you have a document to share ?
It will allow me to reduce the overhead of trying to filter out bad info and do more coding.

Regards,
Martin

Wrong RPM

Hi, first of all - great work!
I got it mostly working but in Torque, RPM is always (both with OBD1 and OBD2 selected) exactly 7224 rpm with the engine off and ~300 at idle. When I raise the rpm to ~3000, it shows even lower value (~170).
What can I try to make it work correctly? Honda_PCScanner.exe shows correct RPM.
Car is a d15z6 EK3 Civic with 37820-P2Y-G11 ECU (OBD2b I think).

please help

I cannot run on arduinodroid. error. im newbie on programming. please help sir

Something wrong, any suggestion?

Hi, I'm trying to make this project. I followed the wiring diagram (except for the 12V power supply that I diverted to a stabilizer with 5V output connected to the Arduino 5V). The program has been loaded without errors but the LCD backlights is off and only the squares of the high line are highlighted, both when it's connected to the PC via USB and when it's connected to the 3-pin DLC of the car. The car is a '97 Prelude (P5M). When I connect the DLC, the green Arduino LED and the yellow Rx one light up. If I press the button the Rx turns off and it doesn't turn on again. I had to reset Arduino and reload the program. What can I do? Is there any correlation with the fact that I'm feeding at 5V? I'm using the Uni version.

RPM runs down instead rev up

Hi Kerps, nice work, I'm using a arduino uno and a HC-06 bluetooth as a simple bridge to torque, but, the RPM goes to another direction instead rev up when I hit the accel pedal!

I'm trying other codes but still no lucky

The ar is a P28 ECU honda EJ1 1995 d16z6

else if (!strcmp(btdata1, "010C")) { // rpm
if (dlcCommand(0x20, 0x05, 0x00, 0x02, dlcdata)) { //Note 2 bytes used here
if ((dlcdata[2] == 255) && (dlcdata[3] == 255)) { //Trap a condition where my test ECU sends 255, 255 when engine is off
dlcdata[2]=0; //Set a 255 value to 0
dlcdata[3]=0;
}
sprintf_P(btdata2, PSTR("41 0C %02X %02X\r\n>"), dlcdata[2], dlcdata[3]);
}
else {
sprintf_P(btdata2, PSTR("DATA ERROR\r\n>"));
}
}

tested the original code, and this above, and still down the RPM

ArduinoHondaOBD

Is that code working with Ectune????
Or only stock and Crome?

torque app not working on hobd_uni

hello
you did very nice job btw. i appreciate your efforts. i used your sketch for my obd1 honda hobd_elm connects to torque app i need to know that can i get the fuel injection rate in miliseconds?

2nd question is the main question. i used hobd_uni . device display everything on lcd but torque app is nt connecting can you please explain the issue however torque is working fine on hobd_elm.
also i am getting rpm in wrong format for example if rpm is 1300 lcd showing 300 in hobd_uni. very most digit is not working ..

Waiting for your Replay
Thanks for wonderful inovation

How to read error with hobd_elm.

Hey.
Is there some way to read throught troque app errors with hobd_elm code or maybe hobd_uni2 can do this?
Kerpz thank you for your time and work, excelent project.

help with obd

hi sir, i was wondering if this code will also work for a arduino nano clone. i tried to compile the file and upload it to the nano and wired an hc-06 bluetooth adapter. the code i used was the hobd_elm. i followed the schematic you provided and wired up the bluetooth module to the arduino nano. i wired the rx d11 and tx to d10, k line to d12. im not really sure if that is correct but it seem logical to me. i have downloaded the torque app but seemed to be a totally diffrent app(updated), based on your photo.
torque app won't connect to at all gets nothing

Creation of the PID's supported bytes ??

Hi Philip,
I've been trying to reverse the OBDII PID supported bytes you send to Torque, but I'm having trouble making sense of them.
else if (!strcmp(btdata1, "0100")) {
sprintf_P(btdata2, PSTR("41 00 BE 3E B0 11\r\n>"));

I think BE 3E B0 11 are the bytes sent indicating to Torque which of the next 20h PID numbers are used (valid). I can't make sense of the bits though when converted to 32 bits (flags) compared to what's available from the Honda OBD (converted to OBDII numbering).
Is BE the high byte and 11 the Low ?
Did you create some sort of table to describe these bytes from HOBD to OBDII ?

Honda 12v to Arduino VIN and Voltage Divider

Hello !!! I've been trying to put together a diagnostic and datalogging board for my 98 EK, but I stumbled upon a problem. I'm quite new to both programming and electronics so here are my questions !

The diagram shows the 12V + Ground pins from my Honda's 3Pin Connector going straight to the Arduino board. But I tried that with an Arduino Pro Mini, and apparently I fried it. :D

  1. Is it possible that I wasn't supposed to connect it like that..? Do I need to use something BEFORE the board to drop the voltage to smaller numbers...?

  2. I used an Arduino Pro Mini and I connected the 12V of the car on the RAW pin. That is the pin where you're supposed to connect up to 12V as I found on the documentation. But when my car is running, isn't it's voltage like 14V or something? Was that the cause ? Or I should not use a pro mini board at all ?

  3. Can I power the board externally using USB or something, and ONLY use the K-Line pin from the car..?
    Or it NEEDS the car's power and ground wires to work ?

  4. There is a mention of a VOLTAGE DIVIDER inside the readme. With two resistor Values. Where each resistor goes and why do I use a voltage divider in the analog0 input on the Arduino ?

I need some help here folks, I can't figure it out !!
I ordered some new Arduino Pro Mini boards because I don't want to risk the Uno that I'm using as a test bench on my PC. But I need to know if I'm doing something wrong, and how the exact connection should be !

THANKS A LOT IN ADVANCE !!!!
PS. Your project is REALLY interesting ! Especially for a Honda fan like me ! <3

Torque custom init

I am using the hobd_elm to connect to my honda accord 2002 Japan but couldn't get any reading. Torque says ecu connected. I remember that I need to set custom init string to the profile when I tested it 2 years ago which i did get reading. I cant recall the custom init string. Any one have any ideas?

Honda specific pids

Hello! I can see from screenshot that you have Honda specific pids.
Can you share them? In a csv file or something.
And can you tell, what Honda models (or ages) do they fit?

VIN? Unique ID?

Is it posible to obtain an unique id or vin from any car to show in the screen about the vehicle??

Success, P28 stock ECU

Hi from Argentina!
Just tested, on a 93 civic manual, p28 stock ECU, 100% working!!
Big thank you Phillip @kerpz for sharing you very hard work!!

Success and feedback.

Hi Philip.
I took the Ebay Honda OBDII cable and cut off the 16-pin plug end (mine came wired for CAN on pin-14 not K-line on pin-7 anyway). I connected up the ArduinoNano/LCD/Bluetooth on the protoboard to it, and we had nearly instant success on my 1999 Honda S2000 (Australian delivered version). I get data from the HondaOBD converter on my Android phone through the Torque app, I just had to set the adapter speed to slow in the Torque settings first.

Feedback.
I have not yet fully setup Torque with the relay indications like you have, but the basics were working with the default gauge set.
The data mostly looks right, but coolant temp indicates around 100C at a real measured 80C (I used a thermocouple gauge on the radiator hose near the engine and then confirmed again with an IR thermo gun).
Also the coolant temp reads 155C on Torque when the car is off but the Arduino and BT are on. Would be better perhaps to read 0C when there is no valid ECU data perhaps, if this can be done.
The data refresh rate is quite slow on torque, I have not looked at how you set the request timing but it would be nice to update data faster if it's at all possible.
Would you know what the theoretical max baud or request rate of the ECU is ?

I'll have another look at your Torque screen photos and setup my Android device the same and have another look at it tomorrow.
Now that it's running on the protoboard I'm intending to create an Eagle PCB for it. I'll mount the Nano module, the Bluetooth module and regulator on it. LCD too probably but I don't like the white-on-blue one I have right now and will source another. Also going to see what I can do about some indicator leds on the K-line side as some comms feedback to the user (it's nice to know it's running on the ECU side).
Thanks,
Martin

Throttle inverse on obd1

hi kerps!

I can't figure out about my Throttle appers inverse (from 100% to 0) in bluetooth mode linked into Torque app. At the LCD all data are ok!

Can you help?

is a P28 ECU d16z6

thank you

Hey! new here

Is there any documentation how to make everything works? i have arduino uno and lcd screen and i have ectune rom on my ecu, how can i get data from ecu? I want to make for my self digital dashboard but i dont know how to request data from ecu, if anyone would help it would be awesome

Arduino Uno HC-06 Bluetooth Module

Hello,

I am trying to get this working for my Honda S-MX 1997 (OBD1).

Will this work with the HC-06 Bluetooth module, as my phone doesn't seem to want to connect to it currently?

Thanks

No Input messages

Does the program currently give any error messages on the LCD if there is no data being read? I have followed the diagram for the wiring, but I am yet to test it on the car, I am just being shown a blank screen currently, is this normal?

Thanks

Run on Nano with 328P ?

I'm keen to try this code out on my Honda from 1999.
It looks like the code would run on Arduino Nano with 328P which I already have on hand.
Would there be some reason that it would not be suitable ?
Regards,
Martin

Using bit values in Torque app, not working for me ?

Hi Philip,
Hey you may be able to help me understand why I can get the Torque app to show active relays and switches like you do, even though the ECU and Arduino are TX'ing the byte correctly to Torque.
In the 'Test' function of the app's Edit Custom OBD2 PID editor (same as you images but in the edit option) I can see the brake and A/C flag bit changing in the third byte of the returned string shown, but I can't see the Equation output change from 0.0 when using the bit formula you use.

In your photos you show the method to get the bits from byte B, but should that not be byte C going by what the Torque app wiki says ?

Index number of byte in response denoted by Latin alphabet:
A-1 byte, B-2 byte,.., Z-26 byte,AA-27 byte,AB-28 byte,...BA,BB,...

Torque Pro Operations (For reference only)
abs(): Absolute value.
{X:B}: Verify if the bit B is set within the X byte.
[pid]: Refers to the pid number of a sensor.
val{Long Name}: Refers to another equation using its long name.

I actually tried A, B and C bytes in turn and still get no change in the formula output or the virtual indicators...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.