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

    [Solved] M5 Burner Firmware Option Update

    SOFTWARE
    7
    69
    344.3k
    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.
    • G
      GACHAPO @m5-docs
      last edited by

      @watson Thanks- can you use arduino-ide?

      m5-docsM 1 Reply Last reply Reply Quote 0
      • m5-docsM
        m5-docs @GACHAPO
        last edited by

        Hello @gachapo,

        Yes, Color recognition arduino program may help you.

        Here's the code:

        https://github.com/m5stack/Applications-cam/blob/master/Camera/M5CamColorRecognition/M5CamColorRecognition.ino#L36

        M5Stack documentation URL

        https://docs.m5stack.com

        G 1 Reply Last reply Reply Quote 0
        • G
          GACHAPO @m5-docs
          last edited by

          @watson Thank you.

          Do I choose CAMERA_MODEL_WROVER_KIT?

          m5-docsM 1 Reply Last reply Reply Quote 0
          • m5-docsM
            m5-docs @GACHAPO
            last edited by

            @gachapo

            You need chang this source code about camera hardware configuration for adapting to ESP32CAM. Because the arduino source code is for M5Camera A model.

            // Select camera model
            //#define CAMERA_MODEL_WROVER_KIT
            #define CAMERA_A_MODEL_M5STACK_PSRAM
            //#define CAMERA_MODEL_AI_THINKER
            

            https://docs.m5stack.com/#/en/unit/esp32cam

            M5Stack documentation URL

            https://docs.m5stack.com

            1 Reply Last reply Reply Quote 0
            • m5-docsM
              m5-docs
              last edited by

              @GACHAPO @ajb2k3 Thanks your support

              M5Stack documentation URL

              https://docs.m5stack.com

              G 1 Reply Last reply Reply Quote 1
              • G
                GACHAPO @m5-docs
                last edited by

                @watson I have downloaded the M5CamColourRecognition.ino and uploaded to camera successfully. I now have an issued IP address to my network, which I have browsed to and the software loads. However, when I either click get picture or start stream it doesn't work. Please advise?

                m5-docsM 1 Reply Last reply Reply Quote 0
                • m5-docsM
                  m5-docs @GACHAPO
                  last edited by

                  @gachapo Do you modify those pin map for adapting to ESP32CAM not M5Camera (A model)?
                  https://github.com/m5stack/Applications-cam/blob/master/Camera/M5CamColorRecognition/M5CamColorRecognition.ino#L62

                  #elif defined(CAMERA_A_MODEL_M5STACK_PSRAM)
                  #define PWDN_GPIO_NUM     -1
                  #define RESET_GPIO_NUM    15
                  #define XCLK_GPIO_NUM     27
                  #define SIOD_GPIO_NUM     25
                  #define SIOC_GPIO_NUM     23
                  
                  #define Y9_GPIO_NUM       19
                  #define Y8_GPIO_NUM       36
                  #define Y7_GPIO_NUM       18
                  #define Y6_GPIO_NUM       39
                  #define Y5_GPIO_NUM        5
                  #define Y4_GPIO_NUM       34
                  #define Y3_GPIO_NUM       35
                  #define Y2_GPIO_NUM       32
                  #define VSYNC_GPIO_NUM    22
                  #define HREF_GPIO_NUM     26
                  #define PCLK_GPIO_NUM     21
                  

                  M5Stack documentation URL

                  https://docs.m5stack.com

                  1 Reply Last reply Reply Quote 0
                  • G
                    GACHAPO
                    last edited by

                    Yes, as far as I'm aware as long as I have chosen the correct (or in this case closest match) at the top the defined pins should be loaded as below;

                    0_1555308589944_espcam.JPG

                    0_1555308604663_espcam2.JPG

                    m5-docsM 1 Reply Last reply Reply Quote 0
                    • m5-docsM
                      m5-docs @GACHAPO
                      last edited by

                      @gachapo

                      https://github.com/m5stack/m5stack-cam-psram/tree/NoPsram

                      0_1555309119759_9fe56922-d2d2-4bd5-b8c5-c2f59b127f35-image.png

                      M5Stack documentation URL

                      https://docs.m5stack.com

                      1 Reply Last reply Reply Quote 0
                      • G
                        GACHAPO
                        last edited by

                        Hello - I've downloaded before but I don't think it has .ino files so can't be used with Arduino.ide. Please advise?

                        ajb2k3A 1 Reply Last reply Reply Quote 0
                        • ajb2k3A
                          ajb2k3 @GACHAPO
                          last edited by

                          @gachapo said in [Solved] M5 Burner Firmware Option Update:

                          Hello - I've downloaded before but I don't think it has .ino files so can't be used with Arduino.ide. Please advise?

                          No, the driver is compiled with the espressiv IDF and so you need to install that and configure it to compile.
                          Something I have failed to do several times now.

                          UIFlow, so easy an adult can learn it!
                          If I don't know it, be patient!
                          I've ether not learned it or am too drunk to remember it!
                          Author of the WIP UIFlow Handbook!
                          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                          1 Reply Last reply Reply Quote 0
                          • m5-docsM
                            m5-docs
                            last edited by

                            can also program with arduino ide

                            https://github.com/m5stack/Applications-cam

                            0_1555313360412_微信截图_20190415152909.png

                            M5Stack documentation URL

                            https://docs.m5stack.com

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              GACHAPO @m5-docs
                              last edited by

                              @watson Ok - so frustrated was I with my first attempt I purchased a M5Camera ESP32 PSRAM. Works out of the box nicely, but only on it's own wifi (192.168.4.1). However, as previously I need to get onto my network.

                              Therefore, using Arduino IDE I have gone to File, Examples, ESP32, Camera nd loaded up the sketch from there.

                              I have then amended the SSID and Password to my own and defined the PSRAM camera as below;

                              0_1555834525288_psram.JPG

                              Compiles and uploaded the sketch.

                              Nothing! - Camera doesn't even turn on.

                              Can somebody please, simply tell me where I am going wrong and how you ever get this great product on your own network.

                              Thanks

                              O 1 Reply Last reply Reply Quote 0
                              • O
                                Oyye @GACHAPO
                                last edited by

                                @gachapo
                                I just registered for you :D
                                Here what is solved my problem (Y2_GPIO_NUM):

                                #elif defined(CAMERA_MODEL_M5STACK_PSRAM)
                                #define PWDN_GPIO_NUM -1
                                #define RESET_GPIO_NUM 15
                                #define XCLK_GPIO_NUM 27
                                #define SIOD_GPIO_NUM 25
                                #define SIOC_GPIO_NUM 23

                                #define Y9_GPIO_NUM 19
                                #define Y8_GPIO_NUM 36
                                #define Y7_GPIO_NUM 18
                                #define Y6_GPIO_NUM 39
                                #define Y5_GPIO_NUM 5
                                #define Y4_GPIO_NUM 34
                                #define Y3_GPIO_NUM 35
                                #define Y2_GPIO_NUM 17 //32
                                #define VSYNC_GPIO_NUM 22
                                #define HREF_GPIO_NUM 26
                                #define PCLK_GPIO_NUM 21

                                ajb2k3A G 2 Replies Last reply Reply Quote 0
                                • ajb2k3A
                                  ajb2k3 @Oyye
                                  last edited by

                                  @oyye said in [Solved] M5 Burner Firmware Option Update:

                                  @gachapo
                                  I just registered for you :D
                                  Here what is solved my problem (Y2_GPIO_NUM):

                                  #elif defined(CAMERA_MODEL_M5STACK_PSRAM)
                                  #define PWDN_GPIO_NUM -1
                                  #define RESET_GPIO_NUM 15
                                  #define XCLK_GPIO_NUM 27
                                  #define SIOD_GPIO_NUM 25
                                  #define SIOC_GPIO_NUM 23

                                  #define Y9_GPIO_NUM 19
                                  #define Y8_GPIO_NUM 36
                                  #define Y7_GPIO_NUM 18
                                  #define Y6_GPIO_NUM 39
                                  #define Y5_GPIO_NUM 5
                                  #define Y4_GPIO_NUM 34
                                  #define Y3_GPIO_NUM 35
                                  #define Y2_GPIO_NUM 17 //32
                                  #define VSYNC_GPIO_NUM 22
                                  #define HREF_GPIO_NUM 26
                                  #define PCLK_GPIO_NUM 21

                                  Welcome to the forum!

                                  UIFlow, so easy an adult can learn it!
                                  If I don't know it, be patient!
                                  I've ether not learned it or am too drunk to remember it!
                                  Author of the WIP UIFlow Handbook!
                                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    GACHAPO @Oyye
                                    last edited by

                                    @oyye Thank-you,

                                    I did as you stated with only change from the Arduino Examples being;

                                    #define Y2_GPIO_NUM 17 //32

                                    This has made no change - Camera still does not come on.

                                    Just to be absolutely clear - this is the camera a have

                                    ![0_1556260445735_20190426_073011.jpg](Uploading 100%)

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      GACHAPO
                                      last edited by

                                      Is anybody able to help me please? I now have 2 cameras and I am completely unable to get them on my wifi network as intended. Thank you

                                      m5-docsM 1 Reply Last reply Reply Quote 0
                                      • m5-docsM
                                        m5-docs @GACHAPO
                                        last edited by

                                        @gachapo Do you own M5Camera A model and B model? or ESP32CAM?

                                        M5Stack documentation URL

                                        https://docs.m5stack.com

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          GACHAPO @m5-docs
                                          last edited by

                                          @m5-docs I own an M5 OV2640 ESP32PSRAM Camera

                                          m5-docsM 1 Reply Last reply Reply Quote 0
                                          • m5-docsM
                                            m5-docs @GACHAPO
                                            last edited by

                                            @gachapo But, M5Camera A model and B model both own PSRAM chip.

                                            Please take a picture for your camera board.

                                            0_1557286600878_unit_m5camera_04.png

                                            https://docs.m5stack.com/#/en/unit/m5camera

                                            M5Stack documentation URL

                                            https://docs.m5stack.com

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