🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5CoreS3 Camera Pinout for use with ESP32 CameraWebServer example

    General
    2
    7
    577
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ralphjy
      last edited by

      Has anyone gotten the GC308 camera on the M5CoreS3 working with the ESP32 CameraWebServer example? If so, what configuration did you use? I'm compiling with the Arduino IDE 2.3.2 and tried using the pinout from the M5CoreS3 library Basic->Camera example that didn't work.

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF
        felmue @ralphjy
        last edited by felmue

        Hello @ralphjy

        please find my CameraWebServer adaption for M5CoreS3 here.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        R 1 Reply Last reply Reply Quote 0
        • R
          ralphjy @felmue
          last edited by

          @felmue

          Hi Felix,

          Thanks - I just tried it and it ran out of storage space after compiling.

          "Sketch uses 3259241 bytes (103%) of program storage space. Maximum is 3145728 bytes.
          Global variables use 74760 bytes (22%) of dynamic memory, leaving 252920 bytes for local variables. Maximum is 327680 bytes."

          I've been using the Partition Scheme: "16M Flash (3MB APP/9.9MB FATFS)"

          Are you using a Custom Scheme?

          Ralph

          felmueF 1 Reply Last reply Reply Quote 0
          • felmueF
            felmue @ralphjy
            last edited by felmue

            Hello @ralphjy

            hmm, no, I am not using any special partition scheme. Maybe try the one from the original code? See here.

            Or this one here.

            Thanks
            Felix

            GPIO translation table M5Stack / M5Core2
            Information about various M5Stack products.
            Code examples

            R 1 Reply Last reply Reply Quote 0
            • R
              ralphjy @felmue
              last edited by

              Hi @felmue,

              Both of those partition files allowed me to compile and upload, but both have a different runtime partition error. I can connect to the webserver, but there isn't any stream. Not sure if that is caused by the partition errors.

              With the original partitions,csv:
              12:02:12.823 -> E (591) esp_core_dump_flash: No core dump partition found!
              12:02:14.972 -> hello
              12:02:15.235 -> Camera init ok.
              12:02:15.268 -> Camera sensor found.
              12:02:15.268 -> Camera PID: 0x9b GC0308_PID: 0x9b.
              12:02:15.302 -> cam_hal: EV-VSYNC-OVF
              12:02:15.807 -> .....................................
              12:02:33.807 -> WiFi connected
              12:02:33.847 -> Camera Ready! Use 'http://10.0.0.139' to connect

              With the 8MB APP partitions.csv:
              11:35:14.013 -> hello
              11:35:14.013 -> Camera init ok.
              11:35:14.013 -> Camera sensor found.
              11:35:14.013 -> Camera PID: 0x9b GC0308_PID: 0x9b.
              11:35:14.013 -> cam_hal: EV-VSYNC-OVF
              11:35:14.013 -> ......................................................
              11:35:36.199 -> WiFi connected
              11:35:36.199 -> E (30217) MFN: Partition Not found
              11:35:36.199 -> E (30217) MFN: Please Set the Partition
              11:35:36.199 -> Camera Ready! Use 'http://10.0.0.139' to connect

              But in either case there is no stream or image.

              If it is working for you, I must just have some issue with my setup. I'll admit that never tried to set up partitions before. I don't even see the M5CoreS3 n the boards.txt file.

              felmueF 1 Reply Last reply Reply Quote 0
              • felmueF
                felmue @ralphjy
                last edited by

                Hello @ralphjy

                in the web-interface have you clicked the red button to start the stream?

                I think I've seen those partition errors sometimes as well, but so far they did not prevent the stream from working.

                Thanks
                Felix

                GPIO translation table M5Stack / M5Core2
                Information about various M5Stack products.
                Code examples

                R 1 Reply Last reply Reply Quote 0
                • R
                  ralphjy @felmue
                  last edited by

                  @felmue

                  Hi Felix,

                  I discovered that the problem with the stream not starting is related to poor WiFi performance. It works when I put the M5CoreS3 near my WiFi access point.

                  From the comments in your program source, I guess you don't expect most of the features other than streaming to work.

                  I had hoped that resize and face detect might work. V-Flip, H-Mirror and Save seem to work.

                  Thanks, it's a place to start.

                  Ralph

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post