ESP32-Camera - Deep Dive

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 37

  • @eijikong1660
    @eijikong1660 ปีที่แล้ว +1

    is it possible to do i2c on esp32-s using the sd card pins? if sd card wont be used.

    • @BasementElectronics
      @BasementElectronics  ปีที่แล้ว

      You'd have to reassign the SDA and SDL pins because the default ESP32 pins (GPIO 26 and 27) are used for the camera

  • @guywhoknows
    @guywhoknows 3 ปีที่แล้ว +1

    Tried using pin 16 as input to make ldr start stub, but ended up just going in a boot loop.
    Scrapped that idea. I didn't really want to run a second cntlr to switch on and off the camera as it would defeat the objective, and being on battery adds to the issue.
    Have decided to use a remote trigger as a separate control and wake trigger.

  • @quaziz
    @quaziz ปีที่แล้ว

    Have never seen the use of the sd card reader anyway. The module is a wifi camera, so why not just using the cam over web sockets? and save it on any device where you can have a node.js server running. Which is almost all machines, from raspberry pi to IBM Watson :D

    • @BasementElectronics
      @BasementElectronics  ปีที่แล้ว +1

      Yes, but there are uses where the module might not have a WiFi connection, for example a trail cam. I've built environmental sensors in remote areas that would have to store their data because they didn't have connectivity.

  • @DbugII
    @DbugII 2 ปีที่แล้ว

    Is there anything magical about GPIO 16?
    I tried to use it to get a digital value (a simply push button), but all I got was the device apparently performing a reset.

  • @lagmeshg4158
    @lagmeshg4158 2 ปีที่แล้ว

    esp32 cam have any pwm pin?

  • @satviksharma3722
    @satviksharma3722 4 ปีที่แล้ว +1

    It really really helped me a lot. Thank you.

  • @oscarmayorgam
    @oscarmayorgam 4 ปีที่แล้ว

    hi, excellent video, i use a ESP32 cam to make an lowcost thermal camera but i need to solve how to comunicate my sensor amg8833 in the esp32, because the pins sda y scl are sued whith camera and need t use that and in the tft lcd display picture and temperature

  • @nirangasahan4031
    @nirangasahan4031 4 ปีที่แล้ว

    My ESP32 cam is keeping restarts and try to connect to WIFI pl help me..

  • @jaycheda3232
    @jaycheda3232 2 ปีที่แล้ว

    can you add a multiplexer to get more pins?

    • @BasementElectronics
      @BasementElectronics  2 ปีที่แล้ว

      Definitely. This might be something worth investigating. I do want to work with this board and camera more.

  • @martinlaak
    @martinlaak 3 ปีที่แล้ว

    It seems to me that GPIO 13 is the CS (Chip Select) pin for sd card - DATA 3 I think is the same as CS. So, if we pull this low, we should be abble to talk to other SPI devices (on ports GPIO 14 - CLK, GPIO 15 - MOSI, GPIO 2 - MISO). And I guess we could use a shift register as a sort of a SPI device also?
    Also what interest me are GPIO 26 and GPIO 27. These are for I2C communication with the camera. The ports are not brought out to the board for some reason, even though one should be able to communicate with multiple devices on i2C. What whould happen if we just soldered 2 wires to the appropriate chip connectors and used the I2C?
    ESP32-Camera is cheap and compact, maybe we could make a usefull device out of it?

    • @BasementElectronics
      @BasementElectronics  3 ปีที่แล้ว

      From my understanding, this board was released mostly as a proof-of-concept for developers. I'm sure there are plenty of ways to hack this board into being more useful.
      I've seen other ESP boards that also integrate PiR sensors and OLEDs.

  • @newschool050
    @newschool050 4 ปีที่แล้ว

    thank you for the detailed information. I want to use an IMU sensor and 4 PWM OPs, if I use IMU on SPI looks like I can get 4 IOs for PWM, do you think the same? or any other suggestion?

  • @whatelseison8970
    @whatelseison8970 2 ปีที่แล้ว

    Have any of you had thermal management issues with this board? I've found the higher the resolution is set the hotter it runs and at the max resolution (1600*1200) my first board got so hot that it died after about 20 minutes. That was at room temp in open air too.

    • @BasementElectronics
      @BasementElectronics  2 ปีที่แล้ว

      I haven't used the higher resolutions because the results never seem to be consistent and the framerate is unusable. Good to know about the heat issues though. It might be worth sacrificing a module to find out

  • @iyanuoluwae.o.4254
    @iyanuoluwae.o.4254 3 ปีที่แล้ว

    Pls do Esp 32 cam with i2c lcd thanks

  • @browaruspierogus2182
    @browaruspierogus2182 4 ปีที่แล้ว

    I don't think Esp32 is good for camera operations. Better buy Kendryte K210.
    I tried getting the high res image and couldn't get more than 320x240/15 fps maybe.
    Higher res are better for still pics plus I2S is really unstable above 20Mhz

    • @BasementElectronics
      @BasementElectronics  4 ปีที่แล้ว

      I'm a little disappointed with the ESP cameras too. I'm wondering if the problem is with the OV2640 camera or the software/board. At some point I'm going to try an OV7670 camera to see if it works better.

    • @browaruspierogus2182
      @browaruspierogus2182 4 ปีที่แล้ว

      @@BasementElectronics it's not a camera problem but low frequency on I2S

  • @mjuliana100
    @mjuliana100 2 ปีที่แล้ว

    do you know what voltage should be in each pin if i power with 5 V? thanks in advance

    • @BasementElectronics
      @BasementElectronics  2 ปีที่แล้ว

      Even if you power the board with 5V, the ESP uses 3.3V for its GPIO pins.

  • @chandrurn
    @chandrurn 4 ปีที่แล้ว

    Hi how do you do, I wish to use the esp cam as a motion detector only by using it's camera and not the pir. Can you help me out please

    • @BasementElectronics
      @BasementElectronics  4 ปีที่แล้ว

      I don't know how to specifically do this.
      One idea to try is to have your software watch for changes in the image.

    • @zaro33
      @zaro33 3 ปีที่แล้ว

      I was also interested in this and a guy called Simone already did it (check the link) with great explanation and he provides very simple to follow code. I took his code and modify it to try and make an automatic motion detection BB Gun to keep deer away from the wife flowers in the garden. eloquentarduino.github.io/2020/01/motion-detection-with-esp32-cam-only-arduino-version/

  • @Bullfrogerwytsch
    @Bullfrogerwytsch 4 ปีที่แล้ว

    You forgot to mention the gpio used for the led.

    • @BasementElectronics
      @BasementElectronics  4 ปีที่แล้ว

      You're right.
      The LED shares GPIO4 with one of the SD card data lines. This can be useful if you're saving pictures to the SD card - the flash automatically comes on :)

  • @hamzasajid3773
    @hamzasajid3773 4 ปีที่แล้ว

    how can we use I2c on ESP-32 CAM

    • @FaisalFaheem88
      @FaisalFaheem88 4 ปีที่แล้ว +1

      After you have taken a Pic just use wire. Begin(sda, scl) of the other device. Just tried today with mlx 9064. Worked like a charm

    • @FaisalFaheem88
      @FaisalFaheem88 4 ปีที่แล้ว +1

      Lemme know if you need further clarification

    • @FaisalFaheem88
      @FaisalFaheem88 4 ปีที่แล้ว +1

      @@hamzasajid3773 OK first tell me what are you trying to connect via i2c and which pins you are using. Plus are you using the camera to take pics or not.

    • @hamzasajid3773
      @hamzasajid3773 4 ปีที่แล้ว

      I am connecting mlx90614 and yes I am clicking pics

    • @hamzasajid3773
      @hamzasajid3773 4 ปีที่แล้ว

      With realtime data on server