Hey all, i was hoping to get some input/collab/help on my idea for a board to switch between camera modules. My core competency is software engineering and a lot of this electronics stuff is new to me. So bear with me please
The idea here is to create a board when a signal pin is low camera 1 is hooked to the CSI port, and when high camera 2 is hooked. Here is where i am at so far:
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.
And hardware aside i am aware that each camera will have to be torn down before the switch is made and the new one will need to be re-initialized. For my purposes this is fine, and I'd be happy to release my little C library that does this.
Whew that was long, hopefully some electronics gurus find this, thanks!