Tesla Owners Online Forum banner
1,901 - 1,920 of 2,200 Posts
Discussion starter · #1,901 ·
how did you do it, is an ESP32 and a SN65HVD230 CAN bus transceiver enough? can you please tell me how to do this, I'm a beginner but learning fast.
Or maybe it works with your CANserver.
The original LED geek gauges were made with a Teensy and CAN wires strung all the way up to the breadboard, ready to fall out and short at any time!
I still intend to make/sell alphanumeric LED gagues which attach to my microdisplay to duplicate this...just never got around to making the large board needed to mount them above the display. Most because I haven't seen interest other than my own.
As for the traction disable button, when I first made it I thought it would very much make a good product. It's an arduino pro micro and a can board. Then dynomode leaked out a few weeks later and allowed anyone to do it. I later realized how completely deadly it can be as you lose traction and go for the crowds on the sidewalk very quickly, so will not release details on it. Frankly I think Tesla now has a lot more CAN monitoring in place and logs anything unexpected, so I would worry about it voiding warranty too.
I settled on my current ESP32-based CANserver because I can design it to be safe for the user, with hardware transmit disabled, and keeping everything close to the existing CAN wiring, sending data via wifi instead, not to mention the powerful capabilities of the processor at a reasonable price.
 
The original LED geek gauges were made with a Teensy and CAN wires strung all the way up to the breadboard, ready to fall out and short at any time!
I still intend to make/sell alphanumeric LED gagues which attach to my microdisplay to duplicate this...just never got around to making the large board needed to mount them above the display. Most because I haven't seen interest other than my own.
As for the traction disable button, when I first made it I thought it would very much make a good product. It's an arduino pro micro and a can board. Then dynomode leaked out a few weeks later and allowed anyone to do it. I later realized how completely deadly it can be as you lose traction and go for the crowds on the sidewalk very quickly, so will not release details on it. Frankly I think Tesla now has a lot more CAN monitoring in place and logs anything unexpected, so I would worry about it voiding warranty too.
I settled on my current ESP32-based CANserver because I can design it to be safe for the user, with hardware transmit disabled, and keeping everything close to the existing CAN wiring, sending data via wifi instead, not to mention the powerful capabilities of the processor at a reasonable price.
ok I can understand that, so with the CANserver I can also not execute commands like open door without pulling the lever? because he may not send anything?
 
Yes, it would be fairly easy to mess with the car that way - and nobody wants the users to blame him "your CANServer device damaged my car and it's not on warranty now"
Well, if I install something like that, it's my own fault if something gets damaged. My decision, moreover, can also manipulate the firmware of me in the CANserver.
 
Well, if I install something like that, it's my own fault if something gets damaged. My decision, moreover, can also manipulate the firmware of me in the CANserver.
Yes of course if you break your own car its your own problem... BUT we don't want there to be any reason that the CANServer breaks your car.

If you take it and modify it and do things we never intended with it there isn't much we can do to prevent that. But out of the box and used within the intended purpose the hope is that nothing bad happens. It is still a DIY device, and there are risks with connecting anything to your expensive toy. But we are trying to minimize those risks as much as possible for the vast majority of users who just want to get data and see it in TesLAX or SMT, or do some advanced logging and analysis as to how their car performs.

In the end we are trying to keep the CANServer "read-only" with respect to the car. It was @JWardell's original intention and I don't suspect we'll ever stray from that ideal.

chris.
 
Discussion starter · #1,906 ·
Well, if I install something like that, it's my own fault if something gets damaged. My decision, moreover, can also manipulate the firmware of me in the CANserver.
That sense of accountability you are fortunate to have is rare around here, if you haven't noticed.
It's a simple development platform though, folks with a little smarts can do whatever they want with it
 
A general question. Who is using what signal to get "maximum available power" displayed?

Options which I've found so far:
- ID252 BMS_powerAvailable with BMS_maxDischargePower and BMS_maxRegenPower
- ID268 SystemPower with DI_sysDrivePowerMax and DI_sysRegenPowerMax

I am using ID252, and looking at the sources of CANServer, @JWardell is also using that one.
However, recently with low-ish battery charge this signal displayed 148kW available power on my SR+, and I was able to get more than that (205kW, almost the maximum for SR+) power used.
 
Well there is no where to access anything without "cutting" wires, but inline harnesses are readily available for the center console so you don't have to, and it's easy to access.
The next best spot is the connection to the computer where all busses come into one connector. That's where some of the displays connect. Still haven't found a harness for that though.
China-built cars apparently have an actual OBD port, but I have no idea what data is available there.
Thanks for your answer.

I had hoped to have the ODB2 adapter to be permanently installed and out of the way. In the centre console doesn't achieve that. My kids sitting at the back would always end up kicking it or play with it no doubt.
 
In the centre console doesn't achieve that. My kids sitting at the back would always end up kicking it or play with it no doubt.
There's a little hole in there that you can actually fit a lot into. I have a CANServer and the adapter tucked into mine.
 
Discussion starter · #1,911 ·
A general question. Who is using what signal to get "maximum available power" displayed?

Options which I've found so far:
- ID252 BMS_powerAvailable with BMS_maxDischargePower and BMS_maxRegenPower
- ID268 SystemPower with DI_sysDrivePowerMax and DI_sysRegenPowerMax

I am using ID252, and looking at the sources of CANServer, @JWardell is also using that one.
However, recently with low-ish battery charge this signal displayed 148kW available power on my SR+, and I was able to get more than that (205kW, almost the maximum for SR+) power used.
It's a good question. Logically the BMS should be in control of that limit more so than the inverter. Really it would take some logging and detailed analysis of both in several situations. Although keep in mind power goes to more than just the drive inverter. So for example if you have zero regen from the BMS, but your heat is on, the inverter can regen the 7kW used by the heater.
 
It's a good question. Logically the BMS should be in control of that limit more so than the inverter. Really it would take some logging and detailed analysis of both in several situations. Although keep in mind power goes to more than just the drive inverter. So for example if you have zero regen from the BMS, but your heat is on, the inverter can regen the 7kW used by the heater.
Thanks for the suggestion. So I've added both values to my dashboard (BMS | SYS) and will check how they behave.
So far ID268 limit (SYS) looks closer to what I need.

Image
 
Hello guys, do you know how this "Mikey Mouse display" is able to detect the Steering Wheel buttons? I looked at all 3 CAN buses but I was not able to find out the ID which sends the buttons. I'm interested also in the Left side ones (media buttons) so any hint will be very helpful.

 
Discussion starter · #1,914 ·
Hello guys, do you know how this "Mikey Mouse display" is able to detect the Steering Wheel buttons? I looked at all 3 CAN buses but I was not able to find out the ID which sends the buttons. I'm interested also in the Left side ones (media buttons) so any hint will be very helpful.

ID 3C2 from VCleft has the wheel buttons in it...

SG_ VCLEFT_swcLeftDoublePress m1 : 41|1@1+ (1,0) [0|1] "" Receiver
SG_ VCLEFT_swcLeftPressed m1 : 5|2@1+ (1,0) [0|3] "" Receiver
SG_ VCLEFT_swcLeftScrollTicks m1 : 16|6@1- (1,0) [-32|31] "" Receiver
SG_ VCLEFT_swcLeftTiltLeft m1 : 14|2@1+ (1,0) [0|3] "" Receiver
SG_ VCLEFT_swcLeftTiltRight m1 : 3|2@1+ (1,0) [0|3] "" Receiver
SG_ VCLEFT_swcRightDoublePress m1 : 42|1@1+ (1,0) [0|1] "" Receiver
SG_ VCLEFT_swcRightPressed m1 : 12|2@1+ (1,0) [0|3] "" Receiver
SG_ VCLEFT_swcRightScrollTicks m1 : 24|6@1- (1,0) [-32|31] "" Receiver
SG_ VCLEFT_swcRightTiltLeft m1 : 8|2@1+ (1,0) [0|3] "" Receiver
SG_ VCLEFT_swcRightTiltRight m1 : 10|2@1+ (1,0) [0|3] "" Receiver
 
Discussion starter · #1,917 ·
Is there a list with LIN ID etc? From different units?
You would need LDF files that describe the communications of each component. And it's usually point to point, so only useful if you were accessing the part directly. What are you trying to do?

Hello guys, do you know which ID is the seat belt working on? I looked for a socket in the middle of the host with three sets of CAN and didn't find any useful information,can you help me?thanks... View attachment 36845
Not sure what the picture is of...doesn't seem to be seat belt? There a number of components to the restraint system.
 
Hi all, I am new to this Forum so I apologize if this isn't the right way to ask a question. I have a Tesla Model 3 (manufactured in September 2020) and I am trying to learn about CAN. I used the database file mentioned in this forum (which was last updated 6 months ago, before my car was manufactured) along with a Vector CANalyzer (VN1630A) to look at the signals. When I connect the CANalyzer to the CAN bus and attach this dbc file to it, I see many signals (like doors, steering angle, Charging status, etc.) but I am not able to get the message for Speed, RPM, Gear, Torque, etc. from the file. I have confirmed using a ODB II reader and an EVTV OBD II adapter that the CAN bus I am tapping on has the speed and RPM signals on it. My speculation is that even though the database file is relatively new, I think that it might need an update? What do you guys think? Does any of you was able to read speed, RPM using the dbc file? If yes then I would be glad if you could help me out here.

Thanks in advance
 
Hi all, I am new to this Forum so I apologize if this isn't the right way to ask a question. I have a Tesla Model 3 (manufactured in September 2020) and I am trying to learn about CAN. I used the database file mentioned in this forum (which was last updated 6 months ago, before my car was manufactured) along with a Vector CANalyzer (VN1630A) to look at the signals. When I connect the CANalyzer to the CAN bus and attach this dbc file to it, I see many signals (like doors, steering angle, Charging status, etc.) but I am not able to get the message for Speed, RPM, Gear, Torque, etc. from the file. I have confirmed using a ODB II reader and an EVTV OBD II adapter that the CAN bus I am tapping on has the speed and RPM signals on it. My speculation is that even though the database file is relatively new, I think that it might need an update? What do you guys think? Does any of you was able to read speed, RPM using the dbc file? If yes then I would be glad if you could help me out here.

Thanks in advance
There is more than one CAN bus in a Model 3 with different set of signals on each, where are you connecting to?
 
Discussion starter · #1,920 ·
Hi all, I am new to this Forum so I apologize if this isn't the right way to ask a question. I have a Tesla Model 3 (manufactured in September 2020) and I am trying to learn about CAN. I used the database file mentioned in this forum (which was last updated 6 months ago, before my car was manufactured) along with a Vector CANalyzer (VN1630A) to look at the signals. When I connect the CANalyzer to the CAN bus and attach this dbc file to it, I see many signals (like doors, steering angle, Charging status, etc.) but I am not able to get the message for Speed, RPM, Gear, Torque, etc. from the file. I have confirmed using a ODB II reader and an EVTV OBD II adapter that the CAN bus I am tapping on has the speed and RPM signals on it. My speculation is that even though the database file is relatively new, I think that it might need an update? What do you guys think? Does any of you was able to read speed, RPM using the dbc file? If yes then I would be glad if you could help me out here.

Thanks in advance
Yes, I am overdue to update it but have have been short on time lately. However Speed, RPM, Gear, and Torque haven't changed in a while, they should all work. You might not be looking at the right signals, or maybe you aren't plugged into the powertrain can bus.
Where are you plugging in? Share a screenshot or two from Vector and I can see if I can figure out what's missing.
For example, you should be viewing the DI_uiSpeed signal.
 
1,901 - 1,920 of 2,200 Posts