K8400 VERTEX Upgrade With Raspberry Pi and Fish Eye Camera

K8400 VERTEX Upgrade With Raspberry Pi and Fish Eye Camera

thingiverse

This collection of items enables you to attach Raspberry Pi 2 or 3 Model B and a camera with fish-eye lens to the Velleman VERTEX 3D Printer K8400. I am publishing here the entire collection, which includes the following subsets: Power switch, power cord plug, and AC receptacle for Raspberry power supply Raspberry Pi 2 or 3 Model B mounting box Ribbon Cable holders Camera mount Excess wire holder for Raspberry Pi's power supply Power cord clip You can choose to print all subsets or just a few of them. Most subsets of items can be used independently from other subsets. Power switch, power cord plug, and AC receptacle This is a variation of my Power switch posted here http://www.thingiverse.com/thing:1507537 I moved it from the right to the left side of the printer and added an AC receptacle. The rocker switch powers on and off the printer while the receptacle stays plugged in. I bent the ribbon cable several times as shown in the images to make sure it works correctly. Raspberry Pi 2 or 3 Model B mounting box This is a modified version of my Raspberry Pi 2 or 3 Model B mounting box posted here http://www.thingiverse.com/thing:1234567 I widened four holes in the Raspberry board to make sure M3 screws can easily pass through them. Ribbon Cable holders These are custom-made ribbon cable holders that you will need to attach to the camera and Pi box. Camera mount This is a custom-made camera mount that you will need to attach to the top of the printer. Excess wire holder for Raspberry Pi's power supply This is a custom-made excess wire holder that you will need to attach to the bottom of the printer. Power cord clip This is a custom-made power cord clip that you will need to attach to the side of the printer. To put all things together, you will need: 70 cm long ribbon cable for the camera (available from eBay for less than $2) Snap-in receptacle Snap-in rocker switch (cutout size 28mm x 13mm) Power plug socket Double-sided sticky tape to attach ribbon tape to the body of the printer. Four M2 x 6mm hex socket cup screws for camera mount cover One M5 x 12mm hex socket cup screw and M5 self-locking nut for power switch box Two M3 x 12mm screws for power plug socket and two self-locking M3 nuts. Four M3 x 12mm screws and four M3 self-locking nuts to attach pi_box to the bottom of the printer Four M3 x 25mm screws and four M3 self-locking nuts to put together pi_box and pi_box_bottom pieces Four M3 x 25mm screws and four M3 self-locking nuts for wire_holder Six M3 x 10mm screws for power switch box cover Prior to installing the ribbon cable, test it and make sure it works. To install the ribbon cable, you will need to bend it in several places as shown in the images. Start by mounting cam_mount thing with four screws. Then attach the ribbon cable to the camera. Unscrew fish-eye lens and insert the camera board into cutout in cam_mount piece. Put the lens back from another side of cam_mount. Bend the flat cable as shown on the image and cover it with cam_mount_cover which should be fixed in position with four M2 x 6mm screws. Make sure the ribbon passes through the opening in down direction. Bend the ribbon few more times to go along the top piece of the printer and then slide it between top and side panels. Keep the distance of 38 mm as shown on the image. When bending the ribbon, strictly follow posted images to make sure the other end of the ribbon enters Pi box in the right direction. Widen four holes in Raspberry board to make sure M3 screws can easily pass through them. Connect the ribbon cable to Raspberry Pi and then assemble Pi box. Attach the box to the bottom of the printer with four screws and push all excess ribbon cable inside the box. Setting up video stream After spending quite some time looking for a reliable way of streaming video from the camera, I came up with the shell script video.sh included into attached video.zip file. The script requires Raspbian, FFmpeg, libx264, and nginx with rtmp packages. Follow this instruction to install them https://johnvoysey.wordpress.com/2014/05/07/raspberry-pi-camera-live-streaming/ Save video.sh in your home directory and make sure it has executable permissions chmod +x video.sh Copy 2 html files into /var/www To start video streaming, run the command ./video.sh or /full_path/video.sh To stop video, run the command ./video.sh stop or /full_path/video.sh stop To watch the video on IOS devices, open this link in Safari or Chrome browser http://raspberry_ip_address/index.html To watch on PC - use Chrome browser with Native HLS Playback plugin and go to http://raspberry_ip_address/video.html link. There is about 20-30 seconds delay caused by buffering, which is expected behavior.

Download Model from thingiverse

With this file you will be able to print K8400 VERTEX Upgrade With Raspberry Pi and Fish Eye Camera with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on K8400 VERTEX Upgrade With Raspberry Pi and Fish Eye Camera.