did you "play" with an USB key ?


Closed Thread
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2005
    Location
    France
    Posts
    97

    Default did you "play" with an USB key ?

    Hello,
    First best wishes for this new year to everybody !
    Second : I don't want to reinvent the wheel, so my question is :
    Did you "play" with an USB key connected to a "pic"
    I mean, I need a huge amount of datas from an external device
    (which can be programmed first) to feed a PIC in a On Screen Display system
    let say in a OSD page 308 characters are needed (for a full page)
    I want to display more than one page, and the contents is not always the same !
    I want to have an external device, be able to prepare the pages first and connect this unit to my PIC/OSD system !
    May be you have an other solution than USB key ..I2C memory seems too small for this need.
    It is possible to use "USB" command for PBP V2.47 in a "simple" way ?
    thank in advance for your inputs.
    Francois

  2. #2
    Join Date
    Jan 2004
    Location
    Thessaloniki , GREECE
    Posts
    61


    Did you find this post helpful? Yes | No

    Exclamation Pic can ONLY act as Slave and NOT as Master (Host)!

    1st of all ,Happy New year!

    Now to your question:

    You have to know that pic can be used only as 'slave' controller and not as 'master' so i is NOT possible to access devices 'from' the pic like usb sticks etc.
    USB is a "master-slave" bus with exactly one master and multiple slaves.
    The slaves are called peripherals. The master is called a host. Only the
    host can initiate USB transfers; the peripherals (PIC) always respond, never
    initiate!
    Last edited by bitmaniac; - 2nd January 2007 at 17:36.

  3. #3
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default USB story

    Well, thank you for your reply , it's clear
    when looking to this item
    http://www.mecanique.co.uk/products/usb/easyhid.html
    could you tell me if I'm right ?

    PIC (same in this example) is connected to a PC through the USB interface

    Do you think that I will be able to see a "TEXT FILE" in the PC hard disk
    and get the datas with a USBread command (or something else)

    If it is possible, I can prepare the TEXT file with a simple method
    and feed my PIC (with OSD program imbedded) ?

    thanks in advance

    Francois F1CHF

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


    Did you find this post helpful? Yes | No

    Default

    Yup you could dump a .txt, .bin, .hex or else file from your PC to your PIC by building your own PC software.
    Steve

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

  5. #5
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default USB story

    Oh year !
    Sure I can do it that way, the complete story is that the PIC / OSD system is installed ALONE in a TVA repeater (Radio amateur television) and there is no
    PC on the remote site ! that why the solution with the USB key directly
    connected to the PIC will be superb, but if it is not possible
    I will try with BIG I2C eprom ... I will built a USB/I2C key !
    hi ...
    Francois F1CHF

  6. #6
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by F1CHF View Post
    I will try with BIG I2C eprom ... I will built a USB/I2C key !
    I don't know about availability in your location, but I have used the AMTEL AT45DB321C Dataflash very successfully. If you're looking for a large storage, PIC friendly solution, it works a treat.

    Steve B

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


    Did you find this post helpful? Yes | No

    Default

    I knew it reminded me something....

    i don't know how far those one could go...
    http://www.saelig.com/miva/merchant....tegory_Code=FF
    http://www.crownhill.co.uk/product.php?prod=1578
    http://www.crownhill.co.uk/product.php?prod=1556

    but seems to be interesting... worth to read it carefully...
    Last edited by mister_e; - 11th January 2007 at 18:10.
    Steve

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

  8. #8
    Join Date
    Jan 2005
    Location
    France
    Posts
    97


    Did you find this post helpful? Yes | No

    Default I got it ...

    My god, i have too much item now ..
    I have to understand first
    and to order after !

    Thanks for your usefull help.

    Francois

Similar Threads

  1. 8x8 keypad matrix...
    By mbox in forum General
    Replies: 5
    Last Post: - 9th October 2014, 18:43
  2. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  3. Complete Keypad Example
    By T.Jackson in forum Code Examples
    Replies: 18
    Last Post: - 27th July 2011, 19:09
  4. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  5. USB PIC without USB Connection
    By Tissy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 26th December 2005, 17:39

Members who have read this thread : 0

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