USB memory stick


Closed Thread
Results 1 to 15 of 15
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597

    Default USB memory stick

    Hi,

    This is a suggestion for those that like to post samples projects and are in the middle of the USB bug (...waves to Bruce... ).

    How to connect a USB virtual drive to a PIC 18F4550?

    I'm starting to hit the space capacity of the Atmel series of EEPROM chips. I need over 1 meg of storage for my application and the AT24C1024 is becoming tedious to manage. Having to split the data between 8 ICs is something of a pain.

    The great thing with using a USB stick is the easy of expansion. I was considering the SD compact flash cards, but since I'm in the middle of adding USB to my project, I figure, what's another USB I/O?

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default

    USB 2.0 memory stick, 128meg, $4.99 USD.
    http://cgi.ebay.ca/ws/eBayISAPI.dll?...tem=5216020151

    When you compare the price of the Atmel chips with the USB sticks, USB comes out miles ahead.

    I was considering the SD before because of the high capacity, available circuitry and ability to be read from Windows Explorer. The down side is that it requires a special reader to be connected to the PC. The USB stick can be swapped between PC and project at will.

    (..I feel like a lobbyist scurrying around parliament...)

    Robert
    Last edited by Demon; - 9th July 2005 at 17:36. Reason: Added link.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    Can a pic host USB stick?

  4. #4
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default

    I sure hope so. I'd be disappointed if the PIC only supports PIC-PC USB communication.

    If the PIC has true USB capability I don't see why it can't talk to a USB memory stick, unless it only has a subset of the required code.

    But you're right, it's possible it can't. There's no mention whether it can or cannot act as a host. I'm really hoping for one of the powers-that-are to step in, slap me silly and settle the matter.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  5. #5
    Join Date
    Feb 2005
    Location
    Saltburn by the Sea
    Posts
    23


    Did you find this post helpful? Yes | No

    Default

    > I sure hope so. I'd be disappointed if the PIC only
    > supports PIC-PC USB communication.

    The PIC can be configured as a USB 'peripheral' device, but not as a USB host device.

  6. #6
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Check out USBWiz in this thread http://www.picbasic.co.uk/forum/showthread.php?t=1888


    Don't think it's available yet, but looks like it will make life a lot easier for us.

  7. #7
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default

    Thanks David, not I wanted to hear, but at least now we know for sure.

    I guess it's back to the SD card then.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  8. #8
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default

    I'm kinda interested in HIDMaker FS:
    http://www.tracesystemsinc.com/usb_tools.ivnu

    ----------------------------------------
    Not merely a function library that you have to figure out: HIDmaker FS generates complete, fully functional programs, for both PC and PIC, that you can just compile and run in minutes!

    Full speed 18F4550 family:
    - MPASM
    - PicBasic Pro

    Low speed 16C765 family:
    - PicBasic Pro
    - MPASM

    Can create standard USB HID devices (e.g. keyboards, mice, joysticks) that can be read directly by Windows. Can automatically create special devices, too:
    - Devices with multiple USB Interfaces.
    - Soft Detach Devices with multiple personalities
    ----------------------------------------

    A tad expensive though, $599 USD. But if the software does as much as it claims, it seems rather interesting.

    Robert
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  9. #9
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Demon
    USB 2.0 memory stick, 128meg, $4.99 USD.
    http://cgi.ebay.ca/ws/eBayISAPI.dll?...tem=5216020151
    What a bargain!
    shipping is ONLY $15 USD

    So in Total ONLY $19.99 USD

    I guess you missed to read the smallprint.
    Last edited by Demon; - 4th October 2016 at 18:16.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  10. #10


    Did you find this post helpful? Yes | No

    Talking Mecanique Version of HIDMaker

    Hi,

    Mecanique makes a totally free version of HidMaker.
    They call it "EasyHID" and it works with PicBasic Pro and Proton (PDS).

    http://www.mecanique.co.uk/products/usb/easyhid.html

    It generates both the PIC and the PC code for either VC++, VB6, or Delphi (whatever you choose).

    So, save your money!



    Cheers!
    Last edited by picnaut; - 11th July 2005 at 21:06.
    ---> picnaut

  11. #11
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by picnaut
    Hi,

    Mecanique makes a totally free version of (something like) HidMaker.
    Yeah but...

    Quote Originally Posted by David Barker
    > I sure hope so. I'd be disappointed if the PIC only
    > supports PIC-PC USB communication.

    The PIC can be configured as a USB 'peripheral' device, but not as a USB host device.
    So that doesn't fix the problem at all. Flash card will be the way to go i guess.
    Last edited by mister_e; - 11th July 2005 at 21:10.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  12. #12


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Yeah, I know.
    I just thought I'd mention it though, since somebody mentioned something similar that cost $599. I know that you need Microcode Studio to use it, but that is still a far cry from $599. MCS is worth the money even without EasyHID.

    Last edited by picnaut; - 11th July 2005 at 21:11.
    ---> picnaut

  13. #13
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default i'd already posted it few weeks ago but!!!

    http://www.picbasic.co.uk/forum/showthread.php?t=1920
    Thanks for the remainder Picnaut

    Since USB HIDMakers softwares and USB PIC are still a new area for many here, we will see many question in a few.

    Quote Originally Posted by picnaut
    MCS is worth the money even without EasyHID.
    Oh yeah i agree 100% For bootloader, serial communicator and the list is still long. I can't live without bootloader now, even if ICSP also do the job as well.
    Last edited by mister_e; - 11th July 2005 at 21:16.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  14. #14
    G8RPI's Avatar
    G8RPI Guest


    Did you find this post helpful? Yes | No

    Default USB AND SD in one

    Sandisk have just started selling a SD card with a USB interface built in,
    http://www.dpreview.com/news/0501/05...disksdflip.asp

    Robert G8RPI.

  15. #15


    Did you find this post helpful? Yes | No

    Thumbs up

    Quote Originally Posted by G8RPI
    Sandisk have just started selling a SD card with a USB interface built in,
    http://www.dpreview.com/news/0501/05...disksdflip.asp

    Robert G8RPI.
    Now, that's cool!

    This is definitely the way to go!



    Cheers!
    ---> picnaut

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. Flash Memory Cards, USB sticks and Excel
    By timmers in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 4th October 2008, 22:46
  5. USB memory - How to?
    By Ikarus in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th December 2004, 10:37

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