ThingSpeak IOT Cloud with NodeMCU ESP8266- Temperature Monitoring Dashboard
Vložit
- čas přidán 9. 09. 2024
- Let's learn how to use ThingSpeak IoT Cloud with NodeMCU ESP8266 Microcontroller. This step-by-step tutorial will start with creating a new ThingSpeak Channel. And later on, we’ll write a program for NodeMCU ESP8266. In the end, we will build a web dashboard that will let us remotely monitor live temperature sensor data from anywhere in the world. This project also demonstrates, how HTTP Protocols is being used by IoT Platform to communicate IoT Devices like NodeMCU with Cloud Platforms
The project will break down into the following steps:
STEP 1 Setup ThingSpeak Account
STEP 2 Create ThingSpeak Channel
STEP 3 Download and Install ThingSpeak libraries
STEP 4 Write Arduino program for NodeMCU ESP8266
STEP 5 Create ThingSpeak IoT Web Dashboard
STEP 6 Share Temperature Sensor Data anywhere in the world
►► Try Altium Student Lab! You get FREE access to Altium Designer and Altium 365
www.altium.com...
►► Need Help? To Learn Embedded Systems: courses.binary...
Download ThingSpeak Project Files: github.com/bin...
Umesh Lokhande
BINARYUPDATES.COM
Web: binaryupdates....
Mail: umesh@binaryupdates.com
the way you explain things is really awesome. Appreciated
Thank's Amjad!
Excellent tool, will make use of, great!
Absolutely! Good luck and best wishes!
great,way of explaination awsom
Hi Gulam, thanks for watching ThingSpeak and NodeMCU Tutorial! I hope to find time and make more such video in coming days.Thank's again!
Good explain
Hi Jairaj , thank you so much! I hope you enjoyed ThingSpeak tutorial
Good luck and best wishes!
Love this channel😊
Hi Chris, Glad you found this channel and videos on ThingSpeak Cloud useful. Thank you so much, have a beautiful day!
Great and simple...
Thank you Hassan🙂
How are you sir, phaneesh this side hope you remember me
Hi Phaneesh, I'm good, how are you?
Thank you....
You're welcome!
I try to put temperature in different function and call it in the void loop but the thingspeak did not display the data of the temperature. Is there a problem ?
Hi, make sure temperature variable should be define into your new function. There maybe an issue with variable declaration otherwise ThingSpeak function is already made up in code used in our example code. I hope this may help you. Good luck!
Hello, can ThingSpeak be used to send data to the MCU? For example, say I need to introduce a number through the web interface of ThingSpeak so that the MCU can receive that number and use it to make a calculation that will affect the value of another variable/field
Thank you
The short answer is Yes, its possible. I will be making video in future to control LED connected to NodeMCU ESP8266 from Thingspeak. The only thing is the delay of 15 second slows down the entire process of making decision and take action on the top of updated thingspeak field. This is what I learnt while building real projects and then you also need to upgrade to paid version of thingspeak to get good result. I hope this information is useful to you. Good luck and best wishes!
@@BINARYUPDATES Thank you very much for your response! Yes I suspected the 15 seconds delay would be a problem too. Still, looking forward to that video 👌
nice
comment
Can it runs on Proteus ??
Means same simulation and same code
I've not yet tested in Proteus. But I don't see any point of simulation for IoT projects.
sir, my Node MCU connected with wifi but I can not get IP address , How to solve this problem?
Hi Nitesh, if you're sure that NodeMCU ESP8266 is connected to Wifi then check messages on serial monitor. Otherwise just login to your internet router settings and you'll find NodeMCU and its IP address in DHCP client list or connected devices list. I hope this may help you. Good luck and best wishes!
hi, in our project we want to send current & voltage measurements. do we need to add a library for that or can we just assign the pins as float variables ? thank you!
Hi Zeliha, You can use current sensor module which is readily available in the market. And you'll also get library in arduino library manager. And about sending float value to thingspeak you can easily send float value of current and voltage data in JSON format as a string from NodeMCU code. I hope this may help you. Good luck!
@@BINARYUPDATES thank you for such quick response! Actually, we had implemented a current sensing and voltage measuring circuit already, the analog measurements are converted to Digital form via the ADCs in STM32F303RE. We can see the results on our computer but we want to go online.
Is this circuit suitable to be run from a battery or does the current draw to power wifi mean it would be better on a power supply?
Yes, with dedicated battery the connection will be more stable
This circuit can run on any Li-Ion battery. As there are plenty of small portable 3.3V DC batteries available out there can be use to drive NodeMCU ESP8266 with ThingSpeak
Best Wishes
Umesh
We want to send notification to user phone about DHT11 and MQ4 sensor data using nodemcu8266 and thingSpeak. How can this be achieved
Hi Meenal, Its passible to integrate notifications services to the thingspeak server. Best wishes!
Can you change the code for a different sensor?
Hi John, you can change this Arduino code of ThingSpeak for any other sensor like LDR, Ultrasonic Sensor or any other.
Hi, im follow your tutor and my thingspeak not show data. In my serial monitor the data is have..
Hi Taufik, check your WriteAPIKey and ChannelID of thingspeak channel. These are only information have to pass if they are correct then maybe internet would be only issue. I hope so. Good luck and best wishes!
@@BINARYUPDATES tqq, now work 👍
Can we use DHT11 Sensor?
Hi Soumya, if you replace LM35 with DHT11 then you may need to add DHT11 Adafruit library and code will change a bit. But its possible to make it work with some changes in code. I hope this may help you. Best wishes!
So , is there any chance to send only average value for 2 minutes of temperature to thingspeak ??
You can write the logic of calculate average and then store in variable. And in the end , send that variable value to ThingSpeak IoT Server as we have sent temperature sensor value in this video lesson. If fact you can modify the same code. Good luck!
Sir, Can we add pulse and oxygen sensor here ??
Yes you can interface pulse or oxygen sensor to ThingSpeak Server.
My code is working but it is not reflecting in things speak website. please help
Usually, ThingSpeak takes 15 second to update data on dashboard. Otherwise check the wifi credentials, channel ID and write API into the code. Good luck and best wishes!
its showing temp in only 1 and 0 form. How do i fix it?
Hi Ali, please check if temperature sensor is damaged. Usually, these days I'm getting so many bad components. Otherwise there will be some issue with connecting LM35 with NodeMCU ESP8266