Detect Motion And Distance

Author: Josan-Gulica Stela

Introduction

This project aims to identify if somebody is moving inside a room.

Hardware Description

The components used for the project were the following:

  • ESP32 Dev Board
  • HC-SR04 Ultrasonic Sensor
  • PIR Motion Sensor
  • Wires

The electronic schema:

Software Description

Used Libraries:

#include <WiFi.h>
#include <ESPAsyncWebServer.h>
#include <Firebase_ESP_Client.h>
#include <ESP_Mail_Client.h>

Set-ups:

  • Firebase
  • WiFi
  • AsyncWebServer
  • ESP_Mail_Client

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. An email is sent to a user saying that a motion was detected.

Demo

References

iothings/proiecte/2022sric/motiondetection.txt · Last modified: 2023/06/02 09:14 by stela.josan
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