Black box openlog datalogger
Used with cleanflight/baseflight, it allows you to get a good picture of what your quad is doing and then make changes to it’s tuning..
Tune with Blackbox, it will change your life
blackbox in cleanflight transmits your flight data information on every control loop iteration over a serial port to an external logging device to be recorded.
The firmware info is here : https://github.com/cleanflight/blackbox-firmware
After your flight, you can process the resulting logs on your computer to either turn them into CSV (comma-separated values) or render your flight log as a video using the tools
blackbox_render. Those tools can be found in this repository:
You can also view your flight logs using your web browser with the interactive log viewer:
To program the board, you will need an FTDI (USB to serial adapter) such as this one: http://quadquestions.com/product/ftdi-usb-connector-usb-to-serial-adapter-silicon-labs-si-labs-cp210x-usb-to-uart-bridge/
An additional unique feature of Blackbox is that it allows you to record your stick inputs and then overlay them to video using the utilities above, so you can sync your video to your stick inputs and get amazing real time information about your flights such as seen in this video by star pilot UmmaGawd:
This board can also be used for other electronics projects besides quads…
Power up this device and it will start logging any received serial data at 9600bps. Sending Ctrl+z three times will drop out of logging and in to command mode. ‘new’ will create a new file. ‘md’ makes a directory. ‘?’ brings up the list of commands. OpenLog doesn’t do a lot, but it does log serial streams extremely well. Example:
>new testfile.txt >append testfile.txt <(send large amounts of text followed by three ctrl+z characters)
That’s really it! OpenLog firmware is open source and is based on Bill Greiman’s sdfatlib. OpenLog currently supports FAT16 and FAT32 microSD cards (we’ve tested up to 64GB!).
- Log to low-cost microSD FAT16/32 cards up to 16GB
- Simple command interface
- Edit config.txt file from a computer to change baud rate and other system settings
- Three modes:
- NewLog creates a new log every power up and immediately starts logging
- SeqLog appends a file called “SeqLog.txt” at every power up and immediately starts logging
- Command mode starts OpenLog at a command prompt at power up
- Configurable baud rates (2400 to 115200bps)
- Configure unit through config file or the menu system
- Power, ground, and RX-I are the minimum connections
- Reprogrammable ATmega328 using the Arduino IDE
- Two LEDs indicate writing status
- Input voltage from 3.3V to 12V
- 2mA idle, 6mA at maximum recording rate
Dimensions: 0.16 x 0.6 x 0.75″ (4 x 15 x 19mm)
- Example Arduino Sketches
- Command Set
- Datalogger comparison
- How to upgrade the firmware
- How do I use GitHub with Windows?
- Illumitune Project (tutorial) (video)
- Github (for latest code, issues, and documentation)
The OpenLog project is housed on GitHub! Please see the wiki for the most up-to-date firmware, feature requests, files, and datasheet specs.