Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Raspberry: How to Connect two Camera Boards at the same time

Wed Jul 23, 2014 11:20 am

Hi
I'm planning a camera that takes two pictures at the same time: a normal and an IR Infrared.

So I intend to connect to my Raspberry Pi Model B:
- a NoIR Board Room - Infrared Camera-sensitive
and at the same time
- a normal Raspberry Pi Camera Board

Please, is it possible to make this connection? Can I take two photos at the same time?
If the answer is negative, please is there any trick to get around it?

Thank you best regards!!

mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 11:29 am

How are you going to swtch ? RPi has only one slot...

On a single Pi you could use one Pi Noir cam and a USB cam for daylight,
otherwise use 2 Pi networked together?

Compute board + IO supports 2 camera interfaces.
Last edited by mikerr on Wed Jul 23, 2014 11:32 am, edited 1 time in total.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 11:29 am

Such a setup is not in any way supported. You would have to use a compute module to do that.
It may be possible to make some sort of board which switches the attached camera, take a photo, switch, take another photo, but still, only one camera would be connected at a time.

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 11:32 am

You could use 2 RPi's, and connect them with a cat5 cable. ;)

Laurens

Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 12:09 pm

mikerr wrote:How are you going to swtch ? RPi has only one slot...

On a single Pi you could use one Pi Noir cam and a USB cam for daylight,
otherwise use 2 Pi networked together?

Compute board + IO supports 2 camera interfaces.
Hi thank s for your answer.
The USB cam solution seems to be a good solution.
What are the negative aspects of the USB Cam? A lesser quality than the Camera Board I guess.

I cannot use two PI for two reasons: costs and space.

I might consider a switch that switches from one Camera Board to another
but I doubt that it is a doable thing without plunging into a big trouble ...

What do you mean when you say: "Compute board + IO supports 2 camera interfaces".
can you explain more please?

best regards

Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 12:14 pm

ShiftPlusOne wrote:Such a setup is not in any way supported. You would have to use a compute module to do that.
It may be possible to make some sort of board which switches the attached camera, take a photo, switch, take another photo, but still, only one camera would be connected at a time.
Hi and thank you

I might consider a switch that switches from one Camera Board to another
but I doubt that it is a doable thing without plunging into a big trouble ...
If the swith between the two CameraBoards is automatic and in succession this is not a big problem to me, I don't need to take sport shots...
Can you suggest some switch solution please?

best regards

Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 12:22 pm

Laurens-wuyts wrote:You could use 2 RPi's, and connect them with a cat5 cable. ;)

Laurens
Hi laurens
thank you, but I cannot use two PI for two reasons: costs and space.
I want to insert all the devices into a simulation of camera Body, so I have a little space.
(and also the space in my wallet is equally poor ;)

As you can see we are evaluating the feasibility of a switch between the two cards.

best regards

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 12:23 pm

Rocis wrote:
ShiftPlusOne wrote:Such a setup is not in any way supported. You would have to use a compute module to do that.
It may be possible to make some sort of board which switches the attached camera, take a photo, switch, take another photo, but still, only one camera would be connected at a time.
Hi and thank you

I might consider a switch that switches from one Camera Board to another
but I doubt that it is a doable thing without plunging into a big trouble ...
If the swith between the two CameraBoards is automatic and in succession this is not a big problem to me, I don't need to take sport shots...
Can you suggest some switch solution please?

best regards
I don't know, I haven't tried it. It seems a little difficult, since you have different voltages and very high speeds involved. Really, the compute module or two pis is the way to go, but if the cost is prohibitive, I don't think it can be done in any sensible way.

triplemdw
Posts: 12
Joined: Mon Jul 21, 2014 4:03 pm

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 1:21 pm

The following suggestion might be viable solution, however there were no returns on the work:
"From the spec here:
http://www.google.com/url?q=http%3A%2F% ... npry8-qNsg

I see that the connections I have to worry about are the CSI specific CAM1D0 - CAM1CP and that seems easy enough to handle with a chip like this:
http://www.mouser.com/ProductDetail/Fai ... 252bj6c%3d

Apply 3.3v on that bad boy to switch the CSI lines, but there is still the matter of the I2C interface and the remaining CAM_GPIO, CAM_CLK and the 3.3v power (though my thinking is maybe i could leave power and GND running to both cameras if their idle current draw is low?)

Anyhow seems to me that an I2C switch is the way to go for the SDA and SCL lines, so maybe something like this?:
http://www.mouser.com/ProductDetail/NXP ... 9b9p4Co%3d

As for the CAM_GPIO, CAM_CLK (and maybe 3.3v power?) i am at a loss.. Would a simple DPDT switch be enough for those? Not really sure on their function."
source: http://www.raspberrypi.org/forums/viewt ... 84#p447084

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26659
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 1:29 pm

triplemdw wrote:The following suggestion might be viable solution, however there were no returns on the work:
"From the spec here:
http://www.google.com/url?q=http%3A%2F% ... npry8-qNsg

I see that the connections I have to worry about are the CSI specific CAM1D0 - CAM1CP and that seems easy enough to handle with a chip like this:
http://www.mouser.com/ProductDetail/Fai ... 252bj6c%3d

Apply 3.3v on that bad boy to switch the CSI lines, but there is still the matter of the I2C interface and the remaining CAM_GPIO, CAM_CLK and the 3.3v power (though my thinking is maybe i could leave power and GND running to both cameras if their idle current draw is low?)

Anyhow seems to me that an I2C switch is the way to go for the SDA and SCL lines, so maybe something like this?:
http://www.mouser.com/ProductDetail/NXP ... 9b9p4Co%3d

As for the CAM_GPIO, CAM_CLK (and maybe 3.3v power?) i am at a loss.. Would a simple DPDT switch be enough for those? Not really sure on their function."
source: http://www.raspberrypi.org/forums/viewt ... 84#p447084
I think its easier simply to build a compute module baseboard with two camera ports. The software does support using both camera ports on the compute module already.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 1:31 pm

triplemdw wrote:The following suggestion might be viable solution, however there were no returns on the work:
"From the spec here:
http://www.google.com/url?q=http%3A%2F% ... npry8-qNsg
...
Hi Triplemdw
Thanks for the mountains of information!!!
Since I'm a beginner, I think I'll have to study a lot before asking for more information.

Best regards, rocis

Rocis
Posts: 6
Joined: Wed Jul 23, 2014 11:01 am

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 1:36 pm

jamesh wrote: I think its easier simply to build a compute module baseboard with two camera ports. The software does support using both camera ports on the compute module already.
Jamesh, OK

please, can you tell me more about:
"to build a compute module baseboard with two camera ports"

Thanks, rocis

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Raspberry: How to Connect two Camera Boards at the same

Wed Jul 23, 2014 1:56 pm

The compute module comes with a board where are 2 camera connections, but it's not cheap. (€200) :(
I think it's cheaper to buy two RPi B/B+ . ;) (2* €35)
https://www.modmypi.com/shop/raspberry-pi-model-b-plus

Laurens

triplemdw
Posts: 12
Joined: Mon Jul 21, 2014 4:03 pm

Re: Raspberry: How to Connect two Camera Boars at the same t

Wed Jul 23, 2014 1:57 pm

Rocis wrote:
jamesh wrote: I think its easier simply to build a compute module baseboard with two camera ports. The software does support using both camera ports on the compute module already.
Jamesh, OK

please, can you tell me more about:
"to build a compute module baseboard with two camera ports"

Thanks, rocis
I believe he's talking about this little piece of hardware http://uk.rs-online.com/web/p/processor ... 3431363426 which has two CSI ports rather than the standard one CSI port on the Raspberry Pi A/B/B+.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26659
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry: How to Connect two Camera Boards at the same

Wed Jul 23, 2014 2:09 pm

Laurens-wuyts wrote:The compute module comes with a board where are 2 camera connections, but it's not cheap. (€200) :(
I think it's cheaper to buy two RPi B/B+ . ;) (2* €35)
https://www.modmypi.com/shop/raspberry-pi-model-b-plus

Laurens
The compute module is very cheap -$30 is quantities of 100 or more.

The IO board development kit is the expensive bit, but the intention is for people to build their own baseboards that use the CM, rather than use the IO board in product. The IO board is a development kit only - used to develop software/add on whilst your own baseboard is being designed and built.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

User avatar
Laurens-wuyts
Posts: 716
Joined: Wed Aug 21, 2013 7:35 pm
Location: Belgium
Contact: Website

Re: Raspberry: How to Connect two Camera Boards at the same

Wed Jul 23, 2014 2:42 pm

jamesh wrote:The compute module is very cheap -$30 is quantities of 100 or more.

The IO board development kit is the expensive bit, but the intention is for people to build their own baseboards that use the CM, rather than use the IO board in product. The IO board is a development kit only - used to develop software/add on whilst your own baseboard is being designed and built.
Yeah that's true but I think till now you can only buy a kit, or are the compute modules already available separately?

Laurens

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26659
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry: How to Connect two Camera Boards at the same

Wed Jul 23, 2014 2:57 pm

Laurens-wuyts wrote:
jamesh wrote:The compute module is very cheap -$30 is quantities of 100 or more.

The IO board development kit is the expensive bit, but the intention is for people to build their own baseboards that use the CM, rather than use the IO board in product. The IO board is a development kit only - used to develop software/add on whilst your own baseboard is being designed and built.
Yeah that's true but I think till now you can only buy a kit, or are the compute modules already available separately?

Laurens
Not yet, month or two.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Return to “Graphics, sound and multimedia”