please choosego to mobile | Continue to access the PC version
View: 25191|Reply: 7

OrangePI plus camera module

[Copy link]

1

threads

1

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2015-10-29 02:49:55 | Show all floors |Read mode
Hi everyone!

I could use some help with the camera module on my OrangePI plus:
(http://www.aliexpress.com/item/o ... or/32255931892.html)
- the pre-installed android identifies the camera, when i run the camera app, everything is ok => i can see the camera stream
- when i run LSUSB in the Debian8 image (OrangePI_Jessie_Xfce.img) there is no camera entry there!
(LSUSB was also emtpy in Raspbian_For_OrangePiplus_v0_8_0.img)

Some background:
I want to make a timelapse video/photoshoot.
I tried a USB camera earlier, LSUSB listed the camera as "ixart Imaging, Inc. Q-TEC WEBCAM 100", but i was unable to make the camera to work,
the DEV/VIDEO entry was missing...
(i dont remember the whole process - it was about a month ago...)
Since the USB camera was not working, i ordered the OrangePI camera module...

Ive spent about 10+ hours with this problem, and i just cant get around it...
Ill try to browse these forums once again for the solution.

I have tried these walkthroughs:
http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/
http://www.orangepi.org/Docs/Webcams.html

Thanks in advance for your time and advice gyus!!!

0

threads

3

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2015-10-31 11:07:52 | Show all floors
Survive-Pi replied at 2015-10-31 09:43
Only capture I got to work was motion, following cnxsoft guide...

I finally decided to install motion and try it. Its not really the tool I want to use for this device. I want to use mjpg-streamer.

However, it does in fact work with motion so now I just need to figure out how its reading the camera and what I need to change in mjpg-streamer to make it work.

Thanks for the push to follow the directions.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-30 23:37:28 | Show all floors
toxuin has usb webcam working on his Opi. Must use latest update_kernel.sh from loboris with a loboris image. Loboris mega site: https://mega.nz/#F!wh8l2BjK!OBep3nMldBletvNNwkH2Jg.
I had my OPiPlus wirking with on-board camera following cnxsoft article... http://www.cnx-software.com/2015 ... -linux-with-motion/
Orange Pi Plus

0

threads

3

posts

12

credits

Novice

Rank: 1

credits
12
Published in 2015-10-31 08:48:14 | Show all floors
Survive-Pi replied at 2015-10-30 23:37
toxuin has usb webcam working on his Opi. Must use latest update_kernel.sh from loboris with a lobor ...

Could you elaborate on what you did to get your camera module working? What linux distro are you using? Did you change the script.bin file at all?

I've been unable to get mine to work using the XFCE Debian 8 image and the latest kernel. Ive loaded the gc2035 and vfe_v4l2 modules but no capture applications can start and there are about vfe in dmesg(I'll post them later when I'm on the device.

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-31 09:43:12 | Show all floors
cyberkni replied at 2015-10-30 17:48
Could you elaborate on what you did to get your camera module working? What linux distro are you u ...

Only capture I got to work was motion, following cnxsoft guide...
Orange Pi Plus

3

threads

96

posts

539

credits

Senior member

Rank: 4

credits
539
Published in 2015-10-31 11:14:42 | Show all floors
cyberkni replied at 2015-10-30 20:07
I finally decided to install motion and try it. Its not really the tool I want to use for this dev ...

PLEASE let me know how you make out. I also need my camera to work with mpg-streamer! Thanks.
Orange Pi Plus

2

threads

34

posts

422

credits

Intermediate member

Rank: 3Rank: 3

credits
422
Published in 2015-10-31 16:51:45 | Show all floors
cyberkni replied at 2015-10-30 16:48
Could you elaborate on what you did to get your camera module working? What linux distro are you u ...

So to get the ribbon camera working you have to use the latest image from loboris + update_kernel.sh script from his Mega folder.After update edit your /etc/modules to add vfe_v4l2 and gc2035, reboot and your camera should be on /dev/video0.
About my USB webcam it is a no brainer too: with latest kernel update from loboris all I have to do is to add gspca_zc3xx to aforementioned file. However this driver only works for my old webcam, but loboris just included ALL of them to the kernel. Theoretically, just about ANY usb webcam should work out of the box now.

3

threads

38

posts

223

credits

Intermediate member

Rank: 3Rank: 3

credits
223
Published in 2015-10-31 19:58:47 | Show all floors
Edited by Sitheek at 2015-10-31 20:01
toxuin replied at 2015-10-31 16:51
So to get the ribbon camera working you have to use the latest image from loboris + update_kernel. ...

OK, in theory all of supported CSI camera modules in sunxi-vfe should work plus any usb camera module if you have drivers for it

In practice there are some bugs in sunxi-vfe which you will have to fix to run some of supported CSI camera modules

This gc2035 module from @zhao_steven works ok, you do not need special tricks. If you have orange pi PC - orange pi Camera Expansion Board (from Steven) is needed because there are missing power supply elements on that board. Pinouts are same on board an module.

There is general issue in sunxi-vfe, it puts camera in stanby mode and some programs can not wake it up properly (v4l2-ctl, ffmpeg), some can (motion, fswebcam). So unfortunately you have limited amount of useful tools unless you write some code by yourself .

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list