Arducam multi camera on Pi4 dont Wotk when multiple camera connected

I have received from RobotShop my Muktu Camera connecor Arducam for 4 devices multi channel (A,B,C,D). I can select any chanel and take picture correctly when only one camera is connected on any chanel bur as soon as 2 camera are connected I received a message like ;

“Camera control callback . No data received from sensor,Check all connections including the Sunny one the camera board”.

If a remove one camrera (on the two connected) the system is working properly and as sonn two camera are symultaneously connected onla camre awork and on the second channel I receive this message ?

Any Idea - Olivier - Geneva - Switzerland

Hello @orudaz and welcome to the RobotShop community,

For proper operation, only one camera should be enabled at a time. In case of only one multi-camera adapter board is used, driving Pin12 HIGH and driving Pin11, Pin7 to LOW to enable camera A on the adapter board. Enable camera B, C, and D, please refer the table below for camera selection configuration. To disable all cameras on one adapter board, Enable 1 and Enable 2 signals should be toggled HIGH.

Camera Selection Configuration Selection Enable 1 Enable 2
A 0 0 1
B 1 0 1
C 0 1 0
D 1 1 0
No Camera X 1 1
Error X 0 0

(X: don’t care)

Care should be taken that it is not allowed to drive the Enable 1 and Enable 2 LOW at the same time. When connecting more than two multi-camera adapter boards, only one of the cameras can be enabled by enabling the desired camera on one adapter board and disable all the cameras on the rest of adapter boards.

Let us know if this information can help you out!

1 Like

Many Thanks for your response Geraldine.

In fact I have found asolution in this forum. I have modified the code proposed in your documetation according information discussed by one of your user,

I have Added , when selecting a Channel , an additional command like (see my code) :

I have absolutely no idea why and how the problem has been solved by adding a call to os for “i2set…” with a string for each camera. I only found in this forum an adapted code with this informatiom and now my system work properly with multiples cameras attached and with a possibiliry in python to select and receive inforamtios from each individual camera.

Perhaps you can explain me why and how the ptyhon code modified like this ccan solve beacause i have no know how for the “i2set” command ?

Selectionne l’entrée camera en fonction du canal

def SelectioneCarteCamera (CanalCamera) :

if CanalCamera == "A" :
    CartesCamera = Configuration.CartesCameraA
    **i2c = "i2cset -y 1 0x70 0x00 0x04"**
elif CanalCamera == "B" :
    CartesCamera = Configuration.CartesCameraB
    **i2c = "i2cset -y 1 0x70 0x00 0x05"**
elif CanalCamera == "C" :
    CartesCamera = Configuration.CartesCameraC
    i**2c = "i2cset -y 1 0x70 0x00 0x06"**
elif CanalCamera == "D" :
    CartesCamera = Configuration.CartesCameraD
    **i2c = "i2cset -y 1 0x70 0x00 0x07"**
else :
    CartesCamera = Configuration.CartesCameraZ    

**os.system(i2c)**

gp.output (7,CartesCamera[0])
gp.output(11,CartesCamera [1])
gp.output(12,CartesCamera [2])

return
1 Like

Awesome!

Thanks for sharing it :smiley: