Skip to content
vibhubithar edited this page Sep 21, 2021 · 1 revision

Collecting vehicle telemetry with Pi-Por-Tel Device

For those of us who love cars either driving them or just riding along know that there is a lot going on under the hood. In one shape or form, they are engineering marvels making our daily commute more comfortable or shaving seconds off the lap time on a track.

Telemetry data is how cars talk. It is collected by racing teams, enthusiasts, and research and development teams alike. Pi-Por-Tel (https://github.com/vibhubithar/pi-por-tel) or RapberryPi-portable-Telemetry device is a very basic way in which you can start collecting telemetry data and store it appropriately in a time-series database. 

Yes, the Time series database is an important aspect of this logger as every data point generated while the car is in motion is with respect to a point in time and GPS coordinates. Once collected and stored you can then visualize it using grafana.

For me, I started this project because whenever we go on long trips especially to hilly regions my 4-year-old sometimes throws up. We have tried a lot of things including getting a car that has air suspension to firm up the ride on twisty sections, which improved the situation a little but not completely. 

So I looked for IMU-GPS loggers online but found them limiting or expensive, hence pi-por-tel is an inexpensive way to collect IMU-GPS data from any vehicle.

If you fancy making one for yourself head over to my GitHub for full instructions https://github.com/vibhubithar/pi-por-tel  So let's talk about the hardware setup then the software setup.

Hardware setup:

  1. Raspberry pi zero - https://amzn.to/3nRFF2A
  2. Berry IMU GPS V4 HAT - https://amzn.to/3AtjZxd
  3. External GPS antenna (optional but highly recommended from my experience) - https://amzn.to/2XBlEmg
  4. Mini router (optional)-https://amzn.to/3hOvk3m

Software setup

  1. Python3
  2. InfluxDB

Outcome:

Clone this wiki locally