Comments (12)
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
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
from elmduino.
actually it's a question category. sorry for not knowing how to modify the categories...
from elmduino.
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.
sure. Car was running .. would it be the porblem of the ELM327 itself? should i buy one more?
from elmduino.
Is there any wrong with my code ?
from elmduino.
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.
The value returned by the engine load pid needs to be divided by 2.55 to be correct. See here
from elmduino.
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.
intakeairtemp()
needs a -40 bias, but other than that, everything else is correct
from elmduino.
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.
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.
You're right - I made a typo. It'll be fixed in the next version
from elmduino.
Related Issues (20)
- PID 70: Boost pressure control (Service 01) HOT 1
- Problem with flashing RPM value on OLED when using latest version of ELMduino HOT 8
- ESP32 not connecting to ELM327 HOT 5
- Protocol Data Point HOT 4
- Couldn't connect to OBD scanner (stucked) HOT 18
- First time Bluetooth pairing between ESP32 and ELM327 HOT 1
- custom pid for DPF HOT 17
- BT Pairing problem between ESP-32 and ELM327 HOT 6
- How to change OBD protocol HOT 5
- Response not detected HOT 28
- Error in getting Multiple PID's HOT 9
- ESP32 s3 BLE compatibility? HOT 3
- Attempting to read non-standard PID HOT 1
- When does `queryPid` return `true`? HOT 4
- ESP32_CheckPIDs_1_20.ino HOT 1
- How to read data if I know TXD RXF RXD and MTH HOT 2
- ERROR: ELM_BUFFER_OVERFLOW on Honda Vezel 2023 HOT 4
- Problems in phase 1, can't connect with ELM327 HOT 3
- couldn't connect to OBD scanner HOT 5
- ERROR: ELM_TIMEOUT . Value received for a while and then error happens. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elmduino.