Shop OBEX P1 Docs P2 Docs Learn Events
If USB it's Universal Serial Port... May i connect this??? — Parallax Forums

Comments

  • pedwardpedward Posts: 1,642
    edited 2012-01-30 18:46
    Are you asking if the propeller will work over wireless? No, the propeller is not a USB host, among a myriad of other reasons.
  • blittledblittled Posts: 681
    edited 2012-01-30 18:50
    I do not believe this will give you wifi connection to a Propeller. This unit requires a USB Host while the Propeller usually is used as an USB Client through the FTDI USB to Serial chip.

    EDIT pedward beat me to the answer :)
  • jvrproductionsjvrproductions Posts: 61
    edited 2012-01-30 19:02
    Do you know any unit any that may work? i have a project that need wifi communication.....
    Thanks
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-01-30 19:06
    USB is not microcontroller friendly.

    Are you looking for wireless communication devices to use with the Propeller?

    XBees are popular because they are so easy to use but they are kind of expensive. I like the Nordic modules that are available in a variety of formats. I've purchased modules off eBay for about $3 each. I wrote a driver to use these Nordic modules with a Propeller.

    One down side to the Nordic modules is the number of pins required to use them. My current driver requires six Propeller pins. I think it should be possible to reduce this number by one or two. The interupt pin could be eliminated by asking the device if it has received a new message. It might be possible to share the MISO and MOSI pins, but I'm not sure.

    I like these FOBs SparkFun sells with the Nordic chip. I didn't like the four byte payload the FOBs used so I learned to program the AVR chip in it to change the firmware. Having to deal with AVR chips has made me like the Prop even more.

    Phil has written some code that will let you program the Prop wirelessly using XBees. Being able to program a Prop with the Nordic modules is on my to do list, but it's not a high priority right now.

    Edit: Sorry Jose, I hadn't seen the WiFi requirement. Does it have to be WiFi and not some other wireless protocol? SparkFun sells some WiFi modules that should work.
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-01-30 19:16
    While there is a working USB host, a WiFi device will likely never work because the space needed for an IP stack, letalone an 802.11 stack, is just too great for a micro this small to deal with.
  • jvrproductionsjvrproductions Posts: 61
    edited 2012-01-30 19:26
    Thanks for all the replies... We are trying to made a system that will be on our client offices. that system need to do request to mysql or just send http posts. But almost all locations will have wifi...
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-01-30 19:28
    What is your product? There may be a better way to do this. If you can get away with just Ethernet, a Spinneret is probably a good place to start.
  • jvrproductionsjvrproductions Posts: 61
    edited 2012-01-30 20:17
    will be an interface for the customer. the problem its that will be on walls. I am playing with the Spinneret but at the end i will need to go wifi... :-(
    I need to send post to a website and on several location i will not have LAN access
  • CircuitsoftCircuitsoft Posts: 1,166
    edited 2012-01-30 20:48
  • evanhevanh Posts: 16,113
    edited 2012-01-31 02:54
    Just a heads up on the "USB is not uC friendly" - The B in USB stands for Bus, as in an expansion bus.

    USB is not a serial port replacement. It's more like a cheap version of the PCI slots in desktop PCs.
  • LeonLeon Posts: 7,620
    edited 2012-01-31 03:30
    There are small MCUs with USB, such as the 20 pin Microchip PIC18F14K50. It's under $2 in SSOP.
  • evanhevanh Posts: 16,113
    edited 2012-01-31 03:45
    That are USB hosts?
  • Heater.Heater. Posts: 21,230
    edited 2012-01-31 03:47
    evanh,

    That "B" in "USB" always got me. A USB connection is strictly point to point with a "host" at one end and a "device" at the other. To my old mind a BUS is a multi-drop arrangement.
  • LeonLeon Posts: 7,620
    edited 2012-01-31 03:48
    USB OTG is available on somewhat bigger devices. Full host mode isn't often required, but is available.

    Firewire is a proper bus system competing with USB, but the latter seems to have won out over it.
Sign In or Register to comment.