Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: camera connectors #13

Open
jholster opened this issue Oct 6, 2017 · 3 comments
Open

Feature request: camera connectors #13

jholster opened this issue Oct 6, 2017 · 3 comments

Comments

@jholster
Copy link

jholster commented Oct 6, 2017

Hi, thanks for such a cool project! I've been trying to create a similar project on circuits.io, but haven't gotten this far (I don't have any prior experience about pcb designing). My motivation is to have a CM3 IO board lightweight enough for model aircraft use, with stereo camera support for 3D FPV (first person flying), utilizing wifibroadcast project.

IMO, the dual camera support really makes Raspberry Pi an unique platform, but unfortunately the foundation hasn't exposed the needed pins in their 'consumer' boards (Zero/A/B). The camera connectors wouldn't add much cost, as no expensive extra components are needed, aside the connectors and maybe few passives. (And one can always build the board without them, but it would be nice to have the routing.)

I'm creating this issue just for general interest. I'll try to implement this by myself once I get familiar with Kicad.

@deltabeard
Copy link
Owner

Hi! Thanks for your interest and kind words.

I've never looked in to camera support on the Raspberry Pi. Note that the two sets of camera pins are different. One is 4-lane and one is 2-lane. So you're going to have to make sure you use camera modules that are compatible with 4-lane and 2-lane respectively.

Also note that the CSI ports on the Raspberry Pi are not openly documented. Only two camera modules are supported, and they probably only support one set of the CSI pins (the ones broken out on the Raspberry Pi). You may be able to find some light in this issue through the open source VC4 driver. Let me know how that goes.

I was very dissapointed to see that DSI has also poor documentation and nearly no support.

Let me know if you have any questions or want some help. :) Keep us updated!

@jholster
Copy link
Author

jholster commented Oct 7, 2017

I've tested the dual camera setup with the official Compute Module Development Kit, so technically everything works fine, both software and hardware wise. AFAIK both cameras use only two data lanes (cameras are interchangeable). (I've also tested streaming the stereo video over wifi to OSVR 3D glasses, the result is very impressive.)

The only challenge with DIY board is that the CSI data lanes use differential pairs, requiring impedance matching and precice tolerances, but I've no idea how critical it is in practise (from hobbyist point of view, occasionally few flipped bits are probably not so big deal).

@deltabeard
Copy link
Owner

I had no idea!

KiCad has differential matching support, so that shouldn't be too much of an issue.

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

No branches or pull requests

2 participants