Skip to content

Camera does not initialize: M5Stack PoECam #93

Description

@NicklasMatzulla

Hey,
I would like to initialize my PoECam from M5Stack. Please note that the PinMap differs from the normal M5Cam. Unfortunately, I get the error that the camera cannot be initialized.

I have used the official examples from PoECam as a guide for the configuration, I think these could be helpful.

Micropython code:

import camera

cam = camera.init(0, sioc=12, siod=14, xclk=27, vsync=22, href=26, pclk=21,
                  d0=32, d1=35, d2=34, d3=5, d4=39, d5=18, d6=36, d7=19,
                  format=camera.JPEG, framesize=camera.FRAME_UXGA, xclk_freq=camera.XCLK_20MHz,
                  fb_location=camera.PSRAM, reset=15, pwdn=-1)


# noinspection PyUnresolvedReferences
def get_frame():
    return cam.capture()

Kind regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions