Once upon a time, we used to see the data of our sensor on a 16×2 LCD. So whenever we need to monitor the readings, we need to see on that LCD and need to stay near to it. But now the world has changed and so we need to. Now let’s see how we can monitor sensor’s reading on any internet enabled devices.
OK!!! it was too filmy.
So now in this article, we will be learning how we can upload our sensor’s data to the internet and observe it in a graphical manner with the help of a great platform for our IoT projects called Thingspeak.com.
Process
The process of this project goes something like this.
So, first of all, the data from the DHT11 sensor will be given to Arduino Board. This board will process the data and will give the signal to ESP8266 for uploading it to Thingspeak.com. This website, after receiving the data will automatically plot the graph of Data vs Time.
DHT11 Sensor
DHT11 is a sensor for measurement of temperature and humidity. Looking inside, it consists of two parts, i) A microcontroller
ii) Sensor
This sensor acts like a capacitor whose capacitance changes along with Temperature and Humidity. This raw data is given to the inbuilt microcontroller who will process this analog data and will convert it into a 40-bit digital Serial packet of data. And that 40 bit consists of,
Hence decoding of this serial stream of data is done in Arduino. For that, we are using one library by Adafruit, which you can download it from here.
After that, you need to interface ESP8266 with Arduino in order to transfer data to Thingspeak.com
Thingspeak
Thingspeak.com is a perfect companion for you IoT projects.It provides you a platform, which you can use for different applications. As I have used it to create APIs for my project “Fetching Data from Any Website” In this project, we are creating channels in this for plotting graphs. For that first make an account on this website, then go to a channel and then into my channel. In one single channel, you can plot up to 8 graphs or we can say 8 fields. You need to give the name of each field. As we are plotting a graph of Temperature and Humidity, I have named the fields accordingly.
After that, you need to copy the API keys from the API key button on the website. We will copy Write API key as we need to write data on to the graph.
CODE
In the code, we are first reading data from the sensor, then connecting ESP8266 to the router whose hostname and password we have already entered in the code. Then we will establish a TCP connection at port 80 as to communicate with Thigspeak.com. After that, we will be updating the values from a sensor to thingspeak.com. We will be providing 15 s delay hence we will be able to observe new value on the graph every 15 s.
You can download the code from here. After that, you are ready to monitor data from your phone, laptop and any other internet-enabled device just log in to your thingspeak.com account. The graph will be something like this.
I have made tutorial videos for this project in both Hindi and English Languages. So if you still didn’t get what to do, just have a look at the videos.
Everyone loves it when folks get together and share thoughts. Great site, keep it up.
I¡¦m not certain the place you are getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thank you for fantastic info I used to be looking for this information for my mission.
Way cool! Some extremely valid points! I appreciate you penning this article and also the rest of the site is also very good.
I think this is a real great article.Much thanks again. Fantastic.
Thanks for sharing, this is a fantastic blog article.Thanks Again. Really Great.
I could not refrain from commenting. Exceptionally well written.
A round of applause for your post.Thanks Again.
I truly appreciate this article.Really thank you!
A round of applause for your blog article.Much thanks again.
I’m excited to find this website. I wanted to thank you for ones time for this wonderful read!! I definitely loved every little bit of it and i also have you book-marked to look at new things on your blog.
I really liked your blog.Much thanks again. Really Great.
Greetings! Very helpful advice within this article! It is the little changes that make the most significant changes. Thanks for sharing!
I am so grateful for your blog.Much thanks again. Great.
After I originally commented I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve four emails with the same comment. Is there an easy method you can remove me from that service? Thank you.
I really like and appreciate your article post.Really looking forward to read more. Much obliged.
This is a very good tip especially to those fresh to the blogosphere. Short but very accurate info… Appreciate your sharing this one. A must read article.
Fantastic blog article.Much thanks again. Great.
wow, awesome article.Much thanks again. Awesome.
Hi there! I could have sworn I’ve visited this web site before but after looking at some of the posts I realized it’s new to me. Regardless, I’m definitely happy I stumbled upon it and I’ll be book-marking it and checking back frequently.
A big thank you for your article post.Much thanks again. Really Great.
Thank you ever so for you article post.Thanks Again.
Looking forward to reading more. Great blog.Really looking forward to read more. Will read on…
I truly appreciate this post. Really Great.
Major thankies for the blog. Really Great.
Say, you got a nice post.Thanks Again. Fantastic.
Thanks-a-mundo for the article.Much thanks again.
generic ivermectin for humans stromectol – ivermectin otc
Muchos Gracias for your article.Much thanks again. Much obliged.
Major thanks for the article post.Much thanks again. Cool.
Great artical, had no problems printing this page either.
pelajari lebih lanjut
Very neat article.Really thank you! Really Cool.
Your style is unique in comparison to other people I have read stuff from. Thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this blog.
Thanks for sharing, this is a fantastic article post. Want more.
Enjoyed every bit of your article.Much thanks again. Really Cool.
how long does ivermectin take to work ivermectin dispersible tablets
Very informative article.Really looking forward to read more. Fantastic.
Thanks so much for the article.Much thanks again. Awesome.
Really enjoyed this post.Thanks Again. Fantastic.
п»їcanadian pharmacy online canada pharmacy online – pharmacy in canada
I really liked your blog article. Really Cool.
It’s an awesome paragraph designed for all the internet visitors; they will take advantage from it I am sure.