Innovate serial AFR logging

All sensor specific discussions! Temperature, pressure, steering angle, brake and throttle, etc. Post adaptations of OEM-style sensors, and also your clever DIY hacks and custom designs here too!

Moderators: JeffC, rdoherty, stieg

Post Reply
psallandre
Posts: 2
Joined: Wed Jun 29, 2016 9:55 am

Innovate serial AFR logging

Post by psallandre »

Hi,

I have an Innovate MTX-L AFR sensor/gauge. I plugged the analog output to analog input of RCP and it's working fine although I have lot of noise, I'll make another thread about noise issues...
I want to log also the serial output of Innovate to double check and help calibrating the analog output.

I haven't found much information about how to wire the serial out of Innovate to RJ11 input of RCP. I have this cable:
https://www.innovatemotorsports.com/xca ... t=0&page=5
Could you help me about the wiring ?

Also I haven't found any Lua scripting to decode serial datas from Innovate or another, would you have some sample code?
Thanks
Patrice

brentp
Site Admin
Posts: 6274
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi Patrice,

The Aux serial port on MK2 can be used to connect to extra serial port devices. Lua scripting can be used to talk to this serial port, and you can write the Lua scripting to read and write data from the Innovate gauge.

https://wiki.autosportlabs.com/RaceCapt ... unications
https://wiki.autosportlabs.com/RaceCapt ... g_Examples


Basically it would look like this:

at the top of the lua script, set up a virtual channel for the AFR reading. See the Lua scripting examples for this.

Then, in the onTick() function:

* Read serial data coming from the innovate gauge
* Extract the AFR value from the data
* Set the virtual channel based on the extracted value

I would suggest starting a new thread under the Lua Scripting part of the forum for this discussion. You may be the first to implement this interface to the Innovate gauge!

Hope this helps.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply