Go Back  Miata Turbo Forum - Boost cars, acquire cats. > Performance & Tuning > ECUs and Tuning > EcuFlash
Reload this Page >

NC owners - Android Torque Pro PID file for monitoring / logging

EcuFlash Discussion about EcuFlash.
Sponsored by:
Sponsored by:

NC owners - Android Torque Pro PID file for monitoring / logging

 
Old 03-26-2018, 09:46 PM
  #1  
Junior Member
Thread Starter
 
Join Date: Sep 2015
Location: Memphis, TN
Posts: 194
Total Cats: 30
Default NC owners - Android Torque Pro PID file for monitoring / logging

I hope to drive a bunch more NC tuning conversation topics now that the admin staff has seen fit to retitle this subforum to "EcuFlash." As part of this, I'm going to post up my enormous PID definition file specific to the Miata NC platform, to be used with the pay-for Torque Pro available for the Android platform in the Google Play Store. I do not get any money or other incentive for you purchasing this app, I'm just here to provide the PID definition file which lets you get use out of it. If you get the "lite" version, you cannot use the custom PID file I'm attaching. Don't be a cheapass

Along the same lines as not being a cheapass: you'll need a bluetooth OBD2 dongle. There are plenty of devices that work (ie it collects data, the app doesn't crash, it doesn't disconnect from your phone constantly) but this isn't the same thing as working well. I was given a free OBDLink MX from my employer, which is pretty much the top of the line. You can spend less and buy the LX model, which doesn't support some older protocols but has no problems with the modern NC CANBUS stuff. You can technically get away with the cheapo ELM327 devices, there are good ones. The trick is, you need one which supports high speed communication, and despite what you might read on Amazon, most aren't capable as going as fast as the OBDLink series.

Install the Torque Pro app on your phone or tablet. and pair your chosen OBD2 scanner doohickey. You'll also need a way to view the Android file system on your device to make all of this work, and you'll need to tool around a bit to figure out how to enable showing hidden folders and files.

Download my attached CSV file onto your Android device, and open your file system viewer. Find your download folder and either Move or Cut the Miata MX5 NC.csv file you've downloaded. Then, navigate to your Storage / Emulated / {this is either 0 or SDCard or something similar } / .torque / ExtendedPIDS folder. Once you're there, Paste the CSV file. Start the Torque app, touch the Gear icon in the lower left, and then select Settings. Scroll until you find Manage Custom PIDs, and then click the Three Dots (upper right) icon and select Predefined Set... You'll find the Miata MX5 NC listed in the options, select it and enjoy!

Here's the list-o-crap I've got wedged into this thing. Feel free to ask questions, make comments or suggestions, etc...
Spoiler
Fuel Trim Aggregate
Intake Air Temp vs Ambient
Intake Manifold Relative Pressure
MX5_A/C Refrigerant Pressure Switch
MX5_A/C Relay
MX5_Accel Pedal Position (full range)
MX5_APP Sensor 1 Voltage
MX5_APP Sensor 2 Voltage
MX5_Automatic Transmission Temp
MX5_Barometer Sensor Voltage
MX5_Brake Pressure Applied Switch
MX5_Brake Switch
MX5_Clutch Pedal Position Switch
MX5_Cooling Fan 1 Relay Control
MX5_Cooling Fan 2 Relay Control
MX5_Cooling Fan 3 Relay Control
MX5_Cruise Control (Voltage)
MX5_EGR Purge Steps
MX5_Engine Coolant Temp Voltage
MX5_EVAP LDP Idle Current
MX5_EVAP LDP Incorrect Purge Flow Value
MX5_EVAP LDP Monitoring Current
MX5_EVAP LDP Reference Current
MX5_EVAP LDP Small Leak Detect Value
MX5_EVAP LDP Very Small Leak Detect Value
MX5_EVAP LDP Very Small Leak Fail Value
MX5_EVAP LDP Very Small Leak Safe Value
MX5_Fuel Injector Duty Cycle
MX5_Fuel Injector Pulse Width
MX5_Fuel Pump Relay Switch
MX5_Gear Indicator
MX5_Generator Field Coil Duty
MX5_Generator Output Voltage
MX5_Generator Voltage Desired
MX5_Generator Warning Light
MX5_High Detonation Switch
MX5_Idle Speed
MX5_Idle Validation Switch
MX5_In Gear Switch
MX5_Intake Air Temp Voltage
MX5_Intake Manifold Runner Control
MX5_Knock Retard
MX5_Knock Retard - Boost Referenced
MX5_Lambda Modification Switch
MX5_Malfunction Indicator Lamp
MX5_Manifold Absolute Pressure Voltage
MX5_Mass Air Flow Voltage
MX5_O2 Sensor Fuel Trim (rear)
MX5_O2 Sensor Heater Control (front)
MX5_O2 Sensor Heater Control (rear)
MX5_O2 Sensor Voltage (rear)
MX5_Park Neutral Position Switch
MX5_Power Steering Switch
MX5_Steering Wheel Angle
MX5_Throttle Position 1 Voltage
MX5_Throttle Position 2 Voltage
MX5_Throttle Position Actual
MX5_Throttle Position Closed Voltage
MX5_Throttle Position Desired
MX5_Tire 1 Pressure
MX5_Tire 1 Temperature
MX5_Tire 2 Pressure
MX5_Tire 2 Temperature
MX5_Tire 3 Pressure
MX5_Tire 3 Temperature
MX5_Tire 4 Pressure
MX5_Tire 4 Temperature
MX5_Tire Revolutions Per Mile
MX5_Valve Timing Actual
MX5_Valve Timing Error
MX5_Valve Timing OCV Control Duty
MX5_Variable Intake Air Control
zGear_1st
zGear_1Thresh
zGear_2nd
zGear_2Thresh
zGear_3rd
zGear_3Thresh
zGear_4th
zGear_4Thresh
zGear_5th
zGear_5Thresh
zGear_6th
zGear_6Thresh
zGear_Final
zGear_Math
zref_AmbTdt10
zref_ECTdt5
zref_IATdt1
zref_IsBoost
zref_VSSMPH
Attached Files
File Type: csv
Miata MX5 NC.csv (10.4 KB, 111 views)
albuquerquefx is offline  
Old 03-26-2018, 09:51 PM
  #2  
Junior Member
Thread Starter
 
Join Date: Sep 2015
Location: Memphis, TN
Posts: 194
Total Cats: 30
Default

There are a few custom things I built into my definition file; I'll talk about those here.

This file includes the MX5_Gear Indicator virtual PID and several related reference PIDs. If you're on the factory six speed manual transmission and have made no changes to your final drive, then you can use the out-of-the-box settings without issue. For all other transmissions (5spd manual, 6spd auto) or for anyone who has swapped final drive ratios (3.9, 3.6, etc) you'll need to edit the following Torque Pro PIDs in the Settings -> Manage Custom PIDs:

For 5spd manual transmission owners:
zGear_1st should be set to 3.163
zGear_2nd should be set to 1.888
zGear_3rd should be set to 1.333
zGear_4th should be set to 1.000
zGear_5th should be set to 0.814
zGear_6th should be set to 0

For 6spd automatic transmission owners:
zGear_1st should be set to 3.538
zGear_2nd should be set to 2.060
zGear_3rd should be set to 1.404
zGear_4th should be set to 1.000
zGear_5th should be set to 0.713
zGear_6th should be set to 0.582

For those of you with custom final drive ratios, please edit zGear_Final to ensure it reflects your proper gearing.

For entertainment value, you can use the Torque app "On/Off" dashboard indicator type to show whether you're in a particular gear (or a higher gear) by using the various "thresh" reference PIDs, such as: zGear_4Thresh. As a fun toy, I created six tiny On/Off indicators -- one for each gear -- and made a little light tower display out of them in my phone.

I've also added four new zref_ parameters... Let's preface this update by reminding folks of how OBD2 polling works: Torque Pro sends a request to your OBD2 connector, the ECU processes the request and sends back a result. Once that result is received by the Torque app, the next request is sent. In this way, the less things you ask for result in faster overall refreshing of the list of items. (Smaller list = faster through the list.) This little anecdote hopefully helps explain most of the changes I've made...
  • zref_AmbTdt10 This is the "ambient temp" reading but only refreshed once every 10 seconds. Because really, how fast does ambient temp change?
  • zref_ECTdt5 This is the Engine Coolant Temp PID, but only refreshed every five seconds. Because really, how fast does engine coolant temperature rise?
  • zref_IATdt1 This is Intake Air Temperature reading but only refreshed once per second. You know the drill by now...
  • zref_IsBoost This is boost! No, it isn't a delayed reading, this is actually a True / False indicator of a MAP reading between 96kpa and 225kpa (so, right before boost to ~22psi.)
I also added MX5_Knock Retard - Boost Referenced This is a version of the knock meter which only displays knock results if you're in boost. No need to have that 1.8* peak/hold boost retard value haunting you while boosting around During my commute, the Miata ECU will hunt around once in a while and ping itself like it does, completely outside of boost. I really have no interest in those pings...
albuquerquefx is offline  
Old 03-27-2018, 11:18 AM
  #3  
Junior Member
Thread Starter
 
Join Date: Sep 2015
Location: Memphis, TN
Posts: 194
Total Cats: 30
Default

I had a question from someone in PM, and thought others would get some benefit from the answer...
Does the torque pro app provide everything needed to fully datalog in order to fine tune?
The answer is yes, with a caveat or two:

First: Because we're dealing with the factory ECU and OBD2 protocols, there is an upper limit on how quickly the ECU can accept and then respond to queries. As such, two things to focus on: use the smallest possible list of data elements to log, and where possible consider using data from the phone vs data from the car (eg: use the phone GPS speed or phone barometer instead of the equivalent OBD2 speed or baro queries from the ECU.)

Second: As a follow-on to the above, know what is and isn't important for tuning the factory ECU. Easily 80% of the tune can be built with Commanded Lambda, Actual Lambda, Load Absolute, RPM, ECT, IAT, Ignition Timing and Knock Response (retard.) You'll notice MAF didn't show up in my list: unless you're trying to calibrate the MAF voltage vs mass itself (ie you've upscaled the MAF tube) you'll never end up using the MAF readings. You'll also notice MAP didn't show up either, because the factory ECU tables don't reference MAP as load, only for IPW correction vs manifold pressure and that's about it.

Once you're comfy with the tune, you can potentially stop using Torque and start using the Tactrix OpenPort module itself. Slide a MicroSD card into the OpenPort, configure the necessary logging file in the root of the file system, and the OpenPort will generate logs every time the car is turned on. Great for keeping your dash free of clutter, if you're not into watching...
albuquerquefx is offline  
Old 03-27-2018, 11:22 AM
  #4  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,141
Total Cats: 3,144
Default

Major props on breaking it down so thoroughly.
18psi is offline  
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
curly
Miata parts for sale/trade
8
08-22-2014 09:36 PM
Opti
Insert BS here
10
03-04-2014 12:01 AM
minime
ECUs and Tuning
34
01-22-2010 01:34 AM
thymer
Methanol/Water Injection
4
06-04-2009 12:35 PM


Thread Tools
Search this Thread
Quick Reply: NC owners - Android Torque Pro PID file for monitoring / logging


Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

© 2019 MH Sub I, LLC dba Internet Brands

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.