larrydong
Posts: 2
Joined: Sat Aug 10, 2019 7:52 am

Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 7:59 am

Hi everyone, I want to use a camera by CSI, however the chip is ov9281.

I connected to pi but the pi cannot find the camera, always "supported=1, checked=0".
I am sure that I used the correct port and connected the cable very stable.
I am not sure if there is anything wrong with my PI or camera, or do I need to install a driver?

Thanks.

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

Re: Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 1:40 pm

That camera will not work on the raspberry pi using the default system.

You will need to use raspiraw and write a driver for that particular camera. This is not easy.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

larrydong
Posts: 2
Joined: Sat Aug 10, 2019 7:52 am

Re: Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 2:11 pm

@jamesh
Thank you so much.
Do you know if there is an exsiting driver aviable? Otherwise, I need to change my camera.

fruitoftheloom
Posts: 21049
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 2:18 pm

larrydong wrote:
Sat Aug 10, 2019 2:11 pm
@jamesh
Thank you so much.
Do you know if there is an exsiting driver aviable? Otherwise, I need to change my camera.

There is a well supported Official Camera:

https://www.raspberrypi.org/products/camera-module-v2/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

User avatar
HermannSW
Posts: 1649
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 3:35 pm

larrydong wrote:
Sat Aug 10, 2019 7:59 am
Hi everyone, I want to use a camera by CSI, however the chip is ov9281.
There is an Arducam 1MP monochrome global shutter camera with ov9281 sensor:
https://www.uctronics.com/index.php/ard ... amera.html
jamesh wrote:
Sat Aug 10, 2019 1:40 pm
You will need to use raspiraw and write a driver for that particular camera. This is not easy.
The Arducam driver can be found here, and is based on raspiraw. It can do 135fps framerate:
https://github.com/ArduCAM/MIPI_Camera

You can find links to youtube global shutter videos I took with small brother ov7251 (0.3MP) in this posting:
https://www.raspberrypi.org/forums/view ... 3#p1485903
⇨https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264
https://github.com/Hermann-SW/fork-raspiraw
https://twitter.com/HermannSW

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7523
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Using ov9281, do I need an extra driver?

Sat Aug 10, 2019 7:29 pm

There are a couple of potential options for drivers, although none of them totally trivial.

Hermann's already linked to the Arducam product using the same device. IIRC they've made parts of it closed source, which is a touch annoying.

https://www.vision-components.com/filea ... index.html sell a module based on ov9281, and had linked to drivers (I've not checked their website recently for details/source recently)

https://gitlab.incom.co/CM-Shield/andro ... c/ov9281.c is a driver for the device, but for NVidia platforms instead of the standard V4L2 frameworks.
Take https://github.com/raspberrypi/linux/bl ... c/imx258.c or similar and modify the register calls appropriately. You'll then want a device tree overlay to load the right drivers.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Camera board”