Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Transferring data from SD card on Teensy 3.6 without removing it from the SD port

  1. #1
    Junior Member
    Join Date
    Sep 2017
    Posts
    9

    Transferring data from SD card on Teensy 3.6 without removing it from the SD port

    Hello,

    I am working on a project where I will be writing data from analog pins to a micro SD card on the Teensy 3.6 and the Teensy will be powered by an external battery. In between tests I would like to remove the log file from the SD card without removing the card to plug it into my PC. This may be obvious, but is there any way to do this? Is it possible to transfer data by plugging in a laptop to the micro USB port or is this only for charging? Thanks in advance!

    Greg

  2. #2
    Senior Member pictographer's Avatar
    Join Date
    May 2013
    Location
    San Jose, CA
    Posts
    602
    USB Serial is the simplest. Add a command line interface to your program (sketch). When a command is sent to the Teensy, it responds by printing the contents of the sd card. On the PC, either use a terminal program that does logging or write a program/script that writes to and reads from the USB serial port connected to the Teensy.
    Last edited by pictographer; 01-02-2018 at 11:17 PM. Reason: removed an extra word

  3. #3
    Junior Member
    Join Date
    Sep 2017
    Posts
    9
    Awesome, thanks pictographer!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •