while discussing option for VESC data logging we collected a lot of information in another thread. Now we would like to make this information acessable for everybodey. So here it goes, the current summary of VESC data logging options. Thanks a lot to @makevoid for compiling a lot of the information and investing his time so far!
@makevoid Arduino SD Data Logger - OpenSource
Hardware:
- Arduino connected to VESC via UART
- Standard SD Card shield
Code:
This code logs data in a JSON time series format.
Power the arduino off the VESC or use a common ground. The code runs on the Arduino device and pulls the data out of the VESC. The data is then stored on a standard SD card shield connected to the arduino. You need to set the VESC to ppm + uart mode and you only get the right data if the controller is on and connected.
If you want to analyze the data, the SD card needs to be removed. You can then analyze the data either using the JSON data to GIF generator or the graph tool mentioned below.
If there are enough requests, makevoid might add a CSV format as output.
@makevoid JSON data to GIF generator - OpenSource
@makevoid also made a program that takes the JSON time series and generates a text gif to embed in videos
Code:
The program runs on Linux, opens the log file VESC_LOG.TXT and creates a GIF image based on the data in the log file. This image can be included in videos.
@makevoid JSON to graph app to make video overlays
Software:
gpxlBen VESC data logger to iOS – OpenSource
Hardware:
Code:
The adafruit chip is connected to the VESC via UART and forwards the serial data to an iOS device. The program runs on the iOS device, no change needed in the VESC firmware. Set the VESC to ppm + uart mode. You only get the right data if the controller is on and connected.
You need somebody with a mac and XCode to compile the code for you and create the iOS app.
The original app shows VESC values but does not logging (yet).
The fork by makevoid added code to do logging as well.
solarturtle vedder esc monitor - Android app
Hardware:
Install the app via Google Play, connect the HC-05 to the VESC via UART. The HC-05 forwards the serial data to the android device. Set the VESC to ppm + uart mode. You only get the right data if the controller is on and connected. The app on the device shows real time and peak values. Logging to file possible, Excel format (to be verified)
Traction app - for iOS and android
hardware:
- serial port to bluetooth connector (E.g. HC-05)
Code:
Dashboard app for electric vehicules, similar to solarturtle app, looks very advanced.