A panda and a cabana: How to get started car hacking with comma.ai
<p>When I plugged it in to my MacBook, it showed up as a serial interface. And it used AT commands. I found some Python code to speak this protocol, and I thought I could now talk to the car.</p>
<p>When the code worked (which was about 50% of the time!), the information it gave me was <a href="https://en.wikipedia.org/wiki/OBD-II_PIDs#Mode_01" rel="noopener ugc nofollow" target="_blank">very limited</a>, mostly just about the engine. Surely there had to be more…</p>
<p>So I dove deeper, and looked into <a href="http://pinoutguide.com/CarElectronics/car_obd2_pinout.shtml" rel="noopener ugc nofollow" target="_blank">what’s actually on the OBDII port</a>. Sure enough, there is a CAN bus! Many of the USB to CAN transceivers were <a href="https://www.kvaser.com/" rel="noopener ugc nofollow" target="_blank">thousands of dollars</a>, but I found a moderately priced one that gave me full access. We were in business, and I could read all the CAN messages on the bus.</p>
<p><a href="https://comma-ai.medium.com/a-panda-and-a-cabana-how-to-get-started-car-hacking-with-comma-ai-b5e46fae8646"><strong>Website</strong></a></p>