Giter Site home page Giter Site logo

Question about values about dpf HOT 10 CLOSED

Dropsik avatar Dropsik commented on July 19, 2024
Question about values

from dpf.

Comments (10)

yangosoft avatar yangosoft commented on July 19, 2024

Hi!

Check the data that you are getting.

Print the bytes one to one and try to do the calculations by hand.

It could be also that your OBD2 dongle is not sending the data.

I'm not totally sure if B8 PIDs are different from B7 but at least the standard one must be the same.

BR,
yango

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

After few tests:

  • oilTemp is not supported in my car
  • getSMC() function retrieve correct value (checked with VCDS), but after call this funtion it's completly stop refreshing data.

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

Ok, I made a little debuging
getRpm();
getSpeed();
getBattery();
getTurboPressure();
getEngineLoad();
getEGT();
getCoolant();
works perfect and give reliable data until I call getSMC();
SEND_BLE("ATSH7E0\r"); cause that I got reliable data for DPF, but completly random for these above.

from dpf.

yangosoft avatar yangosoft commented on July 19, 2024

Make sure you only send ATSH7E0 once. This sets the ELM327 to use 7bits CAN messages, if I'm not wrong.

And remember to reset all stored values in ELM327.

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

I'm using initODB() from your code - so ATD is sent.
And funny thing - you send ATSH7E0 twice ;)
https://github.com/yangosoft/dpf/blob/master/src/dpf.cpp#L275
https://github.com/yangosoft/dpf/blob/master/src/dpf.cpp#L487

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

My source code:
https://github.com/Dropsik/dpf/blob/master/arduino/obd2/obd2.ino

from dpf.

yangosoft avatar yangosoft commented on July 19, 2024

@Dropsik did you manage to get fully working?

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

Unfortunately no.
I assume, that my elm327 adapter is ok (works with android app and show values). But I have no idea how to resolve problem

from dpf.

Dropsik avatar Dropsik commented on July 19, 2024

@yangosoft If you have any ideas or maybe the can try my code I'll be appreciated help.

from dpf.

yangosoft avatar yangosoft commented on July 19, 2024

Sadly I sold my nice car a few months ago and I don't have access to a CAGA engine.

Try to debug the Bluetooh traffic between an app and the device: https://stackoverflow.com/questions/23877761/sniffing-logging-your-own-android-bluetooth-traffic this should give you a hint about the correct sequence of commands.

from dpf.

Related Issues (1)

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.