pcDuino - WiFi Dongle

Want to free your pcDuino from the oppression of wired networking? This USB Wifi dongle has been tested to work with the pcDuino, simply plug it into the USB port and you're ready to connect to a nearby wireless network!

Note: We've found that this also works well with the BeagleBone Black as well as the Raspberry Pi!

  • 2" x 0.5"

Tags

pcDuino - WiFi Dongle Product Help and Resources

Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

1 Electrical Prototyping

Skill Level: Noob - You don't need to reference a datasheet, but you will need to know basic power requirements.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • btipling / about 9 years ago / 1

    I got this working with the BeagleBone Black after following following the instructions from Adafruit [1]. Depending on the location in my house though the latency can be high, like 600ms! but sometimes it's really good. I did have to disable the HDMI connector as in the link and I also had to update the kernel and use the script provided in the link. Then it just worked!

    [1] https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black/hardware

  • cyclicredundancy / about 12 years ago / 4

    If I am readin the model number correctly that chip says Ralink RT5370.

    A few google searches with that model number say that this should also work with a raspberry pi. Unless I am missing something?

    http://elinux.org/RPi_VerifiedPeripherals

    • wsanders / about 11 years ago / 1

      Yes - does it work with Raspberry Pi? What is current requirement?

      • wsanders / about 11 years ago * / 1

        Still working on getting it working with "Raspbian GNU/Linux 7". It might be a power thing, my power supply is rated at 700 ma and the Wifi might need more power. It associates OK, gets an IP address OK, then immediately disconnects. This process repeats itself over and over. Also FWIW wpa_supplicant requires you to broadcast your SSID (there may be a workaround):

        [code] Sep 25 23:03:30 pi-w wpa_action: creating sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid Sep 25 23:03:30 pi-w wpa_action: bssid=00:21:29:a9:39:b7 Sep 25 23:03:30 pi-w wpa_action: ssid=NSAMONITORINGSTATION Sep 25 23:03:30 pi-w wpa_action: id=0 Sep 25 23:03:30 pi-w wpa_action: mode=station Sep 25 23:03:30 pi-w wpa_action: pairwise_cipher=TKIP Sep 25 23:03:30 pi-w wpa_action: group_cipher=TKIP Sep 25 23:03:30 pi-w wpa_action: key_mgmt=WPA2-PSK Sep 25 23:03:30 pi-w wpa_action: wpa_state=COMPLETED Sep 25 23:03:30 pi-w wpa_action: ip_address=192.168.1.106 Sep 25 23:03:30 pi-w wpa_action: address=00:c3:16:a0:c3:ce Sep 25 23:03:30 pi-w wpa_action: WPA_IFACE=wlan0 WPA_ACTION=DISCONNECTED [/code]

        • wsanders / about 11 years ago / 1

          Looks like it was just a matter of signal strength - where my laptop was reporting about -70 dB signal strength, the dongle was reporting over -90. It has a little dinky antenna, so reduced range is expected.

  • Macro / about 12 years ago / 2

    Could this be wired up to an Arduino?

    In comparison to the Arduino Wi-Fi Shield this thing is really cheap if you don't need the micro SD slot.

    • MikeGrusin / about 12 years ago * / 3

      It's possible in the same vein that a lot of things are possible, but it wouldn't be easy.

      PC's (including the PCDuino, Raspberry Pi, etc.) are USB "hosts", and run the complex driver software that makes things like this WiFi dongle work. Everything else are "devices", including the Arduino. So it's kind of like plugging a "device" into a "device" - in general it doesn't work out.

      The fine print is that in some cases, the Arduino can act like a "host", using special software tricks (like the 32U4 and other USB-agile Arduinos being able to both emulate and host keyboards, mice, joysticks, etc.), or plugging in a Host Shield, for which some people have written sketches to control very specific devices. If someone has written a USB host sketch that supports this specific dongle chipset (there are a lot of them out there) then yes it could work. But other than that, one of the shields or the Electric Imp, though more expensive, is the easier way to go.

      EDIT: fixed Arduino host example

      • Macro / about 12 years ago / 2

        Thanks for the info.

        According to the people on the other end of the Projects and code link that you provide on your Host Shield product page; "Future plans include development drivers for communication devices, such as WiFi and cell phones, and support for other USB Host controllers."

        This is great!

        They mention a "USB Host Mini" which would be perfect for my application. Will you be selling these eventually?

        Also, would you please tell us the "specific dongle chipset" as it is hard to read the chip name in the product pictures.

        Thanks.

      • Member #419535 / about 12 years ago / 1

        Ummm... "PC's (including the PCDuino, Raspberry PI, etc.)..." Yeah, these are not PCs, they're both ARMs. PCs use the x86 or x86_64 architecture, and these don't.

        Sounds like you're confusing USB hosts and USB devices, too. A keyboard or mouse is still a guest device, not a host. What am I missing?

        • MikeGrusin / about 12 years ago / 3

          Despite the "PC vs. Mac" ads, PC still stands for Personal Computer, and it is used to differentiate between machines that run full operating systems and have significant resources vs. microcontrollers that don't. From Wikipedia: "Personal computer, a computer whose original sales price, size, and capabilities make it useful for individuals. Commonly running either Windows, OS X or Linux." The important thing here is that while you may be able to host certain simple USB devices with a microcontroller, it's much more difficult to host complex or arbitrary devices given the limited resources of a microcontroller.

          And you're right that I didn't state the keyboard/mouse example correctly (sorry, we're busy here!), I'll edit it as soon as I get to a PC.

    • wsanders / about 11 years ago / 1

      Not really, you need a USB driver and an Ethernet (and probably IP and TCP/USB) protocol stack, which would not be likely to fit in an Arduino (maybe a Mega).

      The Arduino Wifi shields are expensive because the TCPIP stack is offloaded to the shield (it probbaly lives on the Wifi module itself, like the Wifly GSX module), so all the Arduino has to do is exchange serial data with the shield. The shield then takes care of the rest.

    • The Doctor Doge / about 12 years ago / 1

      If you have a usb host shield or Arduino ADK, you could test the dongle with the usb library https://github.com/felis/USB_Host_Shield_2.0 Supposedly there's wifi support in there

  • How much current does this draw?

    • pcDuinoer / about 12 years ago / 1

      It draws 200 mA in its peak use.

      • M-Short / about 12 years ago / 1

        USB ports only provide 500mA (chargers for phones might do more) so don't expect to ever get more than that. 200mA sounds much closer to being accurate.

      • That makes much more sense!

    • NathanJSeeley / about 12 years ago / 1

      USB usually draws 5V at around 1amp. the Asus wifi adapter I had drew about 0.7 amps. don't know about this one though

      • An amp? That's a lot for a little wifi adapter! I was expecting 500 mAh most especially since it was made for the pcDuino

  • free-bee / about 12 years ago / 2

    Can this work with any PC? My dad was looking for one for one of our computers, but all I could find was in the $40+ range.

    • NXTreme / about 12 years ago / 3

      You can find some good quality mini USB WiFi adapters for ~$15 on Amazon. If you want to get one with an external antenna (much greater range and speeds) they aren't much more.

    • Sleepwalker3 / about 12 years ago * / 1

      Try Dx.com, type wifi usb2, they have heaps much cheaper, but read the reviews first (or look at reviews stats) and decide based on those if you want to buy there.

      @cyclicredundancy - Farnell has one cheap specifically for the Pi for about $22 with a case.

    • Yeah it should be able to, but if you want cheaper with pretty good range, look up mini wifi adapters -here-

  • Broken Robot / about 11 years ago / 1

    What is the wifi range on this?

  • Cryocrat / about 11 years ago / 1

    I found a data sheet for this thing if anyone's interested!

    http://pub.ucpros.com/download/wifi_pcduino_spec.pdf

  • Juvs / about 11 years ago / 1

    This Dongle works in android?

  • Parizival / about 11 years ago / 1

    Is there a tutorial or datasheet on this?

  • TheDoc / about 11 years ago / 1

    I took a gamble and ordered two of these, for my Raspberry Pi's. Under Raspian, there's the wifi config tool on the desktop. I used that to configure and it worked immediately with my Apple Airports. So, as far as Raspberry Pi's are concerned, these wifi adapters would seem to work out of the box. The signal strength doesn't seem so great, but it works well enough for me. More importantly, it seems stable. I was a bit concerned the Pi's USB ports wouldn't source enough current, but since it's stable, I think it's fine. I guess it could crap out during a massive file transfer or something and possibly warrant running off of a powered hub, but I haven't needed one yet.

  • AGuiera / about 11 years ago / 1

    I would like to know about features of this dongle. It's support IEEE 802.11 b/g/n standards?

    Thanks in advance

    Anderson

  • SamAtDatometer / about 12 years ago / 1

    I wonder if there is a way of getting something like this (or another WiFi Dongle) to work with a IOIO board with minimal or no modifications to the IOIO firmware. Any ideas?

  • tonyvr / about 12 years ago / 1

    Be sure to pick up a heatsink for this at the same time -- mine didn't work reliably without one. It works great now, though.

  • Member #310719 / about 12 years ago / 1

    What is the range on this dongle?

  • Member #116780 / about 12 years ago / 1

    I have setup the wireless connection just like in the sparkfun tutorial but in the Wireless Network status menu it just says 'device not ready.'

    If I plug the dongle in I see this in dmesg

    1627.460000] RTUSBVenderReset

    [ 1629.230000] Error! The chip does not support 5G band 15!

    [ 1629.580000] RTMPSetPhyMode: channel is out of range, use first channel=1

    [ 1629.590000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]

    [ 1629.670000] !!! rt28xx Initialized fail !!!

    [ 1629.680000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]

    [ 1629.680000] NICLoadFirmware: firmware loaded already

    [ 1629.680000] MacReg = f80, isMCUnotReady

    [ 1629.680000] -->RTUSBVenderReset

    [ 1629.680000] Error! The chip does not support 5G band 15!

    [ 1630.030000] RTMPSetPhyMode: channel is out of range, use first channel=1

    [ 1630.030000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]

    [ 1630.110000] !!! rt28xx Initialized fail !!!

    [ 1630.110000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]

    [ 1630.110000] NICLoadFirmware: firmware loaded already

    [ 1630.110000] MacReg = f80, isMCUnotReady

    [ 1630.120000] -->RTUSBVenderReset

    [ 1630.120000] Error! The chip does not support 5G band 15!

    [ 1630.490000] RTMPSetPhyMode: channel is out of range, use first channel=1

    [ 1630.490000] (Efuse for 3062/3562/3572) Size=0x2d [2d0-2fc]

    [ 1630.580000] !!! rt28xx Initialized fail !!!

    • pcDuinoer / about 12 years ago / 1

      I would give you the same suggestions as above.

      an you check your OS version? $ cat /proc/version If it is the latest 3.4.x, there is the patch that can fix the WiFi issuer here. Please check http://www.pcduino.com/?page_id=14 Find: WiFi Patch for 04-04-2013 release, Release Note. Note: Fix the WiFi issue for pcDuino WiFi dongle.

  • raygeeknyc / about 12 years ago * / 1

    Does anyone actually have this working? When I plug mine in, whether or not I bring up the wlan0 interface, I get the following log entries in dmesg every few seconds

    dweeno kernel: [ 5768.434503] AsicAdjustTxPower: Incorrect desired TSSI or current TSSI
    dweeno kernel: [ 5772.433640] GetDesiredTssiAndCurrentTssi: BBP TSSI INFO is not ready. (BbpR47 = 0x94)
    

    • pcDuinoer / about 12 years ago / 1

      Can you check your OS version? $ cat /proc/version

      If it is the latest 3.4.x, there is the patch that can fix the WiFi issuer here. Please check http://www.pcduino.com/?page_id=14

      Find: WiFi Patch for 04-04-2013 release, Release Note. Note: Fix the WiFi issue for pcDuino WiFi dongle.

      • Member #411720 / about 11 years ago / 1

        I have the dongle working, but I still get the two messages shown above every 8 to 12 seconds. I looked at the page referenced with the patch and didn't see the link referenced for the rt5370sta.ko module. But, looking at my system, that is the module that is loaded and running. I have some other pcDuinos that came with the ASUS N13 dongles. They work fine and no error messages.

  • Member #210216 / about 12 years ago / 1

    Hey can we hook this guy up with an external 9dBi antenna (like this one: ?http://www.amazon.com/2-4GHz-9dbi-Rubber-RP-SMA-Antenna/dp/B0044DX59M/ref=sr_1_4?ie=UTF8&qid=1362446888&sr=8-4&keywords=9dBi+RP-SMA+antenna+d-link

    Do you also carry the connector/adaptor for the antenna and where do we need to solder on the wifi dongle to hook it up? Thanks!

    • pcDuinoer / about 12 years ago / 1

      The dongle has the on board antenna. If you want to go with external antenna, you need modify the PCB to disconnect the internal antenna besides soldering the SMA socket.

  • bfesser / about 12 years ago * / 1

    It would be nice if you carried clear heat-shrink tubing in a size that could be shrunk around the PCB on this. Like the food-safe stuff Adafruit carries but a little wider. example

  • Does it do N-style networking

Customer Reviews

No reviews yet.