Tuesday, August 16, 2016

ESP8266 and ThingSpeak

What it is: the classic Internet of Things starter device, something that grabs temperature and humidity readings in my backyard every two minutes and uploads the data to a website over my home WiFi network.

Details: through a lot of trial and error (and lots of online research) I cracked the code of uploading an Arduino sketch to an ESP8266-01 board.  The sensor is a basic DHT-22 sensor and the data is uploaded to a channel on ThingSpeak.  The Google gauge at the top of this blog is an HTML/CSS/JavaScript visualization object that draws the latest temperature from this channel.



As usual, I started with everything on a breadboard, then built a prototype board (now at my dad's house in Sonora, CA uploading to the Adafruit.io site).  Once I got the design nailed down I made a dedicated printed circuit board.  I like my completed projects relatively tidy and able to be packaged.

No comments:

Post a Comment