Wednesday, 15 February 2017

Cave Quad - Finally we can record data

Finally we have the data logger functioning, apparently the original flight controller I was testing on is buggy on the UART 1 lines.

Solder the OpenLog datalogger direct to the flight controller, or via wires if that suits your layout better.

The settings required in Cleanflight are as follows:
 - Enable Blackbox on UART 1, set baudrate
 - Enable blackbox

Data is recorded whenever the craft is armed, and you can verify that it is recording by the flashing LED.

The data that is sent from Cleanflight is in binary format, and is not immediately human readable. The Cleanflight blackbox flight recorder viewer allows you to get a visualisation of some of the data, but it seems to be limited in what it can display.

Instead we are just converting the file into a .csv viewable in excel, as the main thing that we are interested in is the barometer value at the peak of the flight. This is accomplished using Blackbox Tools, and dragging and dropping complete and non-corrupted files onto the blacbox_decode.exe executable. This will give a csv file that includes all of the data embedded in the blackbox log, which includes barometer altitude as well as stick positions, motors etc.


No comments:

Post a Comment