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

    UnitCam with Core2

    Units
    unitcam core2
    5
    7
    8.5k
    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.
    • K
      Kombistack
      last edited by

      Hello everyone,
      Can anyone please advise if the UnitCam can be used with the M5Stack Core2?
      The Cam Unit is greyed out in UiFlow.
      If the UnitCam can be used with the Core2 I presume it needs to be wired to the pins beneath the CORE2 cover on the rear of the M5Stack Core2.
      Any help greatly appreciated.

      1 Reply Last reply Reply Quote 1
      • P
        psreeram
        last edited by

        Hello Everyone,

        I am facing the same issue. The CAM unit is greyed out in UIFlow for Core2.
        How to get the live video of Unitcam on Core2?

        Also the CAM2CORE sketch (https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Unit/UNIT_CAM/CAM2CORE/CAM2CORE.ino) does not work for Core2. If this sketch is uploaded to Core2, the Core2 does not boot any more.

        Any help on this is greatly appreciated. Thanks

        1 Reply Last reply Reply Quote 0
        • V
          veryalien
          last edited by

          I can confirm that the UnitCam does NOT work with UIFlow 1.9.8 on a Core2.
          It does not seem to be supported.
          A UnitCam stream works without a problem connected to PortB with UIFlow 1.9.8 on an original Core. I have not properly tested the cloud functionality - it didn't seem to work for me. QR code for the url was never displayed.
          There must be some technical reason why the UnitCam stream doesn't work on a Core2. Different UART behaviour?
          However there is NO warning on the UnitCam store and doc pages that it currently does not work in UIFlow 1.9.8 on a Core2. If you only have a Core2 I don't think it will work. Luckily I have both Core2 and origjnal Cores so I could get it working.
          Has anyone successfully tried a UnitCam on a Core2 with Arduino instead of UIFlow?

          1 Reply Last reply Reply Quote 0
          • M
            macsbug
            last edited by macsbug

            @veryalien said in UnitCam with Core2:

            UnitCam

            CAM2CORE not working? #41
            https://github.com/m5stack/M5-ProductExampleCodes/issues/41

            Unit CAM
            https://docs.m5stack.com/en/unit/unit_cam
            Arduino
            Camera UART to Core / This program is suitable for M5Core, used to receive images from UNIT CAM via UART, please do not burn to UNIT CAM

            1 Reply Last reply Reply Quote 0
            • V
              veryalien
              last edited by veryalien

              Confirmed, the UnitCam does NOT work at all on the Core2 in UIFlow or Arduino.
              The Arduino UART to Core does NOT work on the Core2 - it does not boot.
              I managed to fix this problem!
              I will just use my UnitCam on my Cores and wait until it gets fixed for the UIFlow Core2 - if ever.

              1 Reply Last reply Reply Quote 0
              • V
                veryalien
                last edited by

                I fixed the problem with the cam2core on the core2. So the UnitCam will work with Arduino IDE code and the core2.

                It is a very simple fix:
                Replace the first line #include <M5Stack.h>
                with #include <M5Core2.h>

                Initialising the core code on a Core2 is not the best idea!
                Now it works on my Core2 showing the video stream from a UnitCam connected to PortB (pins 26, 36).

                1 Reply Last reply Reply Quote 0
                • K
                  kolya5179596
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post