- Raspberry Pi
- Digital & analog sensors
- Development boards
- More +
...where a bunch of geeks got together to make other people's ideas come to life.
This is the CC3000 wifi shield by Adafruit. It uses SPI for communication and 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.
The shield also has a microSD socket and a reset button. 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. The antenna layout is identical to TI's suggested layout and it uses the same components, trace arrangement, and antenna so the board maintains its FCC emitter compliance (you'll still need to perform FCC validation for a finished product, but the WiFi part is taken care of). Even though it's got an onboard antenna we were pretty surprised at the range, as good as a smartphone's.
Each order comes with one fully assembled and tested shield, some male headers for attaching it to an Arduino and a 2x3 female header that you can use to plug it into the ICSP port of a Mega. There is a fully working Arduino library that is based off of TI's codebase but adapted for use with the AVR. It also includes 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.
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 (e.g. connect to a website and grab data) all work and are tested with example code. UDP/TCP server connections are not supported yet!
Adafruit has a great getting started tutorial for this shield.