So I finally got around to setting up this sensor and it caused a few issues I thought would be worth sharing, and two questions about setting up the sensor.
Firstly a massive shout out to Izze Racing, for being very helpful and patient whilst I stumbled my way through this.
I tried the recommendations from the post above.
Set the ECU Receive CAN ID Base to 0x4EC and ECU Receive Message Type to Sequential
Set the following Sensor Resources in Vehicle XX.
Pitch CAN 0 Offset 0
Roll CAN 0 Offset 2
Yaw CAN 0 Offset 4
Acceleration Lateral CAN 1 Offset 0
Acceleration Longitudinal CAN 1 Offset 2
Acceleration Vertical CAN 1 Offset 4
All Sensor calibrations should be CAN 2DP.1.0.
Voltage Reference is Absolute.
Unfortunately, the above settings didn’t work. My mate and I bought a sensor each and both have the GPA package on an M150, fortunately I also have a C125 dash that I could get the sensor working on – All connected via the same CAN Bus.
Initially I had the CAN ID wrong for the dash settings, but once I corrected that the sensor was working on the dash. On the ecu I was getting the following error –
Invalid CAN BusSo after some searching around, I found that the CAN receive help listed
This value must be a multiple of 16.Using excel to try and figure out what was going on with the hexadecimal. Excel has a number of useful functions for converting to and from hex, dec, and binary. I used the HEX2DEC function to create the below table, showing HEX, Decimal and Decimal/16 – unfortunately the default channel for the IMU 4EC, and the default for my sensor (because two sensors were purchased at the same time) 4EE are not divisible by 16.
In the end, I have the IMU working on the ECU, via the dash. So the sensor data is received via the dash on 4EE and 4EF, then sent back to the ECU via 7F0. I need the sensor back to the ECU for logging. The new v2 IMU from Izze Racing allows the user to set the CAN ID.
I still have two questions though...
1.
If I am understanding CAN correctly, and the way the M1 receives it, if I was to set the base ID to 4E0 – which is divisible by 16. The M150 would still not be able to receive a message on 4EC, because the software allows you to go to a maximum of 4E7 for data – by setting CAN 7 offset x?
2.
The Pitch, Roll and Yaw channels do not have a calibration selection, so you can’t select CAN 2DP.1.0 as suggested. You have to set up a table. I think I read somewhere that it should be 1 mV = 1 bit, so I think the calibration would be something like...
- Code: Select all
V -2.5 0 +2.5
*/s -245 0 +245