Also take a look at the site of Chad Gibbons. You will find a very useful tutorial about everything you need to know about CAN bus on a RPi from the CowFish team here. This is a socket CAN driver and utility package. Get a CAN bus shield like the PICAN and install the free CAN utils software. Most cars use a 500kbit/s data rate (or above) and with a bus load of 40% you will have to save about 1500 messages per second.įor this purpose a Raspberry Pi is a very capable platform. An Arduino based logger, saving the sniffed data to a SD-card, is often not fast enough for capturing the whole traffic. When sniffing and logging the complete CAN bus traffic, you need a fast processor. Beside the diagnostic information there is a lot of useful data about the status of the car. I wanted to know what information was gathered and began to analyze the CAN bus traffic of the car.ĭigging into the CAN bus protocol I managed to reverse engineer queries for the cell voltages and the cell capacities. ![]() The GSM modem in my smart electric drive EV was in this mode for a certain time. ![]() In connected cars manufacturers gather diagnostic data and transmit them for field studies or planed maintenance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |