×

Sale ends todayGet 30% off any course (excluding packages)

Ends in --- --- ---

C125 - Volvo EHPS Pump Control

CANBus Communications Decoded

Forum Posts

Courses

Blog

Tech Articles

Discussion and questions related to the course CAN Bus Communications Decoded

= Resolved threads

Author
306 Views

Hello all,

Partially copied from the MoTeC forum:

I've just started looking into this, but thought I'd ask here as well.

I've attached one of the many versions of code I've found to do it: https://github.com/jssteinke/Volvo-EHPS-Pump-Control/tree/main

Has anyone tried to do this with the C125?

Thank you!!

doesn't seem unreasonable to achieve with a c12x dash.

I know of someone who has done it with a PMU, so with an SSR and Motec dash it seems doable.

I have done this with a Link ecu for some users before. I dont have time to set up a dash config for you, but thought I can give a couple of clues to make it easier:

The quoted transmit frequencies arent critical, I used 2Hz for the keep awake message and 50Hz for the assist level message and it worked fine.

The keep awake byte 0 is quoted as a "counter" with values 0x00, 0x40, 0x80, 0xC0, if you break this down to binary this is actually just 0,1,2,3 cycling in the 2 most significant bits. To generate the 0/1/2/3 in the link I just used a timer that reset every 2 seconds (since we are sending the message every 0.5 sec) and multiplied the time by 2. So at 0sec it sends out a 0, at 0.5s it sends out a 1, at 1.0s it sends out a 2, etc. The rest of the message I just used static values to match the example message.

For the Assist level message I had the first 6 bytes static to match the example message, then byte 6&7 are your requested assist level. 0 is max assist and 6000 is min assist. In the Link I used a 0-100% signal (from a 3D table of speed Vs potentiometer), then in the CAN message just multiplied that by -60 and added (offset) 6000, this converts the 0-100% into 6000-0

We usually reply within 12hrs (often sooner)

Need Help?

Need help choosing a course?

Experiencing website difficulties?

Or need to contact us for any other reason?