datalogging from pic16f877a to usb-stick


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    5

    Default datalogging from pic16f877a to usb-stick

    I've got a tricky project involving a gps receiver sensors and a pic16f877a.
    I would like to receive gpscoordinates and store it on a usb stick with data from different sensors attached to a motorcycle. Its a datarecording system. The tricky part is the datastorage cause pic hasn't enough memory.

    Does anyone kno how to connect a usb stick to a pic16f877a and how to send data to a memorystick?

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by arie View Post
    I've got a tricky project involving a gps receiver sensors and a pic16f877a.
    I would like to receive gpscoordinates and store it on a usb stick with data from different sensors attached to a motorcycle. Its a datarecording system. The tricky part is the datastorage cause pic hasn't enough memory.

    Does anyone kno how to connect a usb stick to a pic16f877a and how to send data to a memorystick?
    Not to a memory stick. But how about to an SD card?
    Take your PIC, get the datalogging working, hook it up to a "DOS-On-Chip" chip (www.sparkfun.com, search for Dos-On-Chip), add an SD card slot, start datalogging. Take the card out of the slot, put card into card reader at your PC.

    Probably a hundred ways to do this...You can have it 2 of 3 ways...
    Cheap and simple, but it won't be good...
    Cheap and good, but it won't be simple...
    Simple and good, but it won't be cheap...

  3. #3
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298

    Smile the site’s search function

    Hi arie,

    Welcome to the forum.

    Some of the beginner’s answers can be found using the site’s search function.

    For instance this previously posted answer. It refers to a “Bluetooth device” but applies to PICs hosting USB in general.

    Quote Originally Posted by PJALM View Post
    As far as I know PICs can only be used as a USB Device not a USB Host as you would require to connect the USB Bluetooth device. To do this you would need to get a USB Host controller and connect it to the PIC. Unfortunatly I havn't seen anyone do this yet but if I do I will post more info.
    http://www.picbasic.co.uk/forum/showthread.php?t=3119

    skimask is correct not a simple task.

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  4. #4
    Join Date
    Apr 2007
    Posts
    5

    Default

    Thank you very much for the help.
    Can you write data from pic to dos on chip module just using hserin or is it much more complicated?

    thanks a lot

  5. #5
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by arie View Post
    Thank you very much for the help.
    Can you write data from pic to dos on chip module just using hserin or is it much more complicated?

    thanks a lot
    The datasheet is right there at www.sparkfun.com

  6. #6
    Join Date
    Apr 2007
    Posts
    5

    Default about dos on chip

    I read the datasheet for the dosonchip, but how do you read and write data from the sd chip\?

    Do you need to tell which memory adress you want to write or read or is this done automatically with hserin hserout?

    i use pic basic pro

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  3. Replies: 0
    Last Post: - 6th March 2009, 07:52
  4. Usb X Pic16f877a
    By LLEEDD in forum USB
    Replies: 2
    Last Post: - 30th December 2007, 21:52
  5. USB memory stick
    By Demon in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 12th July 2005, 20:57

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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