RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Send all RCPmk3 data to Aim Solo 2 DL over CANBUS?
Author Message
Reply with quote
Post Send all RCPmk3 data to Aim Solo 2 DL over CANBUS? 
I have a RCPmk3 setup with several sensors and working well. I would like to send all of the data to an Aim Solo DL so that the Solo with log it and i can use AIM RaceStudio software for analysis and for comparison with other people running Aim hardware.

Aim seems to support various CANBUS protocols with the Solo DL. Has anyone made the RCP emulate one of them?

View user's profile Send private message
Reply with quote
Post  
This isn't optimized or fully verified, but it seems to be working with a 50Hz update rate. I'm using the Haltech V2 canbus protocol. In the Solo DL 2 i simply select the Haltech as the ECU canbus protocol and voila.

Code:
function sendHaltech()
   local rpm = getTimerRpm(0)
   local tps = getAnalog(3)*10 --convert % to 0.10% units
   local op = getAnalog(2)*6.894757*10 --convert psi to 0.1 kPa units
   local ot = (((getAnalog(1) - 32)*5)/9 + 273.15)*10 --convert F to 0.1Kelvin units
   local wt = (((getAnalog(0) - 32)*5)/9 + 273.15)*10 --convert F to 0.1Kelvin units
   local sped = speed*1.609344*10 --convert mph to 0.1km/h units
   
   local id = 864 --RPM, manifold pressure, TPS, coolant pressure
   local data = {spu(rpm), spl(rpm), 0, 0, spu(tps), spl(tps), 0, 0}
   local res = sendCAN(0, id, data)

   id = 865 --fuel pressure, oil pressure, accel pedal pos, wastegate pressure
   data = {0, 0, spu(op), spl(op), 0, 0, 0, 0}
   res = sendCAN(0, id, data)
   
   id = 880 --wheel speed gen., gear,
   data = {spu(sped), spl(sped), spu(gear), spl(gear), 0, 0, 0, 0}
   res = sendCAN(0, id, data)
   
   id = 992 --coolant temp, air temp, fuel temp, oil temp
   data = {spu(wt), spl(wt), 0, 0, 0, 0, spu(ot), spl(ot)}
   res = sendCAN(0, id, data)

end


View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum