MPH through CAN from tesla SDU to speedhut dials

Discussion about various user interfaces such as web interface, displays and apps
Post Reply
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

MPH through CAN from tesla SDU to speedhut dials

Post by Kitlacey »

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
User avatar
Bigpie
Posts: 1595
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 75 times
Been thanked: 304 times

Re: MPH through CAN from tesla SDU to speedhut dials

Post by Bigpie »

Do you know the Can ID the gauges expect to see the speed message on and the format of the message?
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: MPH through CAN from tesla SDU to speedhut dials

Post by tom91 »

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?
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
johu
Site Admin
Posts: 5789
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: MPH through CAN from tesla SDU to speedhut dials

Post by johu »

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)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

Re: MPH through CAN from tesla SDU to speedhut dials

Post by Kitlacey »

Bigpie wrote: Tue Jul 11, 2023 2:08 pm Do you know the Can ID the gauges expect to see the speed message on and the format of the message?
Not sure,

I used to have

CAN ID 599
Position 0
Bits 16
Gain 10

This was under a parameter titled 'roadspeed'
User avatar
johu
Site Admin
Posts: 5789
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: MPH through CAN from tesla SDU to speedhut dials

Post by johu »

And what was "roadspeedgain" ?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Kitlacey
Posts: 21
Joined: Wed Jul 05, 2023 2:41 pm

Re: MPH through CAN from tesla SDU to speedhut dials

Post by Kitlacey »

johu wrote: Mon Jul 17, 2023 7:24 pm And what was "roadspeedgain" ?
Sorry, I didn't have a setting for roadspeedgain
tom91
Posts: 1308
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 103 times
Been thanked: 216 times

Re: MPH through CAN from tesla SDU to speedhut dials

Post by tom91 »

Upload your .JSON for the Zero-EV firmware it is in there for sure.

Line 10 "roadspeedgain"
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
Post Reply