Loading

Orange PI (OPI) Camera Case v0.01

by usernameisalreadytaken, published

Orange PI (OPI) Camera Case v0.01 by usernameisalreadytaken May 8, 2016

Contents

Tags

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

829Views 386Downloads Found in 3D Printer Accessories

Summary

I did not manage to find case for Orange PI camera, so spend this weekend trying to make one that should be able to mount on 10mm rod on Prusa I3.

This is my first design, so be gentle. Some parts are my creation, some are inspired by raspberry pi camera enclosures listed on Thingiverse.

This design is made of few parts:
-camera enclousure top
-camera enclosure bottom
-camera enclosure mount ( Its up to you to decide if you want it on the front or back side )
-arm connecting 10mm rod mount and camera enclosure mount
-10mm rod mount

In order to assemble it, use M3 screws, I think 16mm or longer will do fine.

NOTE: If printed with ABS (as I did) try to scale top and bottom part to 102.5% in case camera board does not fit when printed at 100%.

Fell free to remix and improve this design. This was created in 123D Design, so currently on STL and STEP/STP files are provided. If that is not enough, comment and I will see what can be done in order to provide other formats.

Print Settings

Printer Brand:

RepRap

Printer:

prusa i3

Rafts:

No

Supports:

No

Resolution:

0.2mm

Infill:

20%


Notes:

I used two top and bottom solid layers, 2 perimeters, outside-in perimeters. I did not break any parts but carefully remove them from heated bed ;)

More from 3D Printer Accessories

view more

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Are you using this as a timelapse recorder? Or Octoprint?

Which software are you running?

Pretty much only use it for viewing and checking on print progress ;)
Easiest is to use motion, and then setup octoprint to use motion url (default should be ip:8081 if I am not mistaken).

Using this tutorial you can make it work with ffmpeg or other tools that normally refuse to work due to video color space or something http://192.241.128.247/2016/04/05/orange-pi-camera-with-v4l2loopback-vidcopy/

Also, I think you need to compile new kernel in order to get up to 20fps as author of the tutorial claims...
And yes, I run armbian on orange pi one.
Good luck!

Hello! I have a Orange PI lite with camera bought on aliexpress and I try to install octoprint, but camera doesn't work.
I followed the link that you suggest, but it is not helpful for me.
My problem is:

MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
i: Format............: YUYV
i: JPEG Quality......: 80
i: TV-Norm...........: DEFAULT
Unable to set format: 1448695129 res: 640x480
Init v4L2 failed !! exit fatal
i: init_VideoIn failed

This problem is given both before and after the procedure of the site suggest by you. Can you help me?

You are not supposed to use mjpg-streamer with pi camera directly. It does not work somehow. Try the link in above comment, install vidcopy, and then try to use video1 device with mjpg-streamer. If it fails, then you can always use motion or ffmpeg BUT use new device that vidcopy makes, so /dev/video1 instead of default /dev/video0.

Here is tutorial for pi camera with motion: http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/

The main problem is by launching the command " ./vidcopy -w 800 -h 600 -r 20 -i /dev/video0 -o /dev/video1 -f UYVY" I get:

Required width: 800
Required height: 600
Required FPS: 20
input device: /dev/video0
output device: /dev/video1
Driver Caps:
Driver: "v4l2 loopback"
Card: "Dummy video device (0x0000)"
Bus: "platform:v4l2loopback-000"
Version: 1.0
Capabilities: 85000003
FMT : CE Desc

Setting Pixel Format: Device or resource busy

If I use: fswebcam than

--- Opening /dev/video0...
stat: No such file or directory

The same with VLC and cheese, both invoking video0 or video1.
My image is: Armbian_5.25_Orangepilite_Ubuntu_xenial
Thank you

The main problem is by launching the command " ./vidcopy -w 800 -h 600 -r 20 -i /dev/video0 -o /dev/video1 -f UYVY" I get:
Required width: 800
Required height: 600
Required FPS: 20
input device: /dev/video0
output device: /dev/video1
Driver Caps:
Driver: "v4l2 loopback"
Card: "Dummy video device (0x0000)"
Bus: "platform:v4l2loopback-000"
Version: 1.0
Capabilities: 85000003
FMT : CE Desc

Setting Pixel Format: Device or resource busy

If I use: fswebcam than

--- Opening /dev/video0...
stat: No such file or directory

The same with VLC and cheese, both invoking video0 or video1.
My image is: Armbian_5.25_Orangepilite_Ubuntu_xenial
Thank you

Top