Exploring a Car’s CAN Bus Data

Cars Drones & Vehicles Science
Exploring a Car’s CAN Bus Data

On the highly-recommended Applied Science YouTube channel, the brilliant, ever-patient Ben Krasnow experiments with chemistry, physics, electronics, and electromechanical devices, always with real-world applications in mind. He has built a basement electron microscope, figured out how a backscatter x-ray works, made his own Aerogel, and played around with “bullet time” photography.

YouTube player

In this episode of Applied Science, Ben trains his o-scope on the CAN (Control Area Network) bus of a Tesla Model S to see what sorts of information he can glean from the data there. He shows you how to access the CAN bus connector, explains what some of the data in the data logs means, and shows real-time data returns while pressing the accelerator, etc. At the end of the video, he also shows you how he managed to get real-time CAN bus data to display on the car’s web browser. Tesla doesn’t really want you monkeying with and displaying this real-time data to the in-car monitor, so there’s no easy, wired way in. Ben does a clever workaround involving a Raspberry Pi, a CAN bus shield, node.js, a tethered cell phone, and wirelessly feeding the data to the car computer’s web browser like it was any other web content.

I don’t really know that much about CAN bus hacking (and don’t even currently own a car), but I found this video really fascinating and I learned a lot. On the video’s YouTube page, Ben also posts a number of useful resources for CAN bus hacking, for Teslas and for on any car’s CAN:

Hey, and how about that $14,000 Tektronix multi-domain oscilloscope he uses? In the immortal words of The Joker, “Where does he get those wonderful toys?”

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

Gareth Branwyn is a freelance writer and the former Editorial Director of Maker Media. He is the author or editor of over a dozen books on technology, DIY, and geek culture. He is currently a contributor to Boing Boing, Wink Books, and Wink Fun. His free weekly-ish maker tips newsletter can be found at garstipsandtools.com.

View more articles by Gareth Branwyn
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK