Camera does not initialize: M5Stack PoECam
NicklasMatzulla opened this issue · 1 comments
NicklasMatzulla commented
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
Angrite commented
Did you tried to lower frequency to 10MHz (xclk_freq)?