Send Data on ThingSpeak cloud using Arduino and esp8266 wifi module#esp8266#esp#thingspeak

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi guys welcome to tech tube today we will see how we can interface arduino with esp82 wi-fi module and how to send the data on thingspeak cloud so let's see the pin diagram of esp8266 as you can see we have the pin diagram like this we got tx ground ch2 pin two gpio pins one reset one vcc and one rx now first thing first when you buy any esp8266 module from any hardware shop or from amazon the first thing you should do is to check that esp8266 wi-fi module is working or not and to see that we have to make this connection we have to connect vcc to 3.3 volt en pin to 3.3 volt we have to connect ground to ground tx to tx and rx to rx remember guys we are only checking that the esp8266 is working or not for that we have to make this connection now gpio0 and gpio1 pin and the rst pin are not connected now we'll see the hardware how can you do that as you can see this is esp8266 wi-fi module and i've connected this with the arduino i have connected tx to tx and rx to rx pin and i have given 3.3 volt from arduino uno now i will plug the usb on my laptop now i pluck the usb and as you can see the red light means it's turned on now remember one important thing sometimes you will see a very fair light that's because either we are not getting a 3.3 volt proper 3.3 for voltage for esp8266 you can use a 3.3 volt voltage regulator or a voltage divider for this now we will see the result on the serial monitor you can use this 3.3 volt voltage regulator or you you can use this voltage divider circuit now we'll go to our arduino ide first thing first go to tools and check the board and select the correct com port you have to select arduino uno board and your correct port now go to file go to preferences and paste this link over here you can find the link in the description box now we just have to click on file go to new and after clicking on new you will see a new sketch now we just have to upload the sketch over to the arduino now we can see the result on the serial monitor we have to paste this or we have to check these 80 commands now after writing 80 we got ok response that means we have successfully connected esp8266 with arduino now we'll reset the esp8266 now to get the version of the esp8266 use this command as you can see we got the 80 and sdk version now we have to see the nearby wi-fi we can use this command as you can see these three nearby wi-fi are available now we have to connect to the our wi-fi now you have to use this command replace amit with your wi-fi name and password with your wifi password now click on enter as you can see we got the wi-fi connected and we can see the same result on the serial monitor now we have to send this data on things peak cloud will be using lm35 temperature sensor but first we have to create one new channel go to your thingspeak.com and login to your account and create on new channel now we have to give a name to our channel now i will give esp8266 and temp now as we are only using one sensor that is lm35 we have to select only one field now i'll give this field name as temp now we just have to save the channel now to see the channel is working fine or not we have to go to api keys now select this right channel feed or the link and paste it in your browser as you can see we got a response one now to see the result go to your private view and as you can see we got the result here 0 that's because i have given the result here 0 now if i change this value to any value suppose 52 we got the response 2 and we can see the same result on the things peak or now we'll send our lm35 temperature sensor data on this channel so so to send data on thingspeak cloud using lm35 temperature sensor and esp we have to use the circuit now remember one more thing that the zero and one pin of arduino is connected to the tx and rx pin of the esp8266 but i will not recommend you to connect to this circuit you have to use 2 or 3 or any other pin except 0 and 1 because as you know 0 and 1 is the hardware serial pins sometimes you will get the result on the serial monitor or even on things peak but most of the time you will get an error because this is the hardware serial pin of arduino uno so i will recommend you to use two or three or any other pin except zero and one now we'll see the connection on hardware as you can see i have connected ln35 temperature sensor with arduino and the data pin is on a0 i have given 5 volt and ground to lm35 temperature sensor now i will plug the usb to my laptop to check the result first go to your api key and select the right api key not the read api key now after selecting this copy this api key go to your code and paste the api key over here now we'll upload this on arduino uno board we can see the result on the serial monitor it says out of loop that's because we have connected the wrong pin now interchange the pin to see the result now as you can see we are getting response on the serial monitor now give it 10 to 15 second to reset the esp8266 module and will send the data on the thingspeak cloud it will take two to three loops to get connected and then it will send data on things pick cloud now it's as you can see it's showing connected and it has successfully sent the data on the thingspeak cloud we can see the result on the private view as you can see we got the result temperature 34.18 and the time as you can see and the date it says 6 35 and and june 3rd now we can see or confirm the result by checking the time right now as you can see it's it's 6 35 and 3rd june this is how you send data using arduino and esp8266 on thingspeak cloud let me know if you want any help from this project
Info
Channel: TechTooB
Views: 43,985
Rating: undefined out of 5
Keywords: arduino, esp8266, esp, thingspeak, arduinoandthingspeak, senddataonthingspeakcloud, thingspeakesp8266, thingspeakarduino, thingspeaknodemcu, arduinoproject, arduinotutorial, thingspeakproject, esp8266andarduino, thingspeaklm35, thingspeakesp8266lm35, iotproject, iot, arduinounoprojects, esp8266wifi, esp8266arduino, esp8266atcommands, atcommands, atcommandsforesp8266, atcommandsforesp, esp8266notworking, espnotworking, esp8266fulltutorial, arduinoesp8266andthingspeak, arduinoandesp8266, arduinoandesp, aesp8266wifimodule
Id: XNtYqP5RMyM
Channel Id: undefined
Length: 9min 49sec (589 seconds)
Published: Thu Jun 03 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.