Giter Site home page Giter Site logo

Comments (12)

nices0325 avatar nices0325 commented on July 22, 2024 1

kia forte 2019..
I tried to buy another elm327 and it works.. I think ELM327 have various issues connecting with arduino ...

anyway, I have checked the values from my
KakaoTalk_20210112_112611543
rpm, vehicle speed and the other values seem to be quite correct but engine load and throttleposition seem to be wrong.. As I fully accelerate to 6000 or 7000 rpm, engine load goes up to as far 18% and throttleposition up to 20%. It doesn't seem to be normal. What would be the problem..
p.s I attached engine load grapgh
ν™”λ©΄ 캑처 2021-01-12 113027

from elmduino.

nices0325 avatar nices0325 commented on July 22, 2024

actually it's a question category. sorry for not knowing how to modify the categories...

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

The no data error means the ELM327 is not getting any data from your car for some reason. Are you testing with your car on and running? Also, please format your code properly

from elmduino.

nices0325 avatar nices0325 commented on July 22, 2024

sure. Car was running .. would it be the porblem of the ELM327 itself? should i buy one more?

from elmduino.

nices0325 avatar nices0325 commented on July 22, 2024

Is there any wrong with my code ?

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

it seems more like either a config issue, or your car just doesn't want to send the ELM data. What's your car's make/model/year?

Also, I won't look at your code until you fix its formatting.

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

The value returned by the engine load pid needs to be divided by 2.55 to be correct. See here

from elmduino.

nices0325 avatar nices0325 commented on July 22, 2024

sure, I already checked that .. I think throttelposition and engineload doesn't work properly well...plz check below

float ELM327::rpm()
{
	if (queryPID(SERVICE_01, ENGINE_RPM))
		return (findResponse() / 4.0);

	return ELM_GENERAL_ERROR;
}

float ELM327::engineload()
{
	if (queryPID(SERVICE_01, ENGINE_LOAD))
		return (findResponse() / 2.55);

	return ELM_GENERAL_ERROR;
}

float ELM327::enginetemp()
{
	if (queryPID(SERVICE_01, ENGINE_COOLANT_TEMP))
		return (findResponse() - 40.0);

	return ELM_GENERAL_ERROR;
}

float ELM327::throttleposition()
{
	if (queryPID(SERVICE_01, THROTTLE_POSITION))
		return (findResponse() / 2.55);
	
	return ELM_GENERAL_ERROR;
}

float ELM327::intakeairtemp()
{
	if (queryPID(SERVICE_01, INTAKE_AIR_TEMP))
		return (uint32_t)findResponse();

	return ELM_GENERAL_ERROR;
}

float ELM327::fueltype()

{
	if (queryPID(SERVICE_01, FUEL_TYPE))
		return (int32_t)findResponse();

	return ELM_GENERAL_ERROR;
}

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

intakeairtemp() needs a -40 bias, but other than that, everything else is correct

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

Shot in the dark, but I added a ton of new functions for PID processing (basically everything except oxygen sensor stuff). Give release 2.4.0 a shot and see if it helps

from elmduino.

nices0325 avatar nices0325 commented on July 22, 2024

omg... It's a real dope shit for me... thanks a lot bro
However, the throttleposition response is written 100/255 *A at here https://en.wikipedia.org/wiki/OBD-II_PIDs
but, you divide findResponse by 100 in the cpp file.. What is correct one?

from elmduino.

PowerBroker2 avatar PowerBroker2 commented on July 22, 2024

You're right - I made a typo. It'll be fixed in the next version

from elmduino.

Related Issues (20)

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.