Skip to content

Logging Temperature and Humidity Online with an Arduino, DHT11, and Adafruit CC3000 WiFi breakout

We have been wanting to play with the Adafruit CC3000 WiFi device for Arduino, which is available as a Shield or a Breakout.  With this device, you can add WiFi capability to your Arduino projects!

A friend of Chicago Electronic Distributors, Marco Schwartz, put together a great tutorial on how to use a DHT11 with the CC3000 and then track the Temperature and Humidity data on Xively.  Xively is a free host for data tracking and it is very easy to use.  Marco's project has also been posted on Adafruit in a slightly easier to use format.  Pro tip: review his code on Adafruit and then download the code from GitHub and modify the code as necessary (put in your WiFi info, etc).  Otherwise you might miss something!

We could not be more pleased with how easy this project was to accomplish or how powerful the data is.  There are so many other ideas we would like to implement using this project as a basis.

Really the only issue we had along the way was not copying the code correctly from Adafruit (like we said, just download it from Github) and then we had a hard time getting the Arduino to run standalone.  Every time we disconnected the USB the Arduino would act like it was running but no data would get posted.  Turns out we were using a 5V wall wart instead of a 9V wall wart.  

Next steps will be to miniaturize the Arduino and deploy these in a few other places.  For now we are tracking temperature and humidity in my house, below are some plots and a picture of the project.  Note that it was originally in Celsius which is why you see big jump in the data. 

Want to buy the kit?  Check it out in our store!

 

Previous article Lower International Shipping Rates!

Comments

Craig - December 30, 2014

As of December 2014, we do not do business with Sparkfun, so I could not tell you how well their products work. What I can say is that the Adafruit CC3000 works very well and I would encourage you to check it out. Let us know if you find a Xively alternative that works. I know Adafruit is working on their own platform, it should be pretty awesome when it comes out!

Barton Smith - December 14, 2014

Unfortunately, I don’t think Xively offers this service anymore. I’ve been unable to get Sparkfun to work. Any other alternatives out there?

Craig - May 1, 2014

We would recommend checking out the Adafruit tutorials for their 7-Segment displays with LED Backpack.

siraj - February 3, 2014

in this project if i adding LCD shield then how i will write the coding for it?

Leave a comment

Comments must be approved before appearing

* Required fields

Compare products

{"one"=>"Select 2 or 3 items to compare", "other"=>"{{ count }} of 3 items selected"}

Select first item to compare

Select second item to compare

Select third item to compare

Compare