Item Name:SD Card
1. It’s faster– 4 bit SD interface clocked at 19.2MHz with DMA.
2. It has buffer memory to ride out times when the SD card is busy– 125kbytes in current firmware.
3. It fits in a smaller form factor.
4. ESD protection (series resistors) on input pins.
5. And it has a flip-up microSD connector that is better at retaining the card in crashes and hard landings.
6. OpenLager is easy to use with async serial. First, wire according to the diagram below (an example of an OpenPilot-style connector is in the drawing). Note that you should attach the flight board’s TX to openlager’s RX pin!
OpenLager has an onboard regulator and can be powered with 3.3-5.5V (the regulator dropout voltage is low enough that the SD card will still work properly at 3.3V input).
Next, insert an microSD card and apply power. (Recommended card:Extreme Pro 8GB )
Remove power; remove the card, and attach it to your computer. You’ll find openLager has written a file to it called lager.cfg
The important field to change is baudRate — set it to the speed of the serial you’ll be using for logging. dRonin supports 115200, 250000, 1500000, 2000000, and 2470000 bits per second. Cleanflight prefers 250000 bits per second, etc.
The green LED is on always when power is applied, and the red LED blinks with activity when the card is writing. After 200ms of inactivity, the buffers on openLager will be forcibly flushed. If power is suddenly removed, the file may not be completed in the filesystem; this can be changed by setting preallocGrow to ‘true’ at the possible cost of garbage being present at the end of the file in this scenario.
The firmware for openlager may be updated by putting an appropriate firmware image called lager.bin on the card.
1 X SD Card Data Logger
OpenLager 4 Bit SD Card Data Logger interface Clocked at 19.2MHz with DMA for RC Quadcopter Flight Controller