I want to connect five OV2640 cameras via FPC to an ESP32 on a custom PCB. Is this generally possible and does the ESP32 have enough power for this or do I need an ESP32 for each camera? The frames per second are not so important as the cameras will be used as QR code scanners. Which components allow to run so many cameras with one ESP32?

  • awwwa@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thanks to everyone for the all helpful responses.

    Connecting each camera to its own ESP32, which process the data and sends only necessary information to the main ESP32, I think is a cool idea.

    I plan to use this Schamatic as a guide for building the ESP32 cam parts on my pcb, although I’m sure I’ll be using a slightly newer ESP32: https://github.com/SeeedDocument/forum_doc/blob/master/reg/ESP32_CAM_V1.6.pdf

    It seems that the PINS U0TXD and U0RXD are free. Can I use these to connect them to the main ESP32 via UART or is there a better way to connect all ESP32 cams to the main ESP32?

    And there is one more question. How can I program the ESP32 of the cams? The main ESP32 will be connected to a Micro-B SMD USB connector. Do I need another one for each ESP32 (for the cams) or is it possible to program all ESP32 via the same USB connector?

    • Susan_B_Good@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Depends on your programming abilities. You can set up a “1-Wire” bus and put the lot on that. You could have one microcontroller as master and the rest as slaves - your external USB connection would go to the master and it could, in theory at least, then pass on program upgrades to the others. Clearly they would all have to be programmed individually, originally. But, quite frankly, the investment in time and effort on setting all that up? If you had dozens, hundreds - then yes. But you only have a small hand full. I’d just bring out their USB connections and program them individually, via those. I think each one has a unique identifier, stored in ROM - so they could all run the same software and include that identifier in messages on the bus.