SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
1
Room Temperature and
Humidity Publish in Think Speak
IoT Cloud Server Using DHT11
Department of Electrical Engineering
Gargi Memorial Institute of Technology
Name of the Student: RAHUL NASKAR
Present Semester: 7th
Class Roll No.:
University Roll No.: 28101619020
Paper Name: PROJECT STAGE - 1
Paper Code: PW-EE-781
2
APPARATUS
 NODE MCU
 DHT11 SENSOR
 WIRES
 LAPTOP
 USB CABLE
 ARDUINO IDE
 THINGSPEAK CLOUD
BLOCK DIAGRAM
3
EXPLANATION OF BLOCK
DIAGRAM
 DHT11 is connected to the NODE MCU which is in turn connected to the
THINGSPEAK IOT CLOUD SERVER through the internet. We program the NODE
MCU through the Arduino IDE to post (publish) the data (temperature & humidity
data ) collected by the DHT11 Sensor on a channel created in the THINGSPEAK
CLOUD SERVER.
4
ABOUT
 NODE MCU : Node MCU is a low-cost open source IoT platform. It initially included
firmware which runs on the ESP8266, and hardware which was based on the ESP-12 module.
support for the ESP32 32-bit MCU was added.
 DHT11 : The DHT-11 Digital Temperature And Humidity Sensor is a basic, ultra low-cost
digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to
measure the surrounding air and spits out a digital signal on the data pin (no analog input pins
needed).
 ARDUINO IDE : The Arduino Integrated Development Environment - or Arduino
Software (IDE) - contains a text editor for writing code, a message area, a text console, a toolbar
with buttons for common functions and a series of menus. It connects to the Arduino hardware to
upload programs and communicate with them.
 THINGSPEAK CLOUD : Thing Speak is an IoT analytics platform service that
allows you to aggregate, visualize and analyze live data streams in the cloud. Thing Speak
provides instant visualizations of data posted by your devices to Thing Speak.
5
6
NODE MCU
7
DHT11
8
ARDUINO IDE
9
THINGSPEAK CLOUD
PROGRAMMING
#include <WiFiClient.h>;
#include <ESP8266WiFi.h>;
#include <ThingSpeak.h>;
#include <DHTesp.h>
#define DHTpin D3
const char ssid[] = "Subhodeep"; // your network SSID (name)
const char pass[] = "Dec@1995"; // your network password
DHTesp dht;
WiFiClient client;
unsigned long myChannelNumber =1385333;
const char * myWriteAPIKey = "1YHWW0GEDO03JHCH"; 10
11
void setup()
{
Serial.begin(115200);
dht.setup(DHTpin,DHTesp::DHT11);
WiFi.begin(ssid,pass);
ThingSpeak.begin(client); // Initialize ThingSpeak
}
void loop()
{
float h = dht.getHumidity();
float t = dht.getTemperature();
// set the fields with the values
Serial.println(h);
Serial.println(t);
12
ThingSpeak.setField(1, h);
ThingSpeak.setField(2, t);
ThingSpeak.writeFields(myChannelNumber, myWriteAPIKey);
delay(1000); // Wait 20 seconds to update the channel again
}
RESULT
13
14

Contenu connexe

Similaire à RAHUL NASKAR IOT.ppt

Fullstack IoT Development
Fullstack IoT DevelopmentFullstack IoT Development
Fullstack IoT DevelopmentAndri Yadi
 
Arduino Teaching Program
Arduino Teaching ProgramArduino Teaching Program
Arduino Teaching ProgramMax Kleiner
 
Week2 fundamental of IoT
Week2 fundamental of IoTWeek2 fundamental of IoT
Week2 fundamental of IoTsomphongt
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentJonathan Ruiz de Garibay
 
Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...nooriasukmaningtyas
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptxJagadeepVinay
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptxJagadeepVinay
 
IoT Hands-On-Lab, KINGS, 2019
IoT Hands-On-Lab, KINGS, 2019IoT Hands-On-Lab, KINGS, 2019
IoT Hands-On-Lab, KINGS, 2019Jong-Hyun Kim
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonGabriel Arnautu
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fiijtsrd
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetoothShishupal03012015
 
arduino 320126512170.pptx
arduino 320126512170.pptxarduino 320126512170.pptx
arduino 320126512170.pptxpriyaanaparthy
 
Internet of things - The Present & The Future
Internet of things - The Present & The FutureInternet of things - The Present & The Future
Internet of things - The Present & The Futureiotians
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET Journal
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortileST_World
 
Voice Based Home Automation
Voice Based Home AutomationVoice Based Home Automation
Voice Based Home AutomationSumukh Athrey
 

Similaire à RAHUL NASKAR IOT.ppt (20)

Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
 
Fullstack IoT Development
Fullstack IoT DevelopmentFullstack IoT Development
Fullstack IoT Development
 
Arduino Teaching Program
Arduino Teaching ProgramArduino Teaching Program
Arduino Teaching Program
 
IoT ppt(004).pptx
IoT ppt(004).pptxIoT ppt(004).pptx
IoT ppt(004).pptx
 
Week2 fundamental of IoT
Week2 fundamental of IoTWeek2 fundamental of IoT
Week2 fundamental of IoT
 
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype DevelopmentCodesign-Oriented Platform for Agile Internet of Things Prototype Development
Codesign-Oriented Platform for Agile Internet of Things Prototype Development
 
Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...Towards secure smart cities: design and implementation of smart home digital ...
Towards secure smart cities: design and implementation of smart home digital ...
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptx
 
Smart invocation.pptx
Smart invocation.pptxSmart invocation.pptx
Smart invocation.pptx
 
IoT Hands-On-Lab, KINGS, 2019
IoT Hands-On-Lab, KINGS, 2019IoT Hands-On-Lab, KINGS, 2019
IoT Hands-On-Lab, KINGS, 2019
 
DeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel EdisonDeviceHub - First steps using Intel Edison
DeviceHub - First steps using Intel Edison
 
Smart Home Automation using Wi-Fi
Smart Home Automation using Wi-FiSmart Home Automation using Wi-Fi
Smart Home Automation using Wi-Fi
 
Digital home automation with arduino bluetooth
Digital home automation with arduino bluetoothDigital home automation with arduino bluetooth
Digital home automation with arduino bluetooth
 
Design connected thermometer
Design connected thermometerDesign connected thermometer
Design connected thermometer
 
arduino 320126512170.pptx
arduino 320126512170.pptxarduino 320126512170.pptx
arduino 320126512170.pptx
 
Espressif Introduction
Espressif IntroductionEspressif Introduction
Espressif Introduction
 
Internet of things - The Present & The Future
Internet of things - The Present & The FutureInternet of things - The Present & The Future
Internet of things - The Present & The Future
 
IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)IRJET- Wi-Fi Control First Person View Robot (FPV)
IRJET- Wi-Fi Control First Person View Robot (FPV)
 
Track 3 session 4 - st dev con 2016 - sensortile
Track 3   session 4 - st dev con 2016 - sensortileTrack 3   session 4 - st dev con 2016 - sensortile
Track 3 session 4 - st dev con 2016 - sensortile
 
Voice Based Home Automation
Voice Based Home AutomationVoice Based Home Automation
Voice Based Home Automation
 

Plus de PrakasBhowmik

DOC-20230804-gghjddnmkjggfdxxnkkgfd004..ppt
DOC-20230804-gghjddnmkjggfdxxnkkgfd004..pptDOC-20230804-gghjddnmkjggfdxxnkkgfd004..ppt
DOC-20230804-gghjddnmkjggfdxxnkkgfd004..pptPrakasBhowmik
 
PPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPrakasBhowmik
 
PPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPrakasBhowmik
 
28101619005, PC-EE-801.ppt
28101619005, PC-EE-801.ppt28101619005, PC-EE-801.ppt
28101619005, PC-EE-801.pptPrakasBhowmik
 
PRAKAS CHANDRA BHOWMIK.ppt
PRAKAS CHANDRA BHOWMIK.pptPRAKAS CHANDRA BHOWMIK.ppt
PRAKAS CHANDRA BHOWMIK.pptPrakasBhowmik
 
Roll 28101619017,HM EE 702.pdf
Roll 28101619017,HM EE 702.pdfRoll 28101619017,HM EE 702.pdf
Roll 28101619017,HM EE 702.pdfPrakasBhowmik
 
artificialintelligenceppt-170425085831.pdf
artificialintelligenceppt-170425085831.pdfartificialintelligenceppt-170425085831.pdf
artificialintelligenceppt-170425085831.pdfPrakasBhowmik
 
functionsofmanagement-170119165542.pdf
functionsofmanagement-170119165542.pdffunctionsofmanagement-170119165542.pdf
functionsofmanagement-170119165542.pdfPrakasBhowmik
 
SujanKhamrui_28100119050.pptx
SujanKhamrui_28100119050.pptxSujanKhamrui_28100119050.pptx
SujanKhamrui_28100119050.pptxPrakasBhowmik
 
SkNoushadddoja_28100119039.pptx
SkNoushadddoja_28100119039.pptxSkNoushadddoja_28100119039.pptx
SkNoushadddoja_28100119039.pptxPrakasBhowmik
 

Plus de PrakasBhowmik (10)

DOC-20230804-gghjddnmkjggfdxxnkkgfd004..ppt
DOC-20230804-gghjddnmkjggfdxxnkkgfd004..pptDOC-20230804-gghjddnmkjggfdxxnkkgfd004..ppt
DOC-20230804-gghjddnmkjggfdxxnkkgfd004..ppt
 
PPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.ppt
 
PPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.pptPPT Template_Odd Sem_2022.ppt
PPT Template_Odd Sem_2022.ppt
 
28101619005, PC-EE-801.ppt
28101619005, PC-EE-801.ppt28101619005, PC-EE-801.ppt
28101619005, PC-EE-801.ppt
 
PRAKAS CHANDRA BHOWMIK.ppt
PRAKAS CHANDRA BHOWMIK.pptPRAKAS CHANDRA BHOWMIK.ppt
PRAKAS CHANDRA BHOWMIK.ppt
 
Roll 28101619017,HM EE 702.pdf
Roll 28101619017,HM EE 702.pdfRoll 28101619017,HM EE 702.pdf
Roll 28101619017,HM EE 702.pdf
 
artificialintelligenceppt-170425085831.pdf
artificialintelligenceppt-170425085831.pdfartificialintelligenceppt-170425085831.pdf
artificialintelligenceppt-170425085831.pdf
 
functionsofmanagement-170119165542.pdf
functionsofmanagement-170119165542.pdffunctionsofmanagement-170119165542.pdf
functionsofmanagement-170119165542.pdf
 
SujanKhamrui_28100119050.pptx
SujanKhamrui_28100119050.pptxSujanKhamrui_28100119050.pptx
SujanKhamrui_28100119050.pptx
 
SkNoushadddoja_28100119039.pptx
SkNoushadddoja_28100119039.pptxSkNoushadddoja_28100119039.pptx
SkNoushadddoja_28100119039.pptx
 

Dernier

TCFPro24 Building Real-Time Generative AI Pipelines
TCFPro24 Building Real-Time Generative AI PipelinesTCFPro24 Building Real-Time Generative AI Pipelines
TCFPro24 Building Real-Time Generative AI PipelinesTimothy Spann
 
Bengaluru Tableau UG event- 2nd March 2024 Q1
Bengaluru Tableau UG event- 2nd March 2024 Q1Bengaluru Tableau UG event- 2nd March 2024 Q1
Bengaluru Tableau UG event- 2nd March 2024 Q1bengalurutug
 
Microeconomic Group Presentation Apple.pdf
Microeconomic Group Presentation Apple.pdfMicroeconomic Group Presentation Apple.pdf
Microeconomic Group Presentation Apple.pdfmxlos0
 
Elements of language learning - an analysis of how different elements of lang...
Elements of language learning - an analysis of how different elements of lang...Elements of language learning - an analysis of how different elements of lang...
Elements of language learning - an analysis of how different elements of lang...PrithaVashisht1
 
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...Neo4j
 
2024 Build Generative AI for Non-Profits
2024 Build Generative AI for Non-Profits2024 Build Generative AI for Non-Profits
2024 Build Generative AI for Non-ProfitsTimothy Spann
 
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdf
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdfNeo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdf
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdfNeo4j
 
Stochastic Dynamic Programming and You.pptx
Stochastic Dynamic Programming and You.pptxStochastic Dynamic Programming and You.pptx
Stochastic Dynamic Programming and You.pptxjkmrshll88
 
Understanding the Impact of video length on student performance
Understanding the Impact of video length on student performanceUnderstanding the Impact of video length on student performance
Understanding the Impact of video length on student performancePrithaVashisht1
 
Using DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseUsing DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseThinkInnovation
 
PPT for Presiding Officer.pptxvvdffdfgggg
PPT for Presiding Officer.pptxvvdffdfggggPPT for Presiding Officer.pptxvvdffdfgggg
PPT for Presiding Officer.pptxvvdffdfggggbhadratanusenapati1
 
Air Con Energy Rating Info411 Presentation.pdf
Air Con Energy Rating Info411 Presentation.pdfAir Con Energy Rating Info411 Presentation.pdf
Air Con Energy Rating Info411 Presentation.pdfJasonBoboKyaw
 
STOCK PRICE ANALYSIS Furkan Ali TASCI --.pptx
STOCK PRICE ANALYSIS  Furkan Ali TASCI --.pptxSTOCK PRICE ANALYSIS  Furkan Ali TASCI --.pptx
STOCK PRICE ANALYSIS Furkan Ali TASCI --.pptxFurkanTasci3
 
Data Analytics Fundamentals: data analytics types.potx
Data Analytics Fundamentals: data analytics types.potxData Analytics Fundamentals: data analytics types.potx
Data Analytics Fundamentals: data analytics types.potxEmmanuel Dauda
 
The market for cross-border mortgages in Europe
The market for cross-border mortgages in EuropeThe market for cross-border mortgages in Europe
The market for cross-border mortgages in Europe321k
 
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...ferisulianta.com
 
Paul Martin (Gartner) - Show Me the AI Money.pdf
Paul Martin (Gartner) - Show Me the AI Money.pdfPaul Martin (Gartner) - Show Me the AI Money.pdf
Paul Martin (Gartner) - Show Me the AI Money.pdfdcphostmaster
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j
 
Empowering Decisions A Guide to Embedded Analytics
Empowering Decisions A Guide to Embedded AnalyticsEmpowering Decisions A Guide to Embedded Analytics
Empowering Decisions A Guide to Embedded AnalyticsGain Insights
 
Báo cáo Social Media Benchmark 2024 cho dân Marketing
Báo cáo Social Media Benchmark 2024 cho dân MarketingBáo cáo Social Media Benchmark 2024 cho dân Marketing
Báo cáo Social Media Benchmark 2024 cho dân MarketingMarketingTrips
 

Dernier (20)

TCFPro24 Building Real-Time Generative AI Pipelines
TCFPro24 Building Real-Time Generative AI PipelinesTCFPro24 Building Real-Time Generative AI Pipelines
TCFPro24 Building Real-Time Generative AI Pipelines
 
Bengaluru Tableau UG event- 2nd March 2024 Q1
Bengaluru Tableau UG event- 2nd March 2024 Q1Bengaluru Tableau UG event- 2nd March 2024 Q1
Bengaluru Tableau UG event- 2nd March 2024 Q1
 
Microeconomic Group Presentation Apple.pdf
Microeconomic Group Presentation Apple.pdfMicroeconomic Group Presentation Apple.pdf
Microeconomic Group Presentation Apple.pdf
 
Elements of language learning - an analysis of how different elements of lang...
Elements of language learning - an analysis of how different elements of lang...Elements of language learning - an analysis of how different elements of lang...
Elements of language learning - an analysis of how different elements of lang...
 
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...
Deloitte+RedCross_Talk to your data with Knowledge-enriched Generative AI.ppt...
 
2024 Build Generative AI for Non-Profits
2024 Build Generative AI for Non-Profits2024 Build Generative AI for Non-Profits
2024 Build Generative AI for Non-Profits
 
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdf
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdfNeo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdf
Neo4j_Jesus Barrasa_The Art of the Possible with Graph.pptx.pdf
 
Stochastic Dynamic Programming and You.pptx
Stochastic Dynamic Programming and You.pptxStochastic Dynamic Programming and You.pptx
Stochastic Dynamic Programming and You.pptx
 
Understanding the Impact of video length on student performance
Understanding the Impact of video length on student performanceUnderstanding the Impact of video length on student performance
Understanding the Impact of video length on student performance
 
Using DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseUsing DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data Warehouse
 
PPT for Presiding Officer.pptxvvdffdfgggg
PPT for Presiding Officer.pptxvvdffdfggggPPT for Presiding Officer.pptxvvdffdfgggg
PPT for Presiding Officer.pptxvvdffdfgggg
 
Air Con Energy Rating Info411 Presentation.pdf
Air Con Energy Rating Info411 Presentation.pdfAir Con Energy Rating Info411 Presentation.pdf
Air Con Energy Rating Info411 Presentation.pdf
 
STOCK PRICE ANALYSIS Furkan Ali TASCI --.pptx
STOCK PRICE ANALYSIS  Furkan Ali TASCI --.pptxSTOCK PRICE ANALYSIS  Furkan Ali TASCI --.pptx
STOCK PRICE ANALYSIS Furkan Ali TASCI --.pptx
 
Data Analytics Fundamentals: data analytics types.potx
Data Analytics Fundamentals: data analytics types.potxData Analytics Fundamentals: data analytics types.potx
Data Analytics Fundamentals: data analytics types.potx
 
The market for cross-border mortgages in Europe
The market for cross-border mortgages in EuropeThe market for cross-border mortgages in Europe
The market for cross-border mortgages in Europe
 
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...
Prediction Of Cryptocurrency Prices Using Lstm, Svm And Polynomial Regression...
 
Paul Martin (Gartner) - Show Me the AI Money.pdf
Paul Martin (Gartner) - Show Me the AI Money.pdfPaul Martin (Gartner) - Show Me the AI Money.pdf
Paul Martin (Gartner) - Show Me the AI Money.pdf
 
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdfNeo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
Neo4j Graph Summit 2024 Workshop - EMEA - Breda_and_Munchen.pdf
 
Empowering Decisions A Guide to Embedded Analytics
Empowering Decisions A Guide to Embedded AnalyticsEmpowering Decisions A Guide to Embedded Analytics
Empowering Decisions A Guide to Embedded Analytics
 
Báo cáo Social Media Benchmark 2024 cho dân Marketing
Báo cáo Social Media Benchmark 2024 cho dân MarketingBáo cáo Social Media Benchmark 2024 cho dân Marketing
Báo cáo Social Media Benchmark 2024 cho dân Marketing
 

RAHUL NASKAR IOT.ppt

  • 1. 1 Room Temperature and Humidity Publish in Think Speak IoT Cloud Server Using DHT11 Department of Electrical Engineering Gargi Memorial Institute of Technology Name of the Student: RAHUL NASKAR Present Semester: 7th Class Roll No.: University Roll No.: 28101619020 Paper Name: PROJECT STAGE - 1 Paper Code: PW-EE-781
  • 2. 2 APPARATUS  NODE MCU  DHT11 SENSOR  WIRES  LAPTOP  USB CABLE  ARDUINO IDE  THINGSPEAK CLOUD
  • 4. EXPLANATION OF BLOCK DIAGRAM  DHT11 is connected to the NODE MCU which is in turn connected to the THINGSPEAK IOT CLOUD SERVER through the internet. We program the NODE MCU through the Arduino IDE to post (publish) the data (temperature & humidity data ) collected by the DHT11 Sensor on a channel created in the THINGSPEAK CLOUD SERVER. 4
  • 5. ABOUT  NODE MCU : Node MCU is a low-cost open source IoT platform. It initially included firmware which runs on the ESP8266, and hardware which was based on the ESP-12 module. support for the ESP32 32-bit MCU was added.  DHT11 : The DHT-11 Digital Temperature And Humidity Sensor is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and spits out a digital signal on the data pin (no analog input pins needed).  ARDUINO IDE : The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them.  THINGSPEAK CLOUD : Thing Speak is an IoT analytics platform service that allows you to aggregate, visualize and analyze live data streams in the cloud. Thing Speak provides instant visualizations of data posted by your devices to Thing Speak. 5
  • 10. PROGRAMMING #include <WiFiClient.h>; #include <ESP8266WiFi.h>; #include <ThingSpeak.h>; #include <DHTesp.h> #define DHTpin D3 const char ssid[] = "Subhodeep"; // your network SSID (name) const char pass[] = "Dec@1995"; // your network password DHTesp dht; WiFiClient client; unsigned long myChannelNumber =1385333; const char * myWriteAPIKey = "1YHWW0GEDO03JHCH"; 10
  • 11. 11 void setup() { Serial.begin(115200); dht.setup(DHTpin,DHTesp::DHT11); WiFi.begin(ssid,pass); ThingSpeak.begin(client); // Initialize ThingSpeak } void loop() { float h = dht.getHumidity(); float t = dht.getTemperature(); // set the fields with the values Serial.println(h); Serial.println(t);
  • 12. 12 ThingSpeak.setField(1, h); ThingSpeak.setField(2, t); ThingSpeak.writeFields(myChannelNumber, myWriteAPIKey); delay(1000); // Wait 20 seconds to update the channel again }
  • 14. 14