Simplest way to write to USB stick or TF/SD card with PBP?


+ Reply to Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    886

    Default Simplest way to write to USB stick or TF/SD card with PBP?

    Hello.
    There are numerous of SD/TF/USB stick adapter boards for hobby purposes.
    I have couple of UBS stick datalogger by parallax, which are super easy to use, but they're not made anymore and were very expensive during it's time.
    There are some modules for TF card, USB flash drive, which seem to have support on Arduino and other platforms. like this one: https://hallroad.org/arduino-disk-re...-pakistan.html
    So the question is, had anyone used these with PBP? which one is easiest to use in terms of resources and programming skills?
    I need simple operation: Create text file with name of current time-date and write some logger data into it. That's all, no file reading, deleting, creating and so on.
    So will be this doable with 16F series chips, or I'll definitely need PIC18 and so on?

  2. #2


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Simplest way to write to USB stick or TF/SD card with PBP?

    I didn't know these existed. I found this document which shows that it can be interfaced in 8bit parallel, SPI or UART. Which means you can probably use a pic16 for a simple data logger. A may order a couple to see how they work.

    https://www.mpja.com/download/ch376ds1.pdf

  3. #3
    Join Date
    Feb 2013
    Posts
    886


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Well there are several solutions capable of doing this. FTDI has this: https://www.ftdichip.com/old2020/Products/ICs/VNC2.htm
    I've bought ones made by Parallax back in 2011, and they were around $45 ea now prices are about 8 times lower...

  4. #4
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    637


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Simplest way to write to USB stick or TF/SD card with PBP?

    I had a PBP project to write to a SD card and it worked. That was many years ago and I don't remember the details of it, but it works. Attached is the sample code that I downloaded from the internet. Just change the file extension to PBP or copy paste the code into your program.


    sdfs3.zipsdfs3.zip
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,427


    2 out of 2 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: Simplest way to write to USB stick or TF/SD card with PBP?

    For data logging type applications I've had great success with the OpenLOG. Just send it ASCII data over a UART line and it will write it to a .txt file on an microSD card.

  6. #6
    Join Date
    Feb 2013
    Posts
    886


    Did you find this post helpful? Yes | No

    Default Re: Simplest way to write to USB stick or TF/SD card with PBP?

    Thanks!
    Any sample PBP code?
    for OpenLOG ?

Similar Threads

  1. PBP registration does not stick, still unregistered
    By Heckler in forum FAQ - Frequently Asked Questions
    Replies: 3
    Last Post: - 28th June 2017, 05:04
  2. Replies: 0
    Last Post: - 6th March 2009, 07:52
  3. simplest usb bootloader pbc solution ??
    By f_lez in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 12th December 2007, 16:09
  4. Replies: 9
    Last Post: - 10th April 2007, 19:22
  5. USB memory stick
    By Demon in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 12th July 2005, 20:57

Posting Permissions

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