This is in continuation to my earlier post here:

Wifi on Nano v3.0 ATmega328P-20AU Board

What if I got a USB hub and connected a wifi USB dongle. Will that provide wifi functionality?

  • \$\begingroup\$ You are probably better off with a module like for example WiFly as the required drivers for these modules are far more 'embedded system friendly'. \$\endgroup\$ – jippie Jun 30 '14 at 5:19
  • \$\begingroup\$ I think with that price tag of $34 I might as well buy a raspberry pi model b for $39 and get wifi+sd+cpu. A mcu would only make sense if it offered wifi under $20. But good post! \$\endgroup\$ – Syler Jun 30 '14 at 6:00

The ATmega328P on its own has neither USB host nor USB OTG capability. Connecting a USB device to it will have no effect. Either get a SPI Wi-Fi module such as something based on the CC3000 instead, or select a MCU with OTG capability such as the AT90USB1287.

|improve this answer|||||
  • \$\begingroup\$ your correct. But I can't find a development board with that MCU. \$\endgroup\$ – Syler Jun 30 '14 at 4:34
  • 1
    \$\begingroup\$ store.atmel.com/PartDetail.aspx?q=p:10500313#tc:description \$\endgroup\$ – Ignacio Vazquez-Abrams Jun 30 '14 at 5:06
  • \$\begingroup\$ Remember you need, apart from USB hardware support, some drivers if you connect a module through USB. WiFi device drivers under Linux are already often dramatic, let alone if you need to write your own on an embedded platform. If you want to travel the USB road, be very sure you have all the required drivers (sources) available. \$\endgroup\$ – jippie Jun 30 '14 at 5:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.