I got a new Arducam Multi Camera Adapter Module (http://www.arducam.com/multi-camera-ada ... pberry-pi/) and 2 RaspiCams v.2.
But I have Problems to get the system running:
I'm getting this error in any attempt to take a picture by the script from the developer.mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
Code: Select all
import RPi.GPIO as gp
import os
gp.setwarnings(False)
gp.setmode(gp.BOARD)
gp.setup(7, gp.OUT)
gp.setup(11, gp.OUT)
gp.setup(12, gp.OUT)
gp.setup(15, gp.OUT)
gp.setup(16, gp.OUT)
gp.setup(21, gp.OUT)
gp.setup(22, gp.OUT)
gp.output(11, True)
gp.output(12, True)
gp.output(15, True)
gp.output(16, True)
gp.output(21, True)
gp.output(22, True)
def main():
gp.output(7, False)
gp.output(11, False)
gp.output(12, True)
capture(1)
gp.output(7, True)
gp.output(11, False)
gp.output(12, True)
capture(2)
gp.output(7, False)
gp.output(11, True)
gp.output(12, False)
capture(3)
gp.output(7, True)
gp.output(11, True)
gp.output(12, False)
capture(4)
def capture(cam):
cmd = "raspistill -o capture_%d.jpg" % cam
os.system(cmd)
if __name__ == "__main__":
main()
gp.output(7, False)
gp.output(11, False)
gp.output(12, True)
1. camera1 directly on the CSI port -> raspistill -> got a picture
2. camera2 directly on the CSI port -> raspistill -> got a picture
3. camera module on the CSI port, both cameras connected -> error
4.1 changed the connectors (flexible flat cable), so only 1 camera connected -> got a picture
4.2 put the camera on different slots -> no problem, got a picture
(-> Yeah, found the malfunction, but:)
5. put the second camera in (with "malfunctioned" cable) -> error
6. camera2 (with "malfunctioned" cable) directly on the CSI port -> raspistill -> got a picture
Next thing I tried:
connect 1 camera and run the script (from the developer), changed to use only camera slot 1 -> got a picture
then run the script with all 4 slots -> one picture, 3 errors
then run for 1 camera again: error
So: all cables are okay and all cameras are okay. The Module is sending a signal if one camera is connected. But connecting 2 or more cameras is crashing the camera system.
Is there a malfunction in the module? Where is my error?
Thank you for your help
(P.S.: I'm not a native english speaker, so I'm sorry for every mistake
