Differences

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

Link to this comparison view

iothings:proiecte:2022:smart_home_lights_power_outlet_control [2023/01/20 04:12]
catalina.sirbu [Smart Home Lights & Power Outlet Control]
iothings:proiecte:2022:smart_home_lights_power_outlet_control [2023/01/20 09:02] (current)
nicolae.macovei [Libraries]
Line 4: Line 4:
 [[https://​github.com/​dragosmacovei/​esp32-firebase-realtime-db/​tree/​main/​Arduino/​Smart-home-esp32|Source code on Github:]] \\ [[https://​github.com/​dragosmacovei/​esp32-firebase-realtime-db/​tree/​main/​Arduino/​Smart-home-esp32|Source code on Github:]] \\
 [[https://​smart-home-e56a9.web.app/​|Firebase App]] \\ [[https://​smart-home-e56a9.web.app/​|Firebase App]] \\
-Youtube video: \\ 
 [[https://​www.canva.com/​design/​DAFYKV9A1PY/​jS_xeHC05D4Sf9gvD_ivzw/​view?​utm_content=DAFYKV9A1PY&​utm_campaign=designshare&​utm_medium=link2&​utm_source=sharebutton|Presentation link]] \\ [[https://​www.canva.com/​design/​DAFYKV9A1PY/​jS_xeHC05D4Sf9gvD_ivzw/​view?​utm_content=DAFYKV9A1PY&​utm_campaign=designshare&​utm_medium=link2&​utm_source=sharebutton|Presentation link]] \\
  
Line 16: Line 15:
 When the user enters the house or he gets out of bed in the morning, he will be detected by the PIR sensor, all elements will be turned on and the program will switch to Manual Mode. When the user enters the house or he gets out of bed in the morning, he will be detected by the PIR sensor, all elements will be turned on and the program will switch to Manual Mode.
  
 +{{ :​iothings:​proiecte:​2022:​proiect-dragos.jpeg?​500 |}}
 ===== Hardware ===== ===== Hardware =====
  
Line 29: Line 29:
  
  
 +The final diagram of all the components can be seen below and was made with the help of the EasyEDA program.
  
 +{{ :​iothings:​proiecte:​2022:​smart-home-dragos-macovei.png?​500 |}}
  
 +
 +===== Software =====
 +
 +==== Libraries ====
 +  * [[https://​github.com/​adafruit/​Adafruit_Sensor|Adafruit Sensor]]
 +  * [[https://​github.com/​me-no-dev/​AsyncTCP|AsyncTCP]] - This is a fully asynchronous TCP library, aimed at enabling trouble-free,​ multi-connection network environment for Espressif'​s ESP32 MCUs.
 +  * [[https://​github.com/​adafruit/​DHT-sensor-library|DHT Sensor]] - An Arduino library for the DHT series of low-cost temperature/​humidity sensors.
 +  * [[https://​github.com/​mobizt/​Firebase-ESP-Client|Firebase-ESP-Client]] - The managed, complete, fast and secure Firebase Client Library that supports ESP8266 and ESP32 MCU from Espressif
 +
 +===== Conclusions =====
 +A module has been implemented that registers the temperature and detects movement in a room. Depending on the presence/​absence of the person in the room, the program switches to manual or auto mode.
  
 ===== Resources ===== ===== Resources =====
Line 38: Line 51:
   * [[https://​www.sigmanortec.ro/​senzor-temperatura-si-umiditate-dht22|Temperature and humidity sensor DTH11]]   * [[https://​www.sigmanortec.ro/​senzor-temperatura-si-umiditate-dht22|Temperature and humidity sensor DTH11]]
   * [[https://​www.optimusdigital.ro/​ro/​electronica-de-putere-module-cu-releu/​39-modul-cu-releu-cu-doua-canale.html|Relay module]]   * [[https://​www.optimusdigital.ro/​ro/​electronica-de-putere-module-cu-releu/​39-modul-cu-releu-cu-doua-canale.html|Relay module]]
 +=== Software sources ===
 +  * [[https://​docs.espressif.com/​projects/​esp-idf/​en/​latest/​esp32/​_images/​esp32-devkitC-v4-pinout.png|ESP32 WROOM Pinout]]
 +  * [[https://​cloud.google.com/​firestore/​docs/​client/​get-firebase|Firebase Tutorial]]
 +  * [[https://​randomnerdtutorials.com/​esp32-pir-motion-sensor-interrupts-timers/​|PIR Motion Sensor]]
iothings/proiecte/2022/smart_home_lights_power_outlet_control.1674180725.txt.gz · Last modified: 2023/01/20 04:12 by catalina.sirbu
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