MPH through CAN from tesla SDU to speedhut dials
MPH through CAN from tesla SDU to speedhut dials
Hi all,
I'm wanting to send CAN messages, using the web interface, to some speedhut gauges to show MPH. I've been told I can use the 'speed' section of can messages but I don't know where to start.
Why tyres are 185 65R15s (it's a vw camper).
Please give answers for the 4 boxers on the web interface.
Thanks
I'm wanting to send CAN messages, using the web interface, to some speedhut gauges to show MPH. I've been told I can use the 'speed' section of can messages but I don't know where to start.
Why tyres are 185 65R15s (it's a vw camper).
Please give answers for the 4 boxers on the web interface.
Thanks
- Bigpie
- Posts: 1711
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 77 times
- Been thanked: 372 times
Re: MPH through CAN from tesla SDU to speedhut dials
Do you know the Can ID the gauges expect to see the speed message on and the format of the message?
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
-
- Posts: 1782
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 153 times
- Been thanked: 349 times
Re: MPH through CAN from tesla SDU to speedhut dials
https://openinverter.org/wiki/CAN_communication
Towards the bottom section "Mapping Values through the web interface"
This again is open inverter so there is no variable road speed gain at the moment. So you need to bake this into how you setup the RPM / Speed (motor) to convert it to a vehicle speed value.
Did Zero-EV/Fellten stop selling Tesla Drive units?
Towards the bottom section "Mapping Values through the web interface"
This again is open inverter so there is no variable road speed gain at the moment. So you need to bake this into how you setup the RPM / Speed (motor) to convert it to a vehicle speed value.
Did Zero-EV/Fellten stop selling Tesla Drive units?
- johu
- Site Admin
- Posts: 6259
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 236 times
- Been thanked: 1286 times
- Contact:
Re: MPH through CAN from tesla SDU to speedhut dials
Yes, say the display expects road speed in mph as an integer and the speed to mph ratio were 100 (1000 rpm equals 10 mph) then you'd enter 0.01 as the gain factor. Since 5.27.R the gain can be more or less float so that is now possible.
don't be surprised that after setting it up the gain will show as 0. That's because the print routine is still limited to 5 binary digits (and thus roughly 1.5 decimal digits)
don't be surprised that after setting it up the gain will show as 0. That's because the print routine is still limited to 5 binary digits (and thus roughly 1.5 decimal digits)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: MPH through CAN from tesla SDU to speedhut dials
Not sure,
I used to have
CAN ID 599
Position 0
Bits 16
Gain 10
This was under a parameter titled 'roadspeed'
- johu
- Site Admin
- Posts: 6259
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 236 times
- Been thanked: 1286 times
- Contact:
Re: MPH through CAN from tesla SDU to speedhut dials
And what was "roadspeedgain" ?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: MPH through CAN from tesla SDU to speedhut dials
Sorry, I didn't have a setting for roadspeedgain
-
- Posts: 1782
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 153 times
- Been thanked: 349 times
Re: MPH through CAN from tesla SDU to speedhut dials
Upload your .JSON for the Zero-EV firmware it is in there for sure.
Line 10 "roadspeedgain"
Line 10 "roadspeedgain"
-
- Posts: 80
- Joined: Sun Oct 30, 2022 2:21 am
- Has thanked: 4 times
- Been thanked: 8 times
Re: MPH through CAN from tesla SDU to speedhut dials
Hi guys. I read this post because I have updated my firmware and roadspeed is no longer available and it was really helpful to understand the conversion, but I still have some questions:
I have the same speedhut speedo with the following CAN:
CAN ID 599
Position 0
Bits 16
Gain 10
My roadspeedgain setting was 8.06
Based on this, for speed do I continue to use the:
CAN ID 294
Position 16
Bits 16
Gain 1
and adjust the gain from 1 to 8.06 OR
CAN ID 599
Position 0
Bits 16
Gain 10
and adjust the gain from 10 to ????
I assume my speedo needs the 599 in the SPEED column with the updated gain, but wanted to make sure.
Thanks
I have the same speedhut speedo with the following CAN:
CAN ID 599
Position 0
Bits 16
Gain 10
My roadspeedgain setting was 8.06
Based on this, for speed do I continue to use the:
CAN ID 294
Position 16
Bits 16
Gain 1
and adjust the gain from 1 to 8.06 OR
CAN ID 599
Position 0
Bits 16
Gain 10
and adjust the gain from 10 to ????
I assume my speedo needs the 599 in the SPEED column with the updated gain, but wanted to make sure.
Thanks
- johu
- Site Admin
- Posts: 6259
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 236 times
- Been thanked: 1286 times
- Contact:
Re: MPH through CAN from tesla SDU to speedhut dials
We now sorted this in a live session. Jordan please correct if I give the wrong numbers.
Code: Select all
can tx speed 599 0 16 0.0818
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 80
- Joined: Sun Oct 30, 2022 2:21 am
- Has thanked: 4 times
- Been thanked: 8 times
Re: MPH through CAN from tesla SDU to speedhut dials
The above information from Johan is correct. My roadspeedgain reading had been 8.18 and this was the correct conversion. I hooked up my GPS speedo and took the 911 out for a spin and compared the readings on the GPS speedo to the CAN Speedo using this code and they were both tracking the same speed, so success!!! Thanks!!!!