Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2021:temphumiditymonitoring [2022/01/28 00:16]
maria.iuga [Project implementation]
iothings:proiecte:2021:temphumiditymonitoring [2022/01/28 00:26] (current)
maria.iuga [Project implementation]
Line 34: Line 34:
  
 ===== Project implementation ===== ===== Project implementation =====
 +
 +Arduino IDE functions used to record and send the data from the sensor to Webhooks from IFTTTT.
 +
 <​code>​ <​code>​
-void setup ()  +void setup () 
 //​initialize the serial monitor for debugging ​ //​initialize the serial monitor for debugging ​
- Serial.begin(115200);​+ Serial.begin(115200);​ 
 + ​Serial.println("​DHT11 sensor!"​);​ 
 +//call begin to start sensor 
 + ​dht.begin();​ 
 +// Connect to Wi-Fi 
 + ​WiFi.begin(ssid,​ password);​ 
 + while (WiFi.status() != WL_CONNECTED) { 
 +   ​delay(500);​ 
 +   ​Serial.print("​."​);​ 
 +  } 
 +  Serial.println(""​);​ 
 +  Serial.println("​WiFi connected"​); ​  
 +}
  
 </​code>​ </​code>​
iothings/proiecte/2021/temphumiditymonitoring.1643321791.txt.gz · Last modified: 2022/01/28 00:16 by maria.iuga
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0