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

December 01, 2013 4 Comments

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!

 




4 Responses

Craig
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
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
Craig

May 01, 2014

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

siraj
siraj

February 03, 2014

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

Leave a comment

Comments will be approved before showing up.


Also in News

The Raspberry Pi Pico
The Raspberry Pi Pico

July 28, 2021

Raspberry Pi Pico’s are a great microcontroller that has a fair amount of range, despite the slightly more tricky set up process, once it’s ready to go there’s a lot you can do. 

Continue Reading

Raspberry Pi Troubleshooting

June 30, 2021

Continue Reading

An introduction to soldering
An introduction to soldering

June 08, 2021

Soldering is a good skill to learn and improve throughout your making and DIY-ing, there’s quite a few situations where it will be the best option for a more permanent build.

Continue Reading