DIY Online Security Camera! (takes pictures when an intruder enters) || Home Assistant Guide

20. 12. 2020
104 586 zhlédnutí

Altium Designer: altium.com/yt/greatscott!
Previous video: csworld.info/mem/video/a9asgpN50KeXoWY.html
DIY Home Automation Intruder Alarm System video: csworld.info/mem/video/fNl-aYaou4R_Z2Y.html
Facebook: facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Support me for more videos: www.patreon.com/GreatScott?ty=h
More project information (schematic, code,....) on Instructables: www.instructables.com/DIY-Online-Security-Camera/
Parts list (affiliate links):
ESP32-CAM: s.click.aliexpress.com/e/_A6nOO9
Security Camera: s.click.aliexpress.com/e/_9RZXCz
200, 10k Resistor: s.click.aliexpress.com/e/_9fYthX
IRL2905 MOSFET: s.click.aliexpress.com/e/_9HTFsN
Boost Converter: s.click.aliexpress.com/e/_9gDvAh
Useful sites which were shown in the video:
www.uctronics.com/download/cam_module/OV2640DS.pdf
github.com/easytarget/esp32-cam-webserver
esphome.io/components/esp32_camera.html
www.home-assistant.io/integrations/camera/
www.home-assistant.io/docs/configuration/basic/
In this project I will show you how to combine an ESP32-CAM with an ordinary security camera housing in order to create an online security camera. That means I will show you how to use the ESP32-CAM board in order to take pictures and then I will show you how to integrate it into home assistant. There we can then create an automation in order to take pictures when an intruder triggers an alarm. At the end I will then show you how to put all of the components inside a security camera housing. Let's get started!
Thanks to Altium for sponsoring this video.
Music:
2011 Lookalike by Bartlebeats

Komentáře
  • Do you think this esp32 camera system can be used to do optical position sensor? i.e. just like those optical mouse that use a camera image to track movement. With all this compute power and a high res camera and small size, it might do very high precision location movement needed for a cheap CNC machine without expensive stepper motors and tight motion. If someone can figure it out Great Scott can!

    Murray MadnessMurray MadnessPřed 25 dny
  • Is it an obsessive-compulsive disorder that Scott goes over on his own handwriting 3 or 4 times? I've seen this in the few videos I've watched, and ... it's almost annoying ...

    Axel LambertAxel LambertPřed měsícem
  • sounds like lot of hassel to me it would be easier just plug camera and hook it up and run it

    patrick mheichpatrick mheichPřed měsícem
  • Do you think a PIR sensor can be used as a body temperature sensor? Can you make an experiment for that? 😊

    Troy Frederick LimTroy Frederick LimPřed měsícem
  • Would it be possible to hook up a USB host and interface almost any webcam to the esp32?

    Seckin Sinan IsikSeckin Sinan IsikPřed měsícem
  • Nobody: The guy in the online class: 8:22

    LolibolyLolibolyPřed 2 měsíci
  • yes boss i have a project for u. Diy CT limiter for chinese grid tie inverter it control the solar input ,so off grid inverter wont go into protection mode .Cutting the power because the load was not enough .Also it wont back feed utility grid if on grid. Can u?

    olvanoolvanoPřed 2 měsíci
  • WArum hast du nicht die orginalcam genutzt? kann man die nicht flashen oder gegen eine nas laufen lassen?

    Chris ChrisChris ChrisPřed 2 měsíci
  • that was a pretty damn good video! keep it up :)

    HUNTRHUNTRPřed 2 měsíci
  • Hello great Scott can you run an alternator out of esc controller because I saw video allot of them

    Jamesss RolandJamesss RolandPřed 2 měsíci
  • Guy, I am Electronics technician by profession, but i still learn new things from you

    bartek xpbartek xpPřed 2 měsíci
  • Nice idea! But isn't it a lot simpler to buy an ip camera with onvif (you can get them for 20 euros) and adding that directly to Home Assistant?

    Floris SchoutenFloris SchoutenPřed 2 měsíci
  • Hi scott. Can use only the same wifi. Or where I be in the world I will be notified?

    RoboticsRoboticsPřed 3 měsíci
  • I’m really surprised by the cam quality. Mine has been all blurry, basically unusable

    Lubomír BřoušekLubomír BřoušekPřed 3 měsíci
  • D.I.Y Cooler version 2 please

    KOTOBUKI CHANNELKOTOBUKI CHANNELPřed 3 měsíci
  • So the camera cannot record images then? Whats the point of you cant save the images of the intruder? Or am I missing something?

    DUDE DUDEDUDE DUDEPřed 3 měsíci
  • I used Arduino Uno to connect my cam. Looked up connections on google.

    travelvideostravelvideosPřed 3 měsíci
  • hi bro.. can u make next video talk about Surge Protector. and same thing ab Thermal Fuse and Variable Resistor example... MOV-470kd14j any different with J or without J when i google it said ( J is high surge no J is standard surge ) but i didn't understand......like this video show here>>>> ( csworld.info/mem/video/g7t4o4eBrZeGr2I.html ) i try to make or upgrade.. Triple Gang Multi-Socket Plug Extension something like this www.amazon.co.uk/Pro-Elec-Multi-Socket-Extension-Approved/dp/B075WXD14Z

    Alex ChongAlex ChongPřed 3 měsíci
  • can give link for ftdi board please?

    Oleo koongOleo koongPřed 3 měsíci
  • Why do you have something like this with that bad quality, if you can use any IP camera for better quality and even works with home assistant or node red/alexa/google home? And its much cheaper if you put that board with that one camera you trashed.

    Adrián ČapekAdrián ČapekPřed 3 měsíci
  • Whilst this video gives you the idea that it is all possible, I'm fairly certain I wouldn't be able to make it using just this video. Interesting nonetheless.

    TwotoneTwotonePřed 3 měsíci
  • Build a computer in the next video.

    Amr MohammedAmr MohammedPřed 3 měsíci
  • 11:27 ghost!!!😱😱😨😨

    RamyRamyPřed 3 měsíci
  • I just realised that the IRL2905 has no safe operating area for DC given in its datasheet. I've heard numerous times that it's important to use Mosfets which are specifically made for linear applications, if you want to use them as a DC Switch. Maybe that would be a great topic for a future Video? Video is top notch, as usual.

    Leander StarkLeander StarkPřed 3 měsíci
  • Hey, I just saw your supercharger kit on Elektor's channel. What's up with that?

    David RoDavid RoPřed 3 měsíci
  • Could you do video on biolite (it's thermo electric generator for camping) but it doesn't need ice to generate power, so ho does it work?

    Jiří KlimešJiří KlimešPřed 3 měsíci
  • GreatScott! Do you take suggestions for projects? My 8 year old son has been consuming a ton of your content and much of ElectroBOOM's. Both amazing channels. Will keep us busy for months. Perfect Winter Projects! Wondering whether you might consider doing a Arduino based Metal Detector? We have been working on one from the Arduino forums but we hit a wall and it is quite frankly over my head. Would love to see one you would come up with. Happy New Year!

    Kai-MadeKai-MadePřed 3 měsíci
  • Why don't you make diy rf mini range radar for security purposes

    188 chinthapalli Durgaprasad188 chinthapalli DurgaprasadPřed 3 měsíci
  • DIY or buy home thermostat

    Conrad GreenConrad GreenPřed 3 měsíci
  • Happy New Year 😁😀

    Tanuj VermaTanuj VermaPřed 3 měsíci
  • hey scout how did you know the value of the smd ceramic capacitor?

    Norman DIY / PROJECTSNorman DIY / PROJECTSPřed 3 měsíci
  • The esp32 cam looks interesting but I don't know how to get started. I simply want a camera to take 1 picture per day and send it via email. What would be necessary to do this?

    Tom LesniakTom LesniakPřed 3 měsíci
  • Please make a smoke alarm

    Huy PhamHuy PhamPřed 3 měsíci
  • Can you make something like the transistor tester with an arduino by letting the arduino create a pwd signal and using the arduino's ability to measure voltage observe the effects that may occur when a coil or a capacitor is attached and then calculate the inductance or capacitance via the changes to the signal

    nikhil jhingoerienikhil jhingoeriePřed 3 měsíci
  • I believe that just fills that tmp folder (doesn't overwrite oldest files), so do i (is it possible?) need to do automation that clears that folder, let's say once in 2 weeks or similar? Correct me if i'm wrong :)

    JeseJesePřed 3 měsíci
  • Scott, I have a question maybe you can help with me. I'm trying to create a power supply with a digital read out but I don't want a LCD to tell me the voltage I'm running. I want to use 5 nixie tube 4 Numark nixie tubes and one light nixie tube to be the desimol. Like this (00.00v).can you help me with this? Nixie tubea I want to use are the N-14

    Pete CastilloPete CastilloPřed 3 měsíci
  • Cool video!

    SijisuSijisuPřed 3 měsíci
  • This is totally unrelated to the video, but id love to see you do a video sometime about a chua's circuit and negative resistance :p might be interesting

    Mick GMick GPřed 3 měsíci
  • Happy almost new year scott, love your videos!!!

    Oscar BardalesOscar BardalesPřed 3 měsíci
  • Thank​ you​ very​ much.

    Uuyoubaan4 UuyouUuyoubaan4 UuyouPřed 3 měsíci
  • or can buy a used IP cam. Thank you. we love you.

    electroumitelectroumitPřed 3 měsíci
  • Where is a good place to start learning about electronics?

    Robby SRobby SPřed 3 měsíci
  • Do you have a system to protect against the thought police?

    Peter JantzerPeter JantzerPřed 3 měsíci
  • Make a video on smart glass and how to build a simpler version of smart glass.

    Vishwak NeelamegamVishwak NeelamegamPřed 3 měsíci
  • Are you sure these LEDs are not heating pcb enough to make your glue to melt?

    PermanentWTFPermanentWTFPřed 3 měsíci
  • Easy peasy /s

    WillWillPřed 3 měsíci
  • Can you do a video of your 12 volt battery try to power your whole house with it! PlS?

    shaji chackoshaji chackoPřed 3 měsíci
  • Lets say that thief entered your house without triggering your system. You are fucked. You should make a software for camera that compares previous image with next image, and if there is a mismatch between images, camera should start recording.

    Mox MixMox MixPřed 3 měsíci
  • Google assistant compatible button pusher bot?

    KolvertKolvertPřed 3 měsíci
  • Hey, genau so so ein ausführliches Video hab ich gesucht! Nur eine frage, Kann man die Kameras auch mit Apple HomeKit verknüpfen? Ich weis nicht ob das gutes Material für CSworld ist aber das wäre auf jeden fall ein sehr nützliches Video da man es dann halt einfach besser benutzen kann. Ansonsten ist es ein Geiles Video! lg

    DarioDarioPřed 3 měsíci
  • I like the personal intro !! I have been playing with the ESP32-CAM, and find it useful for seeing what's going on at my house. The resolution isn't all that, but works well for what I'm doing. I want to connect the garage door opener to it, but have not obtained a 3.3 volt solenoid switch to simulate the button push to activate the motor. I think a transistor to one of the GPIO's will trigger the solenoid. Merry Christmas !!

    Richard AdamsRichard AdamsPřed 3 měsíci
  • IoT camera = voyeur's dream

    WolfinWolfinPřed 3 měsíci
  • Do you tell me Is it possible to control AC FAN dimmer (with zero cross detection) both By two Physical push BUtton (speed increasing and decreasing) manually and also By Blynk app slider button for controlling speed through wifi. I ask the question because facing very difficulties to write the code for integrating push button function with only wifi controlled code (By blunk app slider button) . do you know is it possible or not ?

    Mahbubur Rahman RahmanMahbubur Rahman RahmanPřed 3 měsíci
  • Not sure what is benefit of all that if i can buy a camera for around $25 that will do all that including the alarm ???

    Gaming Shiny Shows unboxingGaming Shiny Shows unboxingPřed 3 měsíci
  • I have a computer that doesn't have a camera for a google meet for school and I am wondering is it worth DIYing a USB video camera or is it worth buying what is commercially available? This would help because sometimes I do goole meets on my computer and I have to have my camera on (unless it is work time).

    EthanGreenEthanGreenPřed 3 měsíci
  • I'm looking to add audio.

    Steven NelsonSteven NelsonPřed 3 měsíci
  • I don't really need it to be online, i'd rather not have cameras inside my house online for security reasons.

    ACorgiWithaCrownACorgiWithaCrownPřed 3 měsíci
  • *Vielen dank* für das interessante Video 👏👍. Wünsche Dir schöne Festtage. Schön wären mehr deutschsprachige Videos. Gruss, Roger

    AmperekäferAmperekäferPřed 3 měsíci
  • I didn't know that was your entrance door. Thanks!👍

    John DawsonJohn DawsonPřed 3 měsíci
  • thankyou 😁

    fiona cantikfiona cantikPřed 3 měsíci
  • you can flash the yi camera from xiaomi. there are supported firmwares for home assistant

    hz Linhz LinPřed 3 měsíci
  • Next can you integrate facial recognition software into the security system? Like if you walk up to your door you can have a somewhat keyless entry???

    Jacob SheltonJacob SheltonPřed 3 měsíci
  • Show us how to build a comercial drone like those in amazon. Please. You haven't such projects in your channel

    Quran Stream إذاعة القرآن الكريمQuran Stream إذاعة القرآن الكريمPřed 3 měsíci
  • If you want to be a bit more creative you can also use the tensor flow addon in home assistant to for example only take pictures if there is a person, works well with an esp cam

    Torbjörn JanssonTorbjörn JanssonPřed 3 měsíci
  • Everything works pretty nice until an intruder shorts your wires rendering the fuses disabled. Then nothing works. And that is why professional alarm systems always win. So i recommend PoE supplied from an UPS at least!

    LogicDeviceLogicDevicePřed 3 měsíci
  • I have three of the esp32 cams with a version of firmware that has motion detection and recording. It works really nice, but the camera module I have (OV2640) doesn't see IR that well. Hardly at all, actually. Did anyone notice this?

    michalrz michalrzmichalrz michalrzPřed 3 měsíci
  • Please help to choose between uni-t ut210e clam meter or mastech ms2101 please sir

    Swatantra TechSwatantra TechPřed 3 měsíci
  • BRAVO !

    Zoonvan HetuniZoonvan HetuniPřed 3 měsíci
  • 5:15 Could've been the browser, I've had some issues connecting to websites because of Chrome before

    EdenEdenPřed 3 měsíci
  • Can one ESP32 board be used to send data and receive commands?

    Lekvoin NaksiLekvoin NaksiPřed 3 měsíci
  • Next use the ESP-CAM for reading a water meter or similiar!

    SirJMDDKSirJMDDKPřed 3 měsíci
  • Very nice can u make some videos for beginners from start to finish on different projects aka how to build different stuff for people without experience in the field? So we can follow along at home 😊

    Dean JDean JPřed 3 měsíci
  • We know why you standing there cause we saw thumbnail 😬

    Swapnil DhobaleSwapnil DhobalePřed 3 měsíci
  • Bro you're awesome

    AlinAlinPřed 3 měsíci
  • Would it be possible to use the existing sensor from the security camera with esp32? I'm hoping the picture quality would be very different then.

    Suyash BansalSuyash BansalPřed 3 měsíci
    • Why don't you hack what you have and see? Best way to learn is to just do something.

      haywoodyoudomehaywoodyoudomePřed 3 měsíci
  • esp32 cam in [camera_probe() detected camera not supported] pleas prfect solution

    Ansar HasilpuriAnsar HasilpuriPřed 3 měsíci
    • prfect solution yourself

      haywoodyoudomehaywoodyoudomePřed 3 měsíci
  • Can you make one project on automatic leaf disease detector and auto medicine for large scale area ?

    Abhinav sapareAbhinav saparePřed 3 měsíci
    • Do your own school work Rajmeesh.

      haywoodyoudomehaywoodyoudomePřed 3 měsíci
  • I am waiting for it . 🔥🔥

    IMRAN KHANIMRAN KHANPřed 3 měsíci
  • Needed samples of infra red light functionality. Also, why did you remove the on board LED?

    odinataodinataPřed 3 měsíci
    • Save power and no indicator for intruders

      AKIN OYEAKIN OYEPřed 2 měsíci
  • thanks for posting in english - sorry to hear the german version was not helpful to you via youtube....

    NooSkisNooSkisPřed 3 měsíci
    • I can't watch his videos in German without getting the urge to invade Poland.

      haywoodyoudomehaywoodyoudomePřed 3 měsíci
  • This is an interesting project, all these inexpensive devboards you can get today are game-changing. Several years ago I had a webcam hooked up to a Linux PC running the 'motion' program. It would take pictures automatically when it detects motion. Running that on a Raspberry Pi or similar might be better because it could take pictures autonomously, even if your Wi-Fi is down.

    eDoc2020eDoc2020Před 3 měsíci
  • I just received my ESP32-CAM and didn't notice it doesn't have USB port until I saw this video T-T

    JuanoDJuanoDPřed 3 měsíci
  • :)

    Carlos DoeCarlos DoePřed 3 měsíci
  • I used to had an expensive version of that system. Now I have a very high quality picture of the masked robber guy that stole all my things, including the security camera. =(

    Rogério CostaRogério CostaPřed 3 měsíci
  • cant we hook up a high-quality camera with an esp 32 board?

    Kartikey: The Indian VloggerKartikey: The Indian VloggerPřed 3 měsíci
  • I like this project. But I would really recommend to not use wifi for security relevant devices. I am coming from the IT security sector and it’s just so easy to jam it. For someone with experience it takes less than 30 seconds to take a wifi network down😋.

    The Real KasumiThe Real KasumiPřed 3 měsíci
  • Hi. i have an esp32 cam but no ftdi currently. can i program it with an arduino uno or nano board? Thank you

    Technophile Hami SoussouTechnophile Hami SoussouPřed 3 měsíci
  • Every youtuber is so nice

    Abdullah IvanAbdullah IvanPřed 3 měsíci
  • Next actualization, a lasser bean.

    GANIDGANIDPřed 3 měsíci
  • Hello, do you think i should buy this power supply www.amazon.se/gp/product/B08BNGBBN8/ref=ppx_od_dt_b_asin_image_s00?ie=UTF8&psc=1 ?

    ToxicGeiikxToxicGeiikxPřed 3 měsíci
  • I would suggest using a power outlet with integrated usb chargers, so you dont lose that spot, and even maybe direct soldering onto that, so that the intruder isnt able to unplug it right away.

    Max MichelMax MichelPřed 3 měsíci
  • Have you ever been in military?

    Thomas BrinaThomas BrinaPřed 3 měsíci
  • Such a great inventor, such a shame he uses vodafone.

    George RigbyGeorge RigbyPřed 3 měsíci
  • His voice does not match his look😀 It's just funny.

    Mr DoblyMr DoblyPřed 3 měsíci
  • If you're using the HA app, why not just setup a device_tracker and disarm the alarm when you get home so you don't have to flip the switch everytime? Works for me like a charm

    Takumi IkezakiTakumi IkezakiPřed 3 měsíci
  • I just planned to make a security camera project. Guess there are many like minded people out there.

    AJAI KUMAR SAJAI KUMAR SPřed 3 měsíci
  • I have made one which records video, You can watch it if you have time csworld.info/mem/video/qLyMm6uWu5aqpqU.html

    skinnyboxerskinnyboxerPřed 3 měsíci
  • For people having issue with the "brownout" error, make sure you have a good cable. After three different cables, I finally managed to get my ESP32-CAM to work. Turns out that they are super sensitive to power fluctuations. I accidentally nudged my cable connector to my PC once, and the brownout was triggered.

    Andreas LamarcaAndreas LamarcaPřed 3 měsíci
  • Wouldn't it have made more sense to use the camera you bought? :D

    kinsi55kinsi55Před 3 měsíci
    • That’s what I was thinking lol. Just use the video output from it. Or better yet just go buy a nest camera lol

      Cody KeyCody KeyPřed 3 měsíci
  • Ehhh...why buy both?! U could of just went through a raspberry pie or got an adapter to ur pc with the nice one and done the ip like that...😕

    HÆX A.HÆX A.Před 3 měsíci
CSworld