Hi,
I've created the site Teslalog.com over a year ago to record data that provided from the Tesla API.
That data set provided by the API is useful but limited... So I've started exploring recording the CANBus data directly from the car.
I've work with a bunch of you in decoding a bunch of new CANBus messages on the Tesla Model S and I was at a point where I had to start visualize all this information for post recording or realtime data.
So here a page where you can see prerecorded data played back at random speed (depend of your browser speed (I recommend chrome over firefox for speed).
https://teslalog.com/demo_canbus_recorded_route/
This is not all the informations I've decoded... Just an experiment I've started yesterday on how to display it on screen.
The top graph show the different voltage of all the 96 group of battery in a 85kWh battery pack.
Bottom left show different temperature within the battery pack (32 sample).
Bottom center show a display similar to the Tesla Model S legacy cars. It will display the Speed, Power, Cruse Control Speed and Range.
Bottom right show GPS coordinate.
This is running of a Raspberry Pi 3 (Work also on a Raspberry Pi Original with lot of USB devices).
I use Wifi for automatic upload of locally recorded canbus data in a custom fileformat I made.
I use bluetooth for configuration of the raspberry pi and live capture of data like what you see here on a android application (Maybe ios too... but I got no mac or iphone compile it on).
I'm using a Cantact.io CANBus USB capture device with a custom firmware I've made so it capture everything on a raspberry pi.
And a cheap GPS 20$ GPS Receiver since I don't have the GPS coordinate position from the car.
The whole setup cost about 130$ USD excluding a case for the electronic and installation time. But if I had more time and knowleadge, I would make something a little bit more integrated into a single device (and have more canbus connections).
I've made the capture system in C for the Cantact, GPS & Bluetooth so it run smoothly on the Raspberry pi and to be low power. Everything running off a single Tesla USB Port. I haven't checked but I'm guessing it draw less than 10watt (versus the +220watt the rest of the car draw when idle and no one in it)
So I'm not 100% sure where I'm going with this My main interest was to record all the canbus data so if something happen, I can go look at it. At the same time, 3G service included with the car won't be on for ever(maybe), and Tesla might decide to block usage of Teslalog.com / visibletesla...
It also reduice the vampire drain versus Teslalog.com since you can let the car go to sleep, which will disable the USB power and shutdown the raspberry pi, and when power return, the capture start backup automaticly.
And when I get home and in range of my wifi, it will connect and upload everything to my server.
So that about 1 month of experimentation. Oh and I also have Teslalog.com I'm working on (a little bit less though), and an actual job I got to work.
I hope you guys find this interesting.
Marc
I've created the site Teslalog.com over a year ago to record data that provided from the Tesla API.
That data set provided by the API is useful but limited... So I've started exploring recording the CANBus data directly from the car.
I've work with a bunch of you in decoding a bunch of new CANBus messages on the Tesla Model S and I was at a point where I had to start visualize all this information for post recording or realtime data.
So here a page where you can see prerecorded data played back at random speed (depend of your browser speed (I recommend chrome over firefox for speed).
https://teslalog.com/demo_canbus_recorded_route/
This is not all the informations I've decoded... Just an experiment I've started yesterday on how to display it on screen.
The top graph show the different voltage of all the 96 group of battery in a 85kWh battery pack.
Bottom left show different temperature within the battery pack (32 sample).
Bottom center show a display similar to the Tesla Model S legacy cars. It will display the Speed, Power, Cruse Control Speed and Range.
Bottom right show GPS coordinate.
This is running of a Raspberry Pi 3 (Work also on a Raspberry Pi Original with lot of USB devices).
I use Wifi for automatic upload of locally recorded canbus data in a custom fileformat I made.
I use bluetooth for configuration of the raspberry pi and live capture of data like what you see here on a android application (Maybe ios too... but I got no mac or iphone compile it on).
I'm using a Cantact.io CANBus USB capture device with a custom firmware I've made so it capture everything on a raspberry pi.
And a cheap GPS 20$ GPS Receiver since I don't have the GPS coordinate position from the car.
The whole setup cost about 130$ USD excluding a case for the electronic and installation time. But if I had more time and knowleadge, I would make something a little bit more integrated into a single device (and have more canbus connections).
I've made the capture system in C for the Cantact, GPS & Bluetooth so it run smoothly on the Raspberry pi and to be low power. Everything running off a single Tesla USB Port. I haven't checked but I'm guessing it draw less than 10watt (versus the +220watt the rest of the car draw when idle and no one in it)
So I'm not 100% sure where I'm going with this My main interest was to record all the canbus data so if something happen, I can go look at it. At the same time, 3G service included with the car won't be on for ever(maybe), and Tesla might decide to block usage of Teslalog.com / visibletesla...
It also reduice the vampire drain versus Teslalog.com since you can let the car go to sleep, which will disable the USB power and shutdown the raspberry pi, and when power return, the capture start backup automaticly.
And when I get home and in range of my wifi, it will connect and upload everything to my server.
So that about 1 month of experimentation. Oh and I also have Teslalog.com I'm working on (a little bit less though), and an actual job I got to work.
I hope you guys find this interesting.
Marc