Is there any documentation for the JMEDIA camera board?
I have made a custom breakout board for the JMEDIA connector but I don't know how to read it in Arduino or Linux.
dev/video0 using USB camera works
but no idea how to use the JMEDIA cameras
Image of the arduino UNO Q with CSI camera connected and a image of the breakout board
As far as I know, Arduino has not released anything on those back connectors yet.
There are some here, as well as others floating around the forum, maybe have a look / send a message here?
I've also created a camera breakout board. And, I am also running into blockers with the software.
It seems that the CSI nodes on the device tree aren't enabled. I could be wrong. But, I found the device tree base in /sys/firmware/devicetree/base
I made it into a .dts file using the device-tree-compiler (dtc command) so I could read it. Looks like the nodes are listed but not enabled. I am looking to use an overlay, but haven't figured out where to put the compiled overlay .dtbo (overlay file). Any progress on your board?
I’m not sure yet whether the issue is on our custom board or in the software.
I tried:
sudo cp /boot/efi/dtb/qcom/qrb2210-arduino-imola-camera-rpiv2.dtb /boot/efi/dtb/qcom/qrb2210-arduino-imola.dtb
After reboot I got some progress: the cam0-pwr regulator node loads and the camera drivers start probing.
But the system gets stuck waiting for the I²C expander at address 0x26 (pca953x).
i2cdetect -y 2 doesn’t show anything on that I²C bus, and dmesg reports:
pca953x 2-0026: failed writing register: -6
platform cam0-pwr: deferred probe pending: supplier 2-0026 not ready
So it looks like the DTB is correct, but the PCA953x is never detected.
Right now I can't tell if that’s because of the hardware on our board or the software configuration I'm using.
We'll be working on this with our custom camera RPi adapter board currently in pre-launch stage on Crowd Supply. IQL Camera Bridge for Arduino UNO Q | Crowd Supply. Subscribe for updates.
Are these pictures accurate to your current prototype? I ask becuase I don't see any level shifters for I2C. I would assume you'd need to shift the I2C bus from 1.8V to 3.3V.
I'm working on a bigger board at the moment, and one of the features is breakouts for the camera and display connections as well. Waiting for the 24th when I can order first prototypes from JLCPCB.
Normally that is taken care of on the RPi camera adapter board. It contains the camera power supplies, level shifting (if needed) and XTAL.
That's true, I must've just been assuming that I should shift to 3.3V. It looks like multiple of the RPi cameras use a mosfet array to shift to 1.8V on-board, like this:
I'll probably still shift to 3.3V on my breakout board, to eliminate needing that assumption that the peripheral is doing it, and to add some protection for the UNO Q.
Yeah, @sir_robert, I also added a level shifter on my board. I wasn't sure that ALL camera boards would have this level shifter. So, I decided to include it like you.
If you wanna have a look at my design, I open sourced it on Github. I also included a breakout for the DSI display (although, still working on getting the device tree to work for that one). Feel free to check out and download the design (KiCAD).
If you want to pick one up, I have 4 currently available from my first run, which can be found on my website.
OK, we were able to get an image out of our IMX219 with our UNQ Q adapter board. Some fine tuning needed but it proves out our board works. We'll be launching our board on Crowd Supply. We have 20 now but plan to offer many more.