bobbycar/logdata_visualization
interfisch ff8c11eb1b add sd card read and delete commands 2024-07-13 01:30:20 +02:00
..
csvToLineprotocol add csv to lineprotocol converter for influxdb 2023-09-08 08:09:57 +02:00
testsender fix sending 2021-03-26 19:57:08 +01:00
README.md add logfix usage to readme 2023-09-08 08:08:44 +02:00
Screenshot.png add readme 2021-03-21 18:59:04 +01:00
Timeline.pde fix long and int 2021-05-24 18:59:47 +02:00
Visualization.pde add vector for rpm and current 2021-07-28 15:09:21 +02:00
analyze.py foo 2021-05-30 00:09:41 +02:00
copyLogsFromBobbycar.py add sd card read and delete commands 2024-07-13 01:30:20 +02:00
logdata_visualization.pde change pinout for teensy41 2024-06-26 20:41:11 +02:00
logfix.py add logfile concatenation and timestamp column 2023-07-12 20:17:27 +02:00

README.md

Bobbycar OSD

This processing software can display log information from the bobbycar in realime.

It is used alongside the controller_teensy firmware. Log information is constantly printed out on one serial interface and can be written either to an sd card or transmitted via rf or bluetooth.

screenshot

OpenLog

Tutorial for OpenLog Serial SD Card logger: https://learn.sparkfun.com/tutorials/openlog-hookup-guide/configuration-file

Only works reliable on 3v3. Using 5v restarts occur (prints 12> over serial and everytime a new file is created).

my CONFIG.TXT content: 115200,26,3,0,1,1,0 baud,escape,esc#,mode,verb,echo,ignoreRX

HC12 433MHz Module

5v or 3v3. Bridge Set pin to ground and power up to enter setup mode. Use Arduino IDE to send commands via serial terminal with 9600 Baud. AT+RX shows current settings.

Use following commands to setup: AT+B115200 AT+C002

Using channel 2 instead of 1, because 1 receive didnt work with two computers.

logfix.py

The bobbycar controller records stats and data in txt files. A new files with an ascending filename is created on boot. The txt file contains a table in csv structure with comments for errors and debugging starting with '#'. logfix.py is used to clean up, fix broken logs and combine them in a valid csv file. Usage: python3 logfix.py --input LOG_0001.TXT LOG_0002.TXT LOG_0003.TXT --output outputlog.csv