Raspberry Pi Camera for 3D Printer

by SmartBlug, published

Raspberry Pi Camera for 3D Printer by SmartBlug Mar 9, 2014


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

20839Views 2688Downloads Found in 3D Printer Accessories


I needed a good solution to mount my raspberry pi and camera to my Wanhao Duplicator 4X

I adapted an existing pi mount that I found, ordered a new 30cm ribbon cable and fixed the raspberry pcb under the 3D Printer.

Combined with iPhone macro lens, that's perfect !

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

Did you just glue the camera enclosure together? I got the camera to snap into the back piece, but the front and the back pieces don't seem to have any way to snap together and stay in place.

No need for any glue, the two parts just clips together.

Do you managed to clips them without the camera inside to see if both parts are correctly printed ?

Sorry for the delayed response. My front & back don't snap together, they just lay loosely on top of one another.

On the back piece, I had to cut away some of the plastic at the bottom of both the left & right sides that extended out towards the front piece because they were preventing the ribbon cable connector of the camera from fitting. Same issue as Waltermixxx below it seems. Perhaps that is why my pieces aren't snapping together now.

That may be possible if the printer is not perfectly calibrated (because it fits the PCB size exactly without margin).
If the printer is not perfectly calibrated on X and Y, you have to be careful and use same orientation for both part (then, if there is a scaling issue on X or Y, that will be the same on both part and still fit).
I hope it will fit on your printer and I can redesign a specific one for you if I know the scaling issue that may occur on X or Y

I have a bunch of mods I want to do in the near future that should improve print quality, so maybe I'll try again after I get some time to finish that all up! Thank you for your help, though!

Awesome !
Can you gimme more details about the macro lens, a reference on amazon ?
How did you fix it on camera mount ?

Thx in advance

I used a simple magnetic Lens I found on eBay but any magnetic Lens could fit.
You just stick the metal part and your Lens will be able to use it as it has a magnet.
Have a look on this one on Amazon and you will understand : http://www.amazon.com/Aduro-Magnetic-Detachable-Samsung-Experia/dp/B00LLLATRQ

Thanks for this, I would love to mimic this set up, but I don't know much about programming and electronics. Could you tell me how to set up rasberry pi for video capture?

There is some configuration to do, one tutorial can be found there :

If this is too complicate, I can dump my SD and give you the file but this is 8Gb...

thanks for this. the screw holes are Perfectly spaced to use a zip-tie to mount to 3/4 inch square tubing.

There seems to be an issue with the back piece. I tried slicing it with Slic3r and Cura.. it just freezes when trying to create perimeters. Then I tried importing it into Sketchup to give it a looksee, nope.. freezes that too. I noticed the version had changed for the back piece - what's up?

Another Awesome tool for the Wanhao - Thanx Man...

thank you for the reply :) cheers :)

I made this, and had to trim some of the plastic from the camera case back, as my ribbon cable connector was in the way, so i cut back the plastic from the two side bars below the pins to accomodate the ribbon cable connector.

I had the issue before I calibrated my printer but it's exactly the right size now (easy to check as the pcb should fit perfectly on the 4 little spikes). My printer was printing too small parts in the past.
There is also perhaps some small pcb different on the camera side.

Yes, VLC is working perfectly.
I installed to start automatically... I just need to power on the printer and hop ! Streaming is ready few seconds after !

Have you found a good solution for streaming video from the raspberry pi?

Yes, VLC is working perfectly.
I installed to start automatically... I just need to power on the printer and hop ! Streaming is ready few seconds after !