TI’s CC3000 WiFi chip gets a library

About six months ago, Texas Instruments released a simple, cheap, single-chip WiFi module. At $10 a piece in quantities of 1000, the CC3000 is a much better solution to the problem of an ‘Internet of Things’ than a $50 Arduino Ethernet modules, or even the $30 Electric Imp. All indications, especially the frequent out of stock status for the dev board on TI’s web site, show the CC3000 will be a popular chip, but until now we haven’t seen a CC3000 library for the Arduino or other microcontrollers.

[Chris] just solved that problem for us with a CC3000 WiFi library for the Arduino. He ported TI’s MSP430 CC3000 library to the Arduino, allowing even the bare-bones Arduino Uno to connect to a WiFi network with just a handful of parts. The code itself takes about 12k of Flash and 350 bytes of RAM, giving anyone using the CC3000 enough room left over to do some really interesting stuff. There’s even a slimmed down library that uses somewhere between 2k and 6k of Flash, making an ATtiny-powered web server a reality.

There are a few caveats in using the CC3000 with an Arduino; it’s a 3.3 Volt part, so you’ll need a level shifter or some resistors. Also, the chip draws about 250 mA when it’s being used, so you’ll need a beefy battery if you want your project to last an entire day of use.

Now that the library is out of the way, be on the lookout for a CC3000 breakout board. Here’s one, but expect some more on the market soon.


  1. Erick says:

    Spark Core is also providing an Arduino + CC3000 dev board from their already funded Kickstarter.

    • Chris Magagna says:

      Hi, I’m the author of the library.

      I am very excited about the Spark Core too, it seems like it could be the ultimate easy way to get Arduino + WiFi. Unfortunately so far their documentation (http://docs.sparkdevices.com) is really sparse, so at this point I don’t know how much of the CC3000 API they’ll make available to Arduino code or if they’re going to require everything to go “through the cloud”. Also, the Kickstarter’s finished but there’s no specific date on when you can actually buy (and receive) one.

      In the meantime I’ve got the CC3000EM (evaluation module) working with a Teensy 3.0 right now, and it’s pretty fancy.

    • steve918 says:

      The Sparkcore isn’t really an Arduino to me. It’s has a Wiring port that runs on ARM. I believe they are really building on top of the work that Leaflabs did. Don’t expect libraries you download for Arduino to just work. They oftentimes will not because the Sparkcore is an ARM platform and not AVR.

  2. Eric says:

    There is TI’s new boosterpack- http://www.ti.com/tool/cc3000boost

  3. eric says:

    > the Arduino or other microcontrollers
    Oh boy, I hope there will be one for the AVR.. wait… what?

  4. foobar says:

    the only downside is the CC3000 does not support ad-hoc mode.

  5. xorpunk says:

    If you have $10,000 and $5,000 worth of infrastructure this is awesome..

    • Anonymous says:

      You don’t have to buy 1,000 of them at once, that’s just the number you have to buy to get the $10/ea bulk rate. Both Mouser and Digi-Key have them listed for individual sale (though they naturally cost more).

  6. derekb says:

    Yeah, they’re $10 if you buy a thousand of them. They’re more like $20 in single unit quantities, which is the price most readers of this site would be interested in. W

  7. wetomelo says:

    Still costly, i prefer an RT5350F based ready to use UART-WiFi-ETH (soldering and breadboarding friendly! ) module! it’s only $16 in dx (shipping included!), AT-command manageable, so an arduino library it’s an easy task to develop!, TI it’s in good direction but price have to decrease more !!

  8. TacticalNinja says:

    Although impossible, I’d love to see these chips in DIP.

  9. juraganled says:

    I don’t know it is just me or what, but TPlink MR3020 wifi router modded with OpenWRT + little configuration provides more powerful solution at a cheap price (around $20). Especially when local store sells this kind of sophisticated module/parts at a steep price and low stock.

  10. Calum Knott says:

    why would you need a level shifter?
    The Arduino has a 3.3v supply too

  11. eatith mee says:

    Aww the library… Why know anything when someone else can do all your thinking for you… HACKS a day is more like it…

    • eatith mee says:

      Or Arduino story a day…

      It’s no wonder america is failing. Young engineers and techs know absolutely nothing. Why should they? Google, Arduino sketchs and libraries, wikipedia. Never ask them anything they can’t look up… I get tired of teaching people who have electronics degrees – ELECTRONICS. “Which way does this resistor go? I don’t want to get the polarity wrong” “Why are these capacitor things used on the power supply lines?” “Can you show me how to solder?” It never ends… Don’t even get me started on programming… I forgive you if you don’t have a degree, but when you come out here to the work force and show up not know jack shit….

  12. Chouba Nabil says:

    there is already made Ti board it’s 26£
    (in my case : I don’t have equipment to my own PCB :( )


  13. Whatnot says:

    On the power requirements: It is transmitting you know, you just can’t avoid putting some power in to have a range of any significance I expect. Laws of physics apply.

  14. Kushall says:

    any one know how i can send signal to the LHK RM04 from a web page

  15. JESBIN says:

    This link shows file not found


    any one plz help me to get AT commands for accessing web page using hlk-rm04..

  16. e4od says:

    Has this Ti WiFi Library been ported to Spark Core ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 96,459 other followers