Giter Club home page Giter Club logo

pritam20ps05 / laser-security-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 150 KB

A school project model built to emphasis on our day to day security. In this model if anyone interrupts the laser then a picture of the intruder is taken and sent to a heroku flask server, which with the help of flask mail sends a mail to the owner with the picture of the intruder.

License: MIT License

Procfile 0.46% Python 44.65% C++ 54.89%
esp32-cam home-security laser-sensor

laser-security-project's Introduction

laser-security-project

A school project model built to emphasis on our day to day security. In this model if anyone interrupts the laser then a picture of the intruder is taken and sent to a heroku flask server, which with the help of flask mail sends a mail to the owner with the picture of the intruder. This repo is a resource storage of our original physical project model made to serve the purpose of recreating the original model in future or improving the same model. This repo is not meant to be updated any time soon so don't expect any elaborate support from us, but contributions and improvements from your side are welcome.

The Hardware

Materials required (For prototype)

  1. A lot of jumper wires M-M M-F F-F
  2. ESP32_CAM AiThinker Board with OV264
  3. FT232RL USB to UART TTL
  4. Buzzer module
  5. Laser module
  6. LM393 LDR module
  7. A power supply (5v) if required
  8. Breadboard
  9. Pushbutton
  10. Resistors 1k ohm

The schematic

Schematic_laser security system For higher resolution check the hardware folder
Upload the esp32_cam.ino to the board after updating all the dummy variables(wssid, wpass, server_url) and make the connections properly with the wifi.

The Server

The server is ready to go. Just add some env variables, enable DisplayCaptcha and Allow less secure apps to your sender gmail account and you are good to deploy

Deploy

Environmental variables

RECIPIENT_EMAIL [email protected]
SENDER_MAIL [email protected]
SENDER_PASS anything1234

For heroku Buildpacks required

heroku/python
https://github.com/heroku/heroku-buildpack-apt

now just deploy.

Warnings

Any soft damage can be fixed but not hard. This project contains hardware elements and any damage to any hardware or your assets due to any misconnections will not be any of our responsibility. Only recreate this if you know what you are doing. Also to be safe try testing the circuit with 3.3v before testing it with 5v.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.