Skip to content

humulabs/reaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reaper

Arduino library and python utility to transfer files off an SD card using a Serial port. The main use case is recovering sensor data from a sealed data logger that does not have wifi or easy access to the SD card itself.

Install

  1. install Arduino IDE 1.6.7
  2. install SdFat-beta Arduino library
  3. Install RTCZero library https://github.com/arduino-libraries/RTCZero
  4. install Reaper Arduino library
  5. make install

Loading Firmwmare

  1. adjust port and paths to Arduino in Makefile
  2. run make
make compile

The SKETCH_DIR and SKETCH env vars tell make where to find sketches and what sketch to use. For example to build a sketch in the sketches dir:

SKETCH_DIR=sketches SKETCH=bench make compile

Running

run interactively

sdreaper -p /dev/tty.usbmodem1421

list files on SD card

sdreaper -p /dev/tty.usbmodem1421 'ls'

copy file from SD card

sdreaper -p /dev/tty.usbmodem1421 'cp small.dat'

Sample test data

Mount SD card on Mac to copy sample files.

cd sample_data
SD_CARD=/Volumes/YOUR-CARD make

Empty Mac Trash and eject from finder. Not strictly necessary but if without these steps the annoying .Spotlightxxx files may not get removed from SD card.

sketches

Misc Programs used for development of Reaper. Some may become Reaper examples, some will get tossed.

3rd Party

License

MIT License

About

Arduino library and command line utility to download and delete SD card files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •