Shop OBEX P1 Docs P2 Docs Learn Events
SX28 with USB port !!! — Parallax Forums

SX28 with USB port !!!

FilipeFilipe Posts: 8
edited 2005-12-07 14:45 in General Discussion
Hello all people,

Any one have experince with USB for SX28 ?

I think is a good ideia to connect other new devices like Bluetooth, etc, etc.

Many thanks from Portugal;


Labtronix

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-11-25 14:14
    I don't think there's enough resources in the SX to be a USB master; you can make it a USB slave by connecting the USB2SER module -- I do this all the time for communications to the PC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-11-25 14:58
    You can use Usbwiz to let the SX be·a USB host.
    http://www.ghielectronics.com/USBwiz.htm
    I am currently writing a class for the Javelin using its Uart interface.
    SPI and I2C are also supported.
    Keyboard, mouse, network and storage devices are supported by the usbwiz.
    An oem board is available.

    regards peter
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-11-25 15:54
    Thanks for that, Peter -- good idea to take the load of a small host like the SX or Javelin with a specialized device.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-11-25 16:08
    Am I correct in thinking that this will allow you to connect a USB mouse to a SX28 for input.

    I am thinking that it might allow the SX28 to drive a robot either directly or via a link [noparse][[/noparse]IR or RF].

    If so, it really is quite appealing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-11-25 16:26
    That's what the manual says. For network you use raw usb commands.
    I hope it allows communication between two usb lan adapters connected
    to two usbwiz oem boards. I believe (some) usb lan adapters can act as an access point
    (so in effect you would have a wireless crosscable network connection).
    regards peter
  • PJMontyPJMonty Posts: 983
    edited 2005-11-25 16:33
    Filipe,

    There is also this page at SxList.com:

    www.sxlist.com/techref/usbs.htm
      Thanks, PeterM
  • jfkjfk Posts: 7
    edited 2005-11-25 20:17
    Okay, my internet connection is weird today. I can't get to the links posted in this thread, so I'm just assuming that the solutions here involve a USB module (I can't even get to the Parallax home page, but I can get to this forum.....weird!).
    Anyway, I do know that Parallax sells USB IC's for a lot cheaper than a module. Anyone have experience with these? Anybody want to post a project?
    In my particular case, I want to make a stand-alone USB box (no computer) that interfaces with a simple HID device. The unit would just have to receive a couple of switches on/off states and only send a few packets of info. Speed is not an issue. It would also have to be as cheap as possible, therefore the IC's look better than a module (even a cheap module).
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-11-25 20:17
    The FTDI chips we sell allow you to create USB slave devices, not USB master.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • jfkjfk Posts: 7
    edited 2005-11-26 22:38
    Jon Williams (Parallax) said...
    The FTDI chips we sell allow you to create USB slave devices, not USB master.
    Well, I finally got a good internet connection and was able to click on all the links.
    The USBwiz device looks cool and would be perfect for me, except the cost.
    Any one use this device?: SL811HS
    Yeah, it would take a lot more programming, but 1/3rd the cost of the wiz.
  • Oliver H. BaileyOliver H. Bailey Posts: 107
    edited 2005-11-28 00:59
    Filipe,
    The Cypress is designed for the type of application your looking at, micro-to-micro. This is how pictbridge works without using a PC host. While it may take additional code the end result would work very nicely. If your doing real USB development, Cypress really does it right. Their USB devices typically allow you to code your entire USB interface within the chip allowing you to use the micro as the workhorse of the system as it was intended. So adding this part to the Sx should require minimal code on the SX and allow the SX to be both a host and slave device.

    Oliver
  • FilipeFilipe Posts: 8
    edited 2005-12-07 14:45
    Many Thanks for all;

    Filipe
Sign In or Register to comment.