Arduino with ThinkSpeak | Monitoring IoT data over ThingSpeak | ThingSpeak with esp8266 | 2024

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
makers in this video we will send data from arduino uno board to thinkspeak website using esp8266 wi-fi module hit the subscribe button and watch the video until the end first go to thingspeak.com thinkspeak is a web-based iot platform which is used to monitor sensor data store sensor data analyze sensor data and so on to use thinkspeak you need to have account so you can create a new account for free by following simple steps if you already have thingspeak account you have to log in to your account after creating account we need to create a new channel for our project while creating a new thingspeak channel you need to give your project name description of your project and fields of your project you may have one or more fields in a specific channel based upon your project requirement let us name our project weather station and let us monitor three different variables using three things speak fields those are temperature humidity and light intensity you can add you can drop or make your own fields based upon your project when we save our channel we will get a dashboard to monitor the given fields in a graphical manner with our own project and field's name the x-axis of the graph is date by default but you can press the pin icon to change axes the title the color or other properties when we create a thinkspeak channel it will be private or only the creator is able to see the channel we will see how we can share our channel to public and specific person if you wish to update your channel name channel description or fields you can navigate to channel setting to edit if you press sharing button next to channel setting you will be able to change the channel view to private public or with specific person using their email to integrate your think speak channel with arduino or other software you need to use a pi key you have to use write api key to send data or to store data onto your think speak channel and read api keys to retrieve the stored data now let me describe the arduino code you can find the source code in the first part of the comment section after importing software serial library you need to define rx and tx pin based up on how you are going to connect your esp8266 with your arduino rx equals 2 means digital pin 2 of arduino as connected with tx of the wi-fi module whereas tx equals 3 means digital pin 3 of arduino is connected with rx of the wi-fi module you also need to define your wi-fi ssid and password now we are intended to start data so we are going to define the right api key the host is a pi.thinkspeak.com without http and set the port to 80. we also need to define some variables which we are going to use in our code software serial esp will help the wi-fi module to accept sensors data from the arduino board serially via pin 2 and 3. in the setup function we will connect the esp module with wi-fi send command is a user defined function which is used to send command and displaying the result in serial monitor in the loop function i will be using random number generator to generate a value for temperature humidity and light intensity you can use any sensor in analog read digital read or other appropriate way of reading sensors data instead of using random number generator function the data to be send is prepared in string format on string get data variable using the right api key temperature humidity and light intensity as set to field 1 2 and 3 consecutively you can add fields or you can drop fields based upon your interest after sending some sort of command via send command function to the host we will send the data via the wi-fi module connect the wi-fi module with arduino board as shown in the diagram and upload the code after choosing the proper board type in port now if we open serial monitor the esp board is not able to connect with the wi-fi this is because the wi-fi ssid is not correct let me amend the wi-fi name and re-upload the code now the esp8266 board is successfully connected with the wi-fi and it is able to send the data onto the thinkspeak server as you can see it showed the data in graphical manner we can also download the data if we need thank you for your time and consider subscribing you
Info
Channel: Makers Group
Views: 41,008
Rating: undefined out of 5
Keywords: arduino, arduino tutorial, internet of things, thingspeak, thingspeak esp8266, arduino projects, arduino uno, arduino project, dht11 esp8266 thingspeak, dht11 nodemcu esp8266, nodemcu dht11 web server, nodemcu temperature sensor dht11, dht11 esp8266 nodemcu, dht11 esp8266 arduino thingspeak, dht11 esp8266 arduino, dht11 esp8266 code, arduino esp8266 dht11 thingspeak, dht with esp8266, dht11 esp32, esp8266, esp8266 module, esp8266 tutorial, thingspeak tutorial, esp8266 website
Id: 764bRMvGZR4
Channel Id: undefined
Length: 5min 38sec (338 seconds)
Published: Tue Aug 23 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.