TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Everything I learnt about the CAN bus from building cars

6 pointsby janosch_1232 months ago

2 comments

Terr_2 months ago
I have a stalled project to read events from one of my car&#x27;s CAN buses that I really need to get back to... The easily accessible OBD-II port is either the wrong network, or filters out the interior cabin stuff I&#x27;m interested in.<p>Even as a non-C&#x2F;C++ person, it was honestly easier than I expected to get raw data: A small breadboard with an ESP32 chip and a CAN transceiver chip, power them both from my phone&#x27;s USB-C port, and run an app to log serial output coming back over the same cable. I just need to plug the transceiver&#x27;s high&#x2F;low CAN wires into the right spots to start recording raw messages.<p>The biggest frustration, besides removing stubborn car paneling, is that so much of the CAN bus traffic is undocumented (no DBC) so I need to change things and look for time-correlated patterns.
评论 #43272338 未加载
janosch_1232 months ago
A (hopefully) concise &amp; practical introduction:<p>2 min theory followed by 2 min of listening to an existing network followed by 2 min of common pitfalls when building your own network.<p>I built my own electric cars from 2018 - 2023 and am now sharing everything I learnt with you in a series of videos and on <a href="https:&#x2F;&#x2F;foxev.io&#x2F;academy" rel="nofollow">https:&#x2F;&#x2F;foxev.io&#x2F;academy</a> in a learning web app :)<p>I hope this helps someone!