Search found 110 matches

by collin80
Sun May 23, 2021 9:13 pm
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

Its looking like I probably should have mentioned that you should send 0x500 on the vehicle bus and also find 0x332 on the vehicle bus. The CP bus is just for comm to the charge port controller and I have no idea which messages are sent there as well but it's not all of them. The debugging output go...
by collin80
Sun May 23, 2021 12:33 pm
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

Yes you are right, my mistake👍 very good news, is there by any chance any messages that tell us the least and most charged cell-voltage, had been easy to make code to stop charger/regen if voltage by any cell reach max/min👍 ID 0x332 sends the min/max values. It is multiplexed and switches between m...
by collin80
Sat May 22, 2021 12:08 am
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

This isn't super interesting but if you send a CAN frame with ID 0x500, length 2, bytes 05, 01 it will put the BMS system into extended debug output. It seems like you have to send every 100ms or so for a while to make this happen. But, it only seems to enable two extra IDs, 0x7D2 and 0x7F2. 0x7F2 i...
by collin80
Fri May 21, 2021 11:32 pm
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

Is a CAN message necessary to activate the balancing or is it enough to apply a voltage to the +12V/GND pins? I don't believe any CAN traffic should be necessary. The biggest things needed seem to be not being in drive (won't balance while you're driving), not heavily charging or discharging (seemi...
by collin80
Fri May 21, 2021 4:25 pm
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

does that help? The white is CAN L, grey CAN H. Already terminatet with 120 Ohm. The other big terminal is another 12V+, maybe kl30?. 20210521_103434.jpg The other big terminal powers the shunt system on the far side of the board. It is not required to be powered to get the BMS to function and moni...
by collin80
Fri May 21, 2021 12:32 am
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

Just a check, did anyone already have the pin numbering for the pins in the HV controller connector? 20.gif You mean like a list of which pin is which? I didn't/don't but I do have something kind of similar. I took a picture of the backside of the board and it is numbered. So, just rotate all those...
by collin80
Thu May 20, 2021 12:27 am
Forum: Tesla
Topic: Model 3 High Voltage Controller
Replies: 188
Views: 47428

Re: Model 3 High Voltage Controller

A potential problem you all might have is that Tesla decided to really switch things around between firmware versions. For instance, both 0x401 and 0x712 are not found on recent (last year or two) versions of firmware. This is not a problem at all so long as the pack you have is still reporting on t...
by collin80
Mon May 17, 2021 11:28 pm
Forum: Tesla
Topic: Tesla Model 3 Battery Hacking
Replies: 267
Views: 57295

Re: Tesla Model 3 Battery Hacking

So considering that it seems I'm the only one working on this then I'll get back around to it as soon as I can. I opensourced the fpga design in the hope it would inspire others to get involved and contribute but as usual that didn't happen. No doubt its up and running somewhere and not fed back in...
by collin80
Thu May 13, 2021 3:06 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW Mild Hybrid Starter Alternator
Replies: 124
Views: 30921

Re: VW Mild Hybrid Starter Alternator

So we just told it the ignition is on and it wakes and starts sending us messages. Now problem is I'm not firing off the counter and checksum so it don't like me. Source : https://github.com/commaai/opendbc/blob/master/vw_mqb_2010.dbc I saw where you asked if anyone could crack the CRC. I tried, it...
by collin80
Sat Apr 17, 2021 12:30 am
Forum: Inverters / Motor Controllers
Topic: Porting to ESP32
Replies: 4
Views: 1692

Re: Porting to ESP32

Because .... it has 2 separately addressable cores, runs at 160 or 240 MHz , has 448 KB ROM and 520 KB SRAM Built in Analog to digital and digital to Analog converters Onboard Bluetooth, UART and wifi, masses of IO pins , and it's absurdly cheap Two cores? Check! Though, you will have trouble with ...
by collin80
Mon Apr 05, 2021 5:30 pm
Forum: Tesla
Topic: Tesla M3 Factory fitted FDU Control using CAN
Replies: 16
Views: 2499

Re: Tesla M3 Factory fitted FDU Control using CAN

Oh! wow "non-immo" binary is cool. But there is only so much you can do with it. I wonder if there are decompilers that work on the TMS320 MCU used. Yes, there are. Yes, some of us have done that too. But, it isn't like it spits out void CommandMotor(float torque) { DoFancyStuff.powerMoto...
by collin80
Mon Apr 05, 2021 5:26 pm
Forum: Tesla
Topic: Tesla M3 Factory fitted FDU Control using CAN
Replies: 16
Views: 2499

Re: Tesla M3 Factory fitted FDU Control using CAN

Me too, hats off to the guys who created the CAN db from nothing - making sense of seemingly random stream of bits need a different level of commitment and skill. https://teslaownersonline.com/members/jwardell.1513/ <--- His work is inspiring. Well, it wasn't all from nothing. Sometimes there are s...
by collin80
Wed Mar 17, 2021 10:59 pm
Forum: Tesla
Topic: Tesla Model 3 Charger
Replies: 143
Views: 30236

Re: Tesla Model 3 Charger

Given what day it is today I was hoping to hear about lucky charms or how magically delicious something is but instead I watched a 27 minute Irish video with none of that. But, it was good stuff nonetheless. Congrats on getting the PCS functional!
by collin80
Mon Feb 08, 2021 11:41 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 639
Views: 142425

Re: Tesla Model 3 Rear Drive Unit Hacking

Yeah, I think mostly they over engineer stuff so that they don't get sued. This is especially true for anything sold in the US. We sue each other if the wind blows the wrong direction or someone gives us a sour look. So, redundant processor cores that can be cross checked isn't such a bad idea. But,...
by collin80
Sun Feb 07, 2021 10:12 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 639
Views: 142425

Re: Tesla Model 3 Rear Drive Unit Hacking

Internet : You can't run a Musk motor with a measly little Stm32. To be fair, most of the negative feedback I saw was more along the lines of: Sure, it'll work but that chip is too slow to really get the motor up to full potential and running dead smooth. That feedback could be accurate, it might n...
by collin80
Sun Feb 07, 2021 10:05 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 639
Views: 142425

Re: Tesla Model 3 Rear Drive Unit Hacking

This is an amazing job. While I'm sure someone will figure out how to flash the OEM chip over CAN like Tesla does, this is a great alternative. That would neeeeeeever happen. ;) Yeah, there are already several people who know how to flash the various components in a Tesla over CAN. The process isn'...
by collin80
Sat Feb 06, 2021 12:49 am
Forum: Tesla
Topic: Tesla Instrument Cluster (IC) Center Display (CID/MCU) Retrofit
Replies: 10
Views: 2967

Re: Tesla Instrument Cluster (IC) Center Display (CID/MCU) Retrofit

The short answer is: sure you can. Both the instrument cluster and CID are linux machines. If you "root" the CID you can put whatever you want on there and do whatever you want. If you dump the contents of the memory you can see all their scripts and stuff and modify as appropriate. Now, t...
by collin80
Sat Jan 23, 2021 11:14 pm
Forum: Inverters / Motor Controllers
Topic: New use case: 230V AC from a few V DC
Replies: 27
Views: 11829

Re: New use case: 230V AC from a few V DC

I'm sure you will be the one to find this limit. Or Jon Volk :D Of course you can set the AC voltage to 240V idle. I think my setup is also limiting performance. Boosting 40V to 300V isn't great to begin with and under load the batteries sag to 33 V. I see 1870W going in but only 1100W coming out. ...
by collin80
Fri Jan 22, 2021 2:32 am
Forum: Inverters / Motor Controllers
Topic: New use case: 230V AC from a few V DC
Replies: 27
Views: 11829

Re: New use case: 230V AC from a few V DC

You can set it to any frequency anyway, allowing up to 65 Hz :) Anybody know their way around inverter filtering? I.e. making a clean sine wave from a PWM synthesized one? The Leaf input filter board only created a lot of heat when I tried to use it. And the little EMI filter wasn't much help eithe...
by collin80
Thu Dec 31, 2020 8:17 pm
Forum: Vehicle Control (VCU)
Topic: The ZombieVerter VCU Project
Replies: 930
Views: 190891

Re: The ZombieVerter VCU Project

Nice job. So, there's been some developments recently about naming conventions, and the preferred name is now main instead of master. This is an easy fix. Git knows they are completely unrelated, so you just overwrite the history of one. ... depends on who you ask. Personally I don't plan to change...
by collin80
Wed Dec 30, 2020 3:01 pm
Forum: Tesla
Topic: Tesla Model 3 Rear Drive Unit Hacking
Replies: 639
Views: 142425

Re: Tesla Model 3 Rear Drive Unit Hacking

Spent the past two weeks persuading the C2000 library / examples to do useful things with my devboard. Some 'interesting' omissions in the examples, and the string library has some funny ideas. // 12 bit adc input, converted to voltage. // 0-3.3V input range, but treat as milivolts for accuracy rea...
by collin80
Mon Dec 28, 2020 2:30 am
Forum: Nissan
Topic: Leaf Gen1 Charger Upgrade
Replies: 36
Views: 8913

Re: Leaf Gen1 Charger Upgrade

How does one go about learning how to control CAN items? I'd love to learn how to control my Gen1 or Gen1 leaf chargers for an upcoming upgrade. Well, the answer for a lot of us was "trying to do it and failing a lot." But, naturally it's nice to skip as much of that as possible. Here's a...
by collin80
Thu Dec 24, 2020 1:12 am
Forum: Tesla
Topic: Tesla Model S GEN2 DC-DC Converter hacking
Replies: 27
Views: 7764

Re: First GEN TESLA S DC-DC charger hacking ??

Close. 0x314 is the right answer for the voltage calculation. Somewhat annoyingly this value is stored flipped in the CAN message so it'd be 0x14 0x03 as sent in the CAN frame. But, you also have to add 4 to that second byte for the enable bit. That makes the value 0x14 0x07 instead. Then, the CAN f...
by collin80
Tue Dec 22, 2020 12:59 am
Forum: Tesla
Topic: Tesla Model S GEN2 DC-DC Converter hacking
Replies: 27
Views: 7764

Re: First GEN TESLA S DC-DC charger hacking ??

I might have found the answer in a link posted in this threat: Jeff try sending it CAN id 0x03D8 , Data length 3 , data : 0xDD 0x06 0x00 and watch the 12 output :) I tried it... "0x03D8, 3 bytes, DD, 06, 00" but instead of 12v I momentarily got 14v (D1 = DD, D2 = 06) So I tried some other...
by collin80
Mon Dec 21, 2020 8:12 pm
Forum: Tesla
Topic: Tesla Large Drive Unit Support Thread
Replies: 802
Views: 137750

Re: Tesla Large Drive Unit Support Thread

Boxster EV and jon volk - thanks for the input. I'll upgrade the wiring and get some more powerful batteries lined up. I've been a little spooked about adding more power but I can see how it is necessary. I am going out of town for the week which will give me some time off from the project and I'll...