I've recently purchased a SEEED Studio V2 CANBUS shield for an Arduino uno and have hooked it up to my Platinum Sprint 500 via the CAN port. I can get some data but this is my first time with CAN stuff so I'm stumbling through the process.
What I'm hoping to get is air fuel ratio and boost pressure to then use the Arduino to display that information on a gauge. I'm aware Haltech sells a similar gauge, so I hope this is an ok topic to discuss.
Here's what I'm currently getting using SEEED's example library sketch @ 1M rate:
Code: Select all
....
0004.037 RX: [00000010](00) 00 00 00 00 FF F6 F5 55
0004.042 RX: [00000011](00) 00 E1 FF F6 04 85 00 1E
0004.047 RX: [00000012](00) FF FC 01 22 FE EF 03 F0
0004.054 RX: [00000013](00) 00 64 00 00 00 00 1E FC
0004.059 RX: [00000014](00) FB FA 2D
0004.089 RX: [00000010](00) 00 00 00 00 FF F6 F5 55
0004.096 RX: [00000011](00) 00 E1 FF F6 04 86 00 1E
0004.101 RX: [00000012](00) FF FC 01 22 FE EF 03 ED
0004.106 RX: [00000013](00) 00 64 00 00 00 00 1E FC
0004.111 RX: [00000014](00) FB FA 2B
0004.143 RX: [00000010](00) 00 00 00 00 FF F6 F5 55
0004.148 RX: [00000011](00) 00 E1 FF F6 04 85 00 1E
0004.153 RX: [00000012](00) FF FC 01 22 FE EF 03 F0
0004.158 RX: [00000013](00) 00 64 00 00 00 00 1E FC
0004.163 RX: [00000014](00) FB FA 2D
0004.195 RX: [00000010](00) 00 00 00 00 FF F6 F5 55
0004.200 RX: [00000011](00) 00 E1 FF F6 04 85 00 1E
0004.205 RX: [00000012](00) FF FC 01 22 FE EF 03 F1
0004.210 RX: [00000013](00) 00 64 00 00 00 00 1E FC
0004.215 RX: [00000014](00) FB FA 2E
...
Now it appears that ID's 10-14 are showing but 14 is getting cut off. I've been digging around and I believe this is because the arduino is overtaxed to read all the channels so it just reads some and starts over again?
I'd like to filter out all the channels except for boost and afr and get values at a semi decent rate....we'll see how that all works with an OLED too...
Another critical part is I have no idea what channel is what and what the values will mean. If someone could give me some pointers it would be greatly appreciated. For example, if channel 11 is boost, how do I scale/offset the data to give me a meaningful unit?
Sorry if I'm missing this being discussed elsewhere, I've been looking around for a while now trying to figure this out.
Best Regards,
-D