Your shopping cart is empty.

Tesla LIN BUS Hacking with Macchina

We are super excited to see that Otmar (of Zilla Fame) and Deb over at Cafe Electric have had some great success hacking a Tesla S. They are in the middle of building a stretched Voltswagen Van using a salvaged Tesla S as the power train. Proof that really anything can be done.

As you can imagine, reviving a salvaged/crashed Tesla (or any car for that matter) is a tall order. Making things extra challenging is the added complexity of this advanced electric car's computer system. Their car was not happy after an accident, and the numerous errors showing up on the HMI was proof. One of these errors was as a result of a missing motorized louver in the front of the car. To fix this, they used Macchina to spoof the signals that would have been coming from the louver motor in order to trick the ECU into thinking everything was OK.

Here is what they had to say:

“The Macchina is an Arduino compatible board, very similar to the Mega 2560 with the addition of hardware to run automotive OBD protocols including CAN and K line aka ISO-9141 which seems to be a form of LIN. This is a neat little board that came in very handy, Debbie and I are fans of the Arduino system since it makes simple tasks easy to implement. Although we can code it all the hard way, why bother when the Arduino environment makes simple projects go easily and quickly? You really don’t have to know how to program to get started using Arduino.
Debbie made up some programs (Arduino “sketches”) that manipulated (bit banged) the LIN port initially to send some commands so we could see the louver motor respond. She then modified it to also read back the data from the louver motor. Next she wrote up “sniffer” code to read data on the LIN bus and display it in a easy readable format in our laptops. This made it much easier to see what codes the louver is sending back so we can spoof those.

We’ve (probably) deduced which addresses are used for the missing louvers, and we can only hope that they respond with the same data set as the one motor that we have here. Next up we’ll try to spoof all the louvers and hope that the car likes what we send. We’ll know it worked if the car stops sending louver error codes to Tesla. If that works, we may hook up a set of RC car servos in place of the louvers so we can watch the car cycling them. It’s fortunate for us that the car cycles the lovers on power up. Otherwise it could be a slow process getting the proper codes.

I’m sure that buying a new set of louvers (for $532.40) would have moved things along much faster, but then we would not have learned LIN bus down to the nitty gritty bit level. It’s a good brain workout to try to decode the nibbles and bits of data and lots of fun for people like us!”

Check out their project here

Fri, 05/11/2018 - 05:32
Last seen: 11 months 2 weeks ago
Joined: 05/11/2018 - 04:56

There is even a discretionary transport layer spec that is good with CAN transport and makes it less demanding to incorporate the nearby LIN group with the greater system assignment writing uk. To put it plainly, LIN is an altogether thoroughly considered UART transport convention with good industry adoption. You'll discover great instructional exercises from each seller of LIN transceiver hardware.

Sat, 10/13/2018 - 03:12
Last seen: 6 months 1 week ago
Joined: 10/13/2018 - 03:11

Hacking busses are successfully regenerated by the most numerous of the links in the hills by the some machines and stones too. With the accidents buses got the errors when custom dissertation writing service was by the buss has reached at the top then this accident has been concurrent.

Wed, 12/05/2018 - 23:16
Last seen: 4 months 2 weeks ago
Joined: 12/05/2018 - 23:13

There is even an optional transport layer spec that is great with CAN transport and makes it less requesting to join the adjacent LIN amass with the more noteworthy framework task composing Cheap Assignment Writing. To say it evidently, LIN is an inside and out altogether considered UART transport tradition with great industry selection.

Sat, 01/19/2019 - 07:13
Last seen: 2 weeks 4 days ago
Joined: 01/16/2019 - 05:50

There is much more to discuss however this is only a concise "heartbeat" notice to tell you that I am as yet chipping away at the undertaking and making progress. do my assignment free

Mon, 02/11/2019 - 05:23
Last seen: 2 months 1 week ago
Joined: 02/11/2019 - 05:12

Just Amazing!! Probably the best method to use scrap cars. Macchina engineers have been doing great work to keep producing new inventions with scrap and useless materials. I hope students from universities should learn from these inventions and use MBA thesis writing help in Dubai to create a better proposal of these kinds of projects. This not only makes them famous but also help countries economy and financial growth.