ESP-32 CAM - Motion triggered image alerts to telegram bot

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • Image alerts from ESP-32 CAM to telegram bot
    In this video we will see how to send motion triggered image alerts to telegram bot. If you missed the previous video of how to creating telegram bot and generating token and chat ID please check below link
    • How to create telegram...
    Parts required:
    ESP-32 CAM board
    PIR motion sensor HC-SR501 or similar
    FTDI module
    Jumper wires
    Breadboard
    Note: In many online sources I found that during upload the sketch you need to use 3.3V, I was able to upload code by both ways using 5v and 3.3v. This sketch is not perfectly made by me but modded it from 3-4 online sources like Chung yi fu, random nerd tutorial, santi & be and others.
    Limitations: As shown in the video I replaced the default lens with wide angle FOV lens, the main reason was sensing angle of PIR sensor is around 110° degree and default lens FOV is much lesser, due to this PIR detects the motion and triggers the signal but due to less FOV of default lens sometimes was not getting captured in the frame, so I replaced 120° degree lens. I will post tutorial of replacing the wider FOV lens soon.
    Scope: You can fit the setup in dummy CCTV camera and have real time alerts anywhere in the world on your cellphone.
    Link of the sketch:
    drive.google.c...
    Music credit:
    Memories of spring - Tokyo music

КОМЕНТАРІ • 20

  • @rupishev1985
    @rupishev1985 4 роки тому +3

    I have been looking for such a project for a long time. Thank you for your work!

  • @mahendrab509
    @mahendrab509 2 роки тому

    Sir, whole hardware connection is completion after u applied the code or u used esp32cam and FTDI module only sir

  • @senonbfs2a
    @senonbfs2a 2 роки тому

    My esp send me every second an trigger Message. Why? Can i change the Sensibility?

  • @jakeremedios3632
    @jakeremedios3632 3 роки тому

    Your project is very nice... can i use morethan 1 pir sensor for one board only?

    • @DHKDUDE
      @DHKDUDE  3 роки тому

      That should work, it is possible with Arduino so it should also work with ESP32 Cam. it will increase sensing area but you have to increase camera FOV along with that else object might not appear in the frame.

  • @carloscardenas7415
    @carloscardenas7415 3 роки тому

    Hello, nice video.How to send the alert to several people?

  • @LEKrisnaganthSV
    @LEKrisnaganthSV 3 роки тому

    BRO I'm also getting the same error ""Connection to telegram failed" try creating new bots, i have properly configured all the requirement... any
    fixes?

    • @michaelstandwoth9906
      @michaelstandwoth9906 2 роки тому

      Change the esp32 version to 1.0.4 in board manager

    • @Takeover738
      @Takeover738 7 місяців тому

      I'm getting the same error failed to connect to telegram ledc not initialized. Did you get yours working?

  • @jiovan2000
    @jiovan2000 2 роки тому

    Connection to telegram failed, but already connected to wifi, any solution ? thank q

  • @iwanbadrussamsi5616
    @iwanbadrussamsi5616 4 роки тому

    Good project... but... how do you download the espcam library ?

    • @DHKDUDE
      @DHKDUDE  4 роки тому +1

      hi, that's Arduino esp32 library I used here, which is available on GitHub. I will stright copy of the library link here in zip format

  • @alhapidzteguhgumilar
    @alhapidzteguhgumilar 3 роки тому

    my problem is "Connection to telegram failed.
    "... any solution?

    • @DHKDUDE
      @DHKDUDE  3 роки тому

      Hi, have you properly configured your bot? you will get this error when there is an issue with connection to telegram and code fails to execute. I hope token and chat ID is correct.

    • @alhapidzteguhgumilar
      @alhapidzteguhgumilar 3 роки тому

      @@DHKDUDE already correct my friend because I just copy paste them... btw, to upload it, i use arduino uno

    • @DHKDUDE
      @DHKDUDE  3 роки тому +1

      @@alhapidzteguhgumilar try searching code in the file
      sensor_t * s = esp_camera_sensor_get();
      s->set_framesize(s, FRAMESIZE_XGA);
      replace XGA with CIF or VGA and try

    • @rohitmore7513
      @rohitmore7513 3 роки тому

      @@DHKDUDE i tried CIF & VGA nothing change it says connection to telegram failed

    • @michaelstandwoth9906
      @michaelstandwoth9906 2 роки тому

      Change the esp32 version to 1.0.4 in board manager

  • @mmdirtyworkz
    @mmdirtyworkz 3 роки тому

    fix your audio..