SDLogger SPI Direct

From PaparazziUAV
Revision as of 05:11, 23 November 2015 by BartSlinger (talk | contribs)
Jump to navigation Jump to search

Introduction

The direct SPI SD Logger is originally designed to be used with the Lisa/S, but should also be compatible with other supported autopilots. It connects directly to the SPI bus of the autopilot and communicates using the SDCards SPI interface. This method is slower than when using it in SD mode, but the speed is sufficient to log IMU data at 512 Hz.

Hardware

Lisa/SD module

Installation

The SD Card needs to be connected to the SPI bus of the autopilot. The pinout for an SD Card is shown in the figure.

  • VSS = Ground
  • VDD = 3.3V
microSD pinout (source)


Lisa/SD

A SuperbitRF-sized PCB connects the SD card to the Lisa/S. Additionally, this PCB has pads to connect a Deltang R31d RC receiver and a molex connector for general purpose.

Lisa/SD module with Deltang R31d

Software

Retrieving the data

A logger is of no use if one can not easily retrieve the logged data. To make this a simple reality there is an app for that.

  1. Connect the FTDI cable to the computer and autopilot.
  2. Plug the battery or external power to the autopilot.
  3. Start the logger download tool.

The tool is found in sw/logalizer.

./sdlogger_download -a <AC_ID> -p /dev/ttyACM1 -b 115200

where <AC_ID> is your aircraft ID.


Using it

Example on Lisa/S rotorcraft

Exmaple on Lisa/M fixedwing