Racepak IQ3s How-To
#1
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Racepak IQ3s How-To
This write-up will have 2 parts. How to create your own custom channels to read more than the basic fields that are supported out of the box, and how to install it in an NA.
Part 1:
The Racepak IQ3s has Megasquirt 3 "support" right out of the box. But not what I wanted.
The default config has 20 predefined channels, and while those may be enough for some I wanted to do more. If you just want to use the 20 pre-defined channels then the setup is very straight forward and there are other writeups to look at.
This write-up will cover what I can't find documented anywhere, how to use the User Defined ECU setting.
This document will be needed: http://www.msextra.com/doc/pdf/Megas..._Broadcast.pdf
If you skip down to Section 2 you will see the giant list of fields that can be transmitted outside the basic dash broadcasting. You get to pick 20 total of these.
Setting up your Megasquirt
First step is turning on the broadcast fields you need. We need to go to CAN-bus/Testmodes-->CAN Realtime Data Broadcasting, and turn on the master enable. Keep the Base message identifier at 1520 unless you have a reason to change it.
Then just enable what you want transmitted. I chose 50Hz because why not. You may also need to open the other CAN Realtime Data Broadcasting menus to get more fields.
Once you Burn that you are done with the megasquirt side.
Setting up the Racepak
This took a decent amount of trial and error, and I will probably update it as I learn more.
To start you need to setup your IQ3s to use the User Defined ECU mode. So Right click on IQ3 Street and go to the Dash Info Tab. Select the ECU Type Field and change it to User Configured
Then Send that configuration and close the Menu.
Next go to Edit->Read VNet Config (new channels), you will get a single channel titled EFI Setup. Right click on that and set the number of channels to 20 (or less if you don't need 20), the CAN Bus Bit Rate to 500k and the CAN Bus Termination Resistor to On
Send that configuration, and then Read V-Net channels again. You should now have 20 ECU channels to define however you want.
Defining ECU channels
This part took the most trial and error, and will be the most confusing to document. I think the best way to explain it is to just walk through an example. We will start with Coolant temp.
Right click on one of the ECU Channels and take a look at the parameters. Change the Name to whatever you want.
The Channel Options are the important part
Logger Sample Rate: Rate at which the IQ3 will capture the channel
CAN ID For message on the network: This is the base identifier (default was 1520) + group number. So 1522 for coolant temp
CAN ID Message Type: Keep this 11-Bit Standard
Byte Order: Megasquirt uses Big-Endian, so change that
Message Index Bye Location: None
Message Index byte value: Dont change
Message Data Byte containing low byte of data: This will be offset in group + 1. So 7 for coolant temp
Bit offset into first byte of data: 0
Data Type: This is based off the sign? column. So for Coolant temp its "Signed"
Number of bits in data received: This is Size * 8. So 16 for coolant temp.
Next look in the upper corner for the Linear conversion.
Leave Raw Data Value A alone (unless you have a reason to change it)
Raw Data value B: Look at the Multiply/Divide columns. For coolant temp Divide is 10. So data Value B of 10 will become 1.
Set the min/max and decimal points to whatever you want to display, and set the unit.
Send the configuration and you have now defined a channel.
Part 1:
The Racepak IQ3s has Megasquirt 3 "support" right out of the box. But not what I wanted.
The default config has 20 predefined channels, and while those may be enough for some I wanted to do more. If you just want to use the 20 pre-defined channels then the setup is very straight forward and there are other writeups to look at.
This write-up will cover what I can't find documented anywhere, how to use the User Defined ECU setting.
This document will be needed: http://www.msextra.com/doc/pdf/Megas..._Broadcast.pdf
If you skip down to Section 2 you will see the giant list of fields that can be transmitted outside the basic dash broadcasting. You get to pick 20 total of these.
Setting up your Megasquirt
First step is turning on the broadcast fields you need. We need to go to CAN-bus/Testmodes-->CAN Realtime Data Broadcasting, and turn on the master enable. Keep the Base message identifier at 1520 unless you have a reason to change it.
Then just enable what you want transmitted. I chose 50Hz because why not. You may also need to open the other CAN Realtime Data Broadcasting menus to get more fields.
Once you Burn that you are done with the megasquirt side.
Setting up the Racepak
This took a decent amount of trial and error, and I will probably update it as I learn more.
To start you need to setup your IQ3s to use the User Defined ECU mode. So Right click on IQ3 Street and go to the Dash Info Tab. Select the ECU Type Field and change it to User Configured
Then Send that configuration and close the Menu.
Next go to Edit->Read VNet Config (new channels), you will get a single channel titled EFI Setup. Right click on that and set the number of channels to 20 (or less if you don't need 20), the CAN Bus Bit Rate to 500k and the CAN Bus Termination Resistor to On
Send that configuration, and then Read V-Net channels again. You should now have 20 ECU channels to define however you want.
Defining ECU channels
This part took the most trial and error, and will be the most confusing to document. I think the best way to explain it is to just walk through an example. We will start with Coolant temp.
Right click on one of the ECU Channels and take a look at the parameters. Change the Name to whatever you want.
The Channel Options are the important part
Logger Sample Rate: Rate at which the IQ3 will capture the channel
CAN ID For message on the network: This is the base identifier (default was 1520) + group number. So 1522 for coolant temp
CAN ID Message Type: Keep this 11-Bit Standard
Byte Order: Megasquirt uses Big-Endian, so change that
Message Index Bye Location: None
Message Index byte value: Dont change
Message Data Byte containing low byte of data: This will be offset in group + 1. So 7 for coolant temp
Bit offset into first byte of data: 0
Data Type: This is based off the sign? column. So for Coolant temp its "Signed"
Number of bits in data received: This is Size * 8. So 16 for coolant temp.
Next look in the upper corner for the Linear conversion.
Leave Raw Data Value A alone (unless you have a reason to change it)
Raw Data value B: Look at the Multiply/Divide columns. For coolant temp Divide is 10. So data Value B of 10 will become 1.
Set the min/max and decimal points to whatever you want to display, and set the unit.
Send the configuration and you have now defined a channel.
#2
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Here are some screenshots of all the channels I have defined so far.
ECU Battery Voltage:
ECU Engine RPM
ECU Speed
ECU Coolant Temp
ECU Oil Temp (Generic Sensor 2)
ECU Oil Pressure (Generic Sensor 3)
ECU MAP PSI
This one is a little special. If you look at the Linear conversion you can see the converson from kpa to PSI
ECU Manifold Temp
ECU EGT (EGT 01)
ECU AFR (AFR 1)
ECU Battery Voltage:
ECU Engine RPM
ECU Speed
ECU Coolant Temp
ECU Oil Temp (Generic Sensor 2)
ECU Oil Pressure (Generic Sensor 3)
ECU MAP PSI
This one is a little special. If you look at the Linear conversion you can see the converson from kpa to PSI
ECU Manifold Temp
ECU EGT (EGT 01)
ECU AFR (AFR 1)
#4
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Actually didn't take long once I figured out the custom channels. Around 10pm I had to make the decision to stay up all night and get it wired in, or just do it today. Sadly I chose to do it today, so that write-up will come later.
#9
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Another small update I forgot to post here.
There is a bug with any IQ3 Street firmware greater than 2.13. You get "noisy" values, and random flashes of garbage values. Racepak sent me older firmware, and everything up to 2.13 worked fine. After that you get issues.
Still need to do the writeup for wiring for an NA. Coming soon.
There is a bug with any IQ3 Street firmware greater than 2.13. You get "noisy" values, and random flashes of garbage values. Racepak sent me older firmware, and everything up to 2.13 worked fine. After that you get issues.
Still need to do the writeup for wiring for an NA. Coming soon.
#10
I don't want to FU the thread but I've got a question related to odometer. Some states [mine] have dim views on odometer "tampering" (my quotes because it's not really tampering). If you were to sell the car say, that otherwise would have a clear blemish free title, do you just now acknowledge on the title the mileage is incorrect/unknown?
#11
mkturbo.com
iTrader: (24)
Join Date: May 2006
Location: Charleston SC
Posts: 15,176
Total Cats: 1,680
I don't want to FU the thread but I've got a question related to odometer. Some states [mine] have dim views on odometer "tampering" (my quotes because it's not really tampering). If you were to sell the car say, that otherwise would have a clear blemish free title, do you just now acknowledge on the title the mileage is incorrect/unknown?
#12
At least in SC there is a checkbox on the title you check if the mileage might be wrong. I bought a miata where the speedo cable became slightly unplugged and the guy did not know how easy it was to fix. So he just left it like that and drove for a while, then the HG blew and the car sat and I bought it. Now I am getting it ready to sell.
#13
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Set up the IQ3 odometer. Then when you want to sell spin the speedo with a drill until the mileage matches up.
Disclaimer: do not do this. It's illegal
Disclaimer: do not do this. It's illegal
Last edited by aidandj; 02-02-2017 at 03:00 PM.