Difference between revisions of "SDLogger SPI Direct"

From PaparazziUAV
Jump to navigation Jump to search
Line 27: Line 27:
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.  
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.  


Go to your PPRZ center and in the Tools menu choose > SD log tool
# Connect the FTDI cable to the computer and autopilot.
# Plug the battery or external power to the autopilot.
# 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=
=Using it=

Revision as of 06:11, 23 November 2015

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