description - work in progress
there are two pi camera versions to choose from. plug and play - exactly as it sounds. plug cable into PCB's and the FPC cables in and away you go! but this one costs more $$ in parts.
raw dog - i like to call it raw dog because you're basically raw dogging it. this one is for the soldering experts(or atleast above beginner) you cut up a DP cable(any length as long as it will reach point a to point b) strip the very tiny and fragile wires and solder them directly to the PCB. is a cheaper for parts. tips
note: to help with raw-dog method, i've created a extra PCB using this PCB and the normal raw-dog one you only have to cut 1 end of the cable. but since the display port wires get switched inside the cable, you need to figure what end is what before you cut it.
i originally wanted this to be cheap, so i started off with cat5e networking cable. yes this does actually work but only over short distances.<1.5 meter
- plug-play takes up more Z height(this is mainly because of the cable)
- raw-dog much more compact, but requires a skilled and patient soldering
the max FPS you can get between the two is the same, the limiter is the camera, my target for the project was 30fps. during my testing phase it can push up to 45(pi camera v3 wide) before it starts to have frame stutter/visable noise. if you're going with the raw-dog method getting maxfps (40+) gets harder and harder with the soldering work. because you need to get all 8 wires to the PCB the same length!
- this takes a long time, it'll take around 2 hours to solder both PCB's + add some more time if some wires break 😠 during the trials i broke around 10 wires during moving from the solder work bench to the printer.
- the pro tip i found that helped out a bunch was to use some cat5e(any solid core network cable) and extend the ends of the DisplayPort cable. and heatshrink the bits in between.picture
- as long as you cut the lengths as good as you can, then tin the wires and start soldering. use very light solder with the tinning and PCB work. because you can use tweezers and slightly pull/press on the wire to help get it aligned up with the other this is a critical step! reference the important wires that need to length match are the top 8 (pads 2-12) the others don't matter. and yes you do need to solder all the shielded wires to GND too.
- if you can't get the wires length matching as close as possible to perfect. don't worry, it's not the end of the world. you'll just get frame stutter/visual noise on high framerates.
if you want more pictures they're here
the picture below is the raw-dog camera in action- pi camera V3 wide
the picture below is the raw-dog camera in action- pi camera V2
and this one is the micro-hdmi (plug and play) pi camera V2
i don't have the photo for the micro-hdmi (plug and play) pi camera V3 wide(since i didn't have the v3 camera at the time)
below links is what i bought and are guarenteed to work. you're more than welcome to find others but they might not work.
-
for rawdog
FPC cable 50mm
raw-dog DP-DP cable 2m - PN alogic ELDP-02
M2 screws 12mm x4 & 16mm x4 -
plug and play(micro-hdmi)
FPC cable 50mm
micro-hdmi to hdmi cable 2m
adapter
M2 screws 12mm-14mm x4 & 20mm x4
adapter alternate-UN TESTED
cheaper option-UN TESTED
FPC cable 50mm alternate
- can i destroy my pi camera using this?
no, not unless you mess up the wiring with raw-dog method. - do i have to use your repo?
no, you're more than welcome to use any other pi camera streaming software. - do i need supports for the printable files?
for most of them yes, but use your 3d printing knowledge to determine if some areas are needed or not. - will the cable that's inside the y extrusion wear out over time?
no, the cable i spefically looked for would fit nicely in the gaps and not have any clearance issues. - do i need a second drag chain for this?
only if your current drag chain won't be able to fit the extra cable. - will i lose any printable height in XYZ?
no, not for the raw-dog camera for the micro-hdmi version you shouldn't but then you have a different printer to me, so check the cad file 😄 - how much networking bandwidth does this use?
for the V3 camera -camera-width=2304 -camera-height=1296 at 30 fps it's around 50mbps while watching the stream. if you close the stream from your phone/pc tab the stream will end and stop using the network bandwidth. - can i use this for timelapes?
you sure can! it's still your standard pi camera.
order the parts from digikey/mouser gerber files steps for PCB ordering coming soon....
- note:PCB thickness must be 0.8mm!
cd ~
git clone https://github.com/legend069/Gantry-Mounted-pi-camera.git
sudo apt-get -y install libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential
cd ~
ln -s /home/pi/Gantry-Mounted-pi-camera/repo/camera-streamer /home/pi/camera-streamer
cd camera-streamer/
make
sudo make install
systemctl enable $PWD/service/camera-streamer-raspi-v2-8MP.service
systemctl start camera-streamer-raspi-v2-8MP
------or------
systemctl enable $PWD/service/camera-streamer-raspi-v3-12MP.service
systemctl start camera-streamer-raspi-v3-12MP.service
journalctl -xef -u camera-streamer-raspi-v2-8MP
all the credit for the code goes to this guy https://github.com/ayufan/camera-streamer