This shows you the differences between two versions of the page.
iothings:proiecte:2022sric:motiondetection [2023/06/02 01:52] stela.josan created |
iothings:proiecte:2022sric:motiondetection [2023/06/02 09:14] (current) stela.josan |
||
---|---|---|---|
Line 28: | Line 28: | ||
#include <ESPAsyncWebServer.h> | #include <ESPAsyncWebServer.h> | ||
#include <Firebase_ESP_Client.h> | #include <Firebase_ESP_Client.h> | ||
+ | #include <ESP_Mail_Client.h> | ||
</code> | </code> | ||
Line 35: | Line 36: | ||
* WiFi | * WiFi | ||
* AsyncWebServer | * AsyncWebServer | ||
+ | * ESP_Mail_Client | ||
Work process: | Work process: | ||
- | The motion sensor is activated and if it detects something, then the input values are read from the distance sensor and are sent to the web page and also the Firebase. | + | The motion sensor is activated and if it detects something, then the input values are read from the distance sensor and are sent to the web page and also the Firebase. An email is sent to a user saying that a motion was detected. |
=== Demo === | === Demo === | ||
[[https://drive.google.com/file/d/1YmhOn_jyhwRgRln94A_p71zc9bTGYsNK/view?usp=sharing]] | [[https://drive.google.com/file/d/1YmhOn_jyhwRgRln94A_p71zc9bTGYsNK/view?usp=sharing]] | ||
- | {{:iothings:proiecte:2022sric:whatsapp_image_2023-06-02_at_01.42.07.jpeg?300|}} | + | {{:iothings:proiecte:2022sric:whatsapp_image_2023-06-02_at_01.42.07.jpeg?400|}} |
- | {{:iothings:proiecte:2022sric:capture_iot.png?300|}} | + | {{:iothings:proiecte:2022sric:capture_iot.png?400|}} |
- | {{:iothings:proiecte:2022sric:webpage.png?300|}} | + | {{:iothings:proiecte:2022sric:webpage.png?400|}} |
+ | {{:iothings:proiecte:2022sric:email_capture.png?400|}} | ||
Line 52: | Line 55: | ||
=== References === | === References === | ||
+ | [[https://randomnerdtutorials.com/esp32-send-email-smtp-server-arduino-ide/#:~:text=In%20the%20Select%20app%20field,or%20ESP8266%20to%20send%20emails.]] | ||
[[https://randomnerdtutorials.com/esp32-hc-sr04-ultrasonic-arduino/]] | [[https://randomnerdtutorials.com/esp32-hc-sr04-ultrasonic-arduino/]] |