For years we’ve seen all sorts of microcontroller-friendly WiFi modules but none of them were really Adafruit-worthy. Either they were too slow, or too difficult to use, or required signing an NDA, or had limited functionality, or too expensive, or too large. So we shied away from creating or developing a WiFi Arduino shield.
The CC3000 hits that sweet spot of usability, price and capability. It uses SPI for communication (not UART!) so you can push data as fast as you want or as slow as you want. It has a proper interrupt system with IRQ pin so you can have asynchronous connections. It supports 802.11b/g, open/WEP/WPA/WPA2 security, TKIP & AES. A built in TCP/IP stack with a «BSD socket» interface. TCP and UDP in both client and server mode, up to 4 concurrent sockets. It does not support «AP» mode, it can connect to an access point but it cannot be an access point.
We wrapped this little silver module in a tidy Arduino shield. It has an onboard 3.3V regulator that can handle the 350mA peak current, and a level shifter to allow 3 or 5V logic level. This version of the CC3000 breakout does not have an onboard antenna — instead we placed a standard uFL connector so that an external 2.4GHz antenna can be used. You will need to purchase a uFL to RP-SMA adapter cable and a 2.4GHZ ‘WiFi’ antenna to use! See below for these items. This option can give you better range and makes it easier to enclose in a box. We use the same route and layout as TI’s eval board, however, this module is no longer automatically FCC certified when an external antenna is used.
Each order comes with one fully assembled and tested shield, some male header for attaching it to an Arduino and a 2×3 female header that you can use to plug it into the ICSP port of a Mega. We don’t have a detailed tutorial yet but to get you started, we’ve got a fully working Arduino library that is based off of TI’s codebase but adapted for use with the AVR. We also have example code showing how to scan the SSID’s, connect to your access point and run DHCP, do a DNS lookup to IP address, ping a site and connect to a remote TCP socket such as a website and print out the page.
Please note the hardware is good, but the library code does not yet support all of the CC3000’s functionality. SSID scanning, connection, DHCP, DNS lookup, ping, and UDP/TCP client connections (eg connect to a website and grab data) all work and are tested with example code. UDP/TCP server connections are not supported yet! Check out our tutorial for wiring and Arduino library downloads.
For use with Arduino Uno & Mega only at this time.
Max Dimensions: 68.61mm / 2.7″ x 53.38mm / 2.1″ x 2.87mm / 0.11″
List of wifi access points used to test the CC3000 (by TI, not verified by Adafruit)
Using an Apple Airport? Check this thread for details on how to set it up for use with the CC3000