Differences

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

Link to this comparison view

iothings:proiecte:2021:environmentmonitor [2022/01/28 17:17]
delia.luca
iothings:proiecte:2021:environmentmonitor [2022/01/28 18:42] (current)
dan.tudose
Line 18: Line 18:
  * Micro-USB cable   * Micro-USB cable 
  * Jumper wires   * Jumper wires 
 +{{ :​iothings:​proiecte:​2021:​remus1.jpeg?​nolink&​300 |}} 
 +{{ :​iothings:​proiecte:​2021:​remus2.jpeg?​nolink&​300 |}}
 ===3. Software Implementation=== ===3. Software Implementation===
 The code begin with initialization of the the modules used in the project. First, the HTU21D sensor is initialized and the pins used for the rest of the sensor. Following that the function which handle the WiFi connection is called. Once the connection is establish, the files used for the server is upload from the flash memory of the ESP32 (The files was uploaded using SPIFFS library). Next step is the infinite loop where the data from the sensor are being read. The update of the server is made once at every 10 seconds. If the IR sensor detect a movement or the gas sensor detect a high value of the gas in the room, the module will send a request to the IFTTT, which will trigger an email. \\ The code begin with initialization of the the modules used in the project. First, the HTU21D sensor is initialized and the pins used for the rest of the sensor. Following that the function which handle the WiFi connection is called. Once the connection is establish, the files used for the server is upload from the flash memory of the ESP32 (The files was uploaded using SPIFFS library). Next step is the infinite loop where the data from the sensor are being read. The update of the server is made once at every 10 seconds. If the IR sensor detect a movement or the gas sensor detect a high value of the gas in the room, the module will send a request to the IFTTT, which will trigger an email. \\
  
 +{{ :​iothings:​proiecte:​2021:​diagrama_functionala.jpg?​nolink&​300 |}}
 The source code is represented below:\\ The source code is represented below:\\
 <​code>​ <​code>​
Line 237: Line 239:
  
 </​code>​ </​code>​
 +The web server look like this:
 +{{ :​iothings:​proiecte:​2021:​whatsapp_image_2022-01-28_at_14.12.09.jpeg?​nolink&​800 |}}
  
  
iothings/proiecte/2021/environmentmonitor.1643383079.txt.gz · Last modified: 2022/01/28 17:17 by delia.luca
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