So well done and explained. While I am a tech by trade I haven't done much with klipper and some of the other videos tried too hard to be too techy. I just wanted it to work and your video got them there. Thanks so much!
There shouldn't be any issues installing it, it should just work. Make it the only camera and see it Mainsail will pick it up. You can use raspi-config or armbian-config to setup somethings.
You always make amazing Klipper videos even though you don't call yourself a Klipper guy! :)) I just connected 3 cameras, 2 nozzle and 1 printer cam thanks to the "/dev/v4l" command you showed! Thanks!
This is helpful, however I wonder if you've tried with a raspi-cam / USB setup. I've currently got an issue with mainsail where it will occasionally boot correctly and display both, but often boots with only the USB cam showing in the interface. I believe it's to do with how the Pi handles devices at startup, as if I unplug the USB cam, it will then boot with the pi cam correctly and adding in the USB cam once confirmed in the interface, works 100%. Slightly annoying but not the biggest issue.
I just managed to get everything working in a similar setup. and i have the same problem. ->unplug usb cam ->reboot ->plug in again. then both cams work. did you manage to find a solution to this?
@@DavidKoschat annoyingly I used to have it working fine but then my SD corrupted and I had to reinstall. This makes me believe it was a raspi setup option, I think it was something about delaying USB boot on startup, which I read about someone was having power issues with hard drives, but haven’t found it again yet. Not sure if you can delay certain usb devices booting?
@@DavidKoschat hi David, I didn’t, however the lastest crows nest update with a fresh crows nest.conf seems to be working straight away, they appear to have changed how they manage/label pi devices which seems to have helped me
The problem with a setup like this is that running two webcams simultaneously can actually tank your performance if you're using Klipper to handle all of your gcode processing. If you're using a slower Pi like a 3B it can even have problems with a single webcam (I had a 3B+ with a webcam that would only get about 2FPS while printing was happening). It would be interesting to see how a second Pi could be leveraged to run something like KlipperScreen and the webcams while another Pi is handling Klipper itself
I'm trying to connect my dslr to my Elegoo neptune 4 max. Klipper / Fluidd. I'm stuck at the beginning hahaha. Any plans to make a video about this? :p
I bricked my whole printer hahaha, had to ssh into the printer to restore all firmware. I wait and hope you one day find the need to make an video about it :)@@ChrisRiley
Hi Chris, Great video and at just the right time as I am about to install Klipper on my 2 Sovol printers (using a BTT pad 7). My question is: as the Pad 7 has only 4 USB ports and I might want to add 3 cameras (1 for each printer and 1 general view), can I attach all the cameras to a USB hub connected to the Pad 7?
Do you have a video on how to use an android style phone's camera over IP rtsp in Klipper? I have been fighting it for days. I can get it connected to VLC media player on a windows machine, but not a Ubuntu 22.04 machine. So it is streaming. But Klipper doesn't seem to want to cooperate.
hi, thank you for taking the time to do such a detailed step by step tutorial. unfortunately for some reason, im having some what seems like serious issues where my camera (C920) pops on for a second and then i get a "no signal" message but the FPS keeps going between 13 and 14 and I also get a klipper report saying "lost communication with MCU once underlying issue is corrected, use firmware restart command to reset the firmware reload the config and restart the host firmware printer is shutdown" do you have any ideas why this might be happening and how i can go about fixing it? im at a loss thanks
Wow, that's a strange one. I wouldn't think it would impact your config, but sounds like it does. Maybe it's a power issue? You could try a powered hub.
@@ChrisRileyThank you for responding sorry Im very new to this and im not following, what do you mean by "You could try a powered hub."? do you mean plug the camera into a powered hub? I have my BTT PI4 +CB1 plugged into a powered hub to power it. thank you for your patience
I am running 2 printers on a BTT 7 pad. I am using the 3rd BTT 7 port for a usb expansion with 2 cameras installed. I can only get the same, one camera to shown up on either of my mainsail instances. Any ideas on that setup? It's not the same as a Pi, obviously.
Nice! Hmmm, I just got one of these pads to try out, I will have to see if I can make that work. There has to be a way to change up the ports to make it work.
Myvpad has 2 printers. One in each back port. Then I have a usb extender on the side port with the cameras. Only one camera lights up, like the other isn't connected even though you can see it in the dev file. Been trying for a few days.
What was your solution? Cam 2 wasn't working for me, so I commented out the rtsp port and cam 1 works but now cam 2 doesn't start. For once I'd love something to just work first go, lol Edit, fixed it right after this comment. Just commented out anything to do with rtsp on both cam sections. See how this fares, but both work.
Is this example on the MKS SKIPR. I keep getting an error saying that Crowsnest V4 won't work with Buster and when I try Crowsnest V3 I keep getting a failed backport error.
You have conflicting versions with Linux and some of the klipper pieces. Try to upgrade to bullseye. www.cyberciti.biz/faq/update-upgrade-debian-10-to-debian-11-bullseye/#google_vignette
@@ChrisRiley User error. When I downloaded the OS image I got the one that had HDMI in the title thinking I should use that since I planned on using an HDMI display. I swapped to the latest version of the SKIPR image and the drivers and versions for Crows nest etc. all work fine. So for others make sure you're using the latest image. Thx
@@ChrisRileySpoke too soon 😐Today I tried to install my 2 cams (piCam and usb cam) under crowsnest.. Sadly, I've not been able to get even one camera feed. Used Kiauh to install Mainsail , moonraker and crowsnest Crowsnests log does not give any errors, says at least 1 camera is running succesfully on /dev/video0 Tried /dev/video0 style and also directly /dev/v4l/by-path/xxxxx (by-id folder does not exist on my pi..) Rebooted so many times, changed almost anything I could think of.. no avail... Hardware setup is known to be good (still have sd cards for running Octopi and Marlln with both cams) Could is be that it has something to do with using a Raspberry Pi zero 2W ?
UPDATE: It had nothing to do with the raspi being a zero 2W : 1) Turns out my USB cam I was using was not really compatible with Klipper / Crowsnest: After plugig it in, lsusb showed the camera. However the moment you start Klipper, lsusb (and Crowsnest) lost the camera completely.. Eventually I used another USB webcam with an other chip probably, and that did work 2) My Picam did show some video after a lot of troubleshooting and googling, but the image was flickering and blurry.. So I did not reuse this cam, and settled down with another USB webcam. Still have to check, there is a chance the Picam had dead on me.. not sure..
Looks like this one is what he was using. www.aliexpress.us/item/3256805063373474.html?spm=a2g0o.productlist.main.29.705e799eEJ2dmv&algo_pvid=abf9e63d-0fe4-4d16-bd1b-122836ba33c6&aem_p4p_detail=202309191421183546610439014930001566922&algo_exp_id=abf9e63d-0fe4-4d16-bd1b-122836ba33c6-14&pdp_npi=4%40dis%21USD%218.26%216.11%21%21%2160.00%21%21%402103249616951584781334455ea062%2112000032372048799%21sea%21US%210%21ABS&curPageLogUid=JlzXwLmn72H2&search_p4p_id=202309191421183546610439014930001566922_15
@@ChrisRiley it was on mainsail I managed to get it going in the end however can't use it as intended was going to try use as a nozzle cam but the focal distance us too small.
Every OS is going to treat camera streamers different. It would take some configuration changes to make it work on every systems. This one is based on ARMBIAN.
Im running 2 cams through my pi 4 flat cable one works fine but i cant get pi@wezel:~ $ ls /dev/v4l/by-id ls: cannot access '/dev/v4l/by-id': No such file or directory working?? Please help
Thanks... was able to get all three separate web cams working on three different printers!!!!
Awesome!!!
So well done and explained. While I am a tech by trade I haven't done much with klipper and some of the other videos tried too hard to be too techy. I just wanted it to work and your video got them there. Thanks so much!
Thanks, great to hear!
You sir are a lifesaver, very helpful video mate. Thank you
Glad it helped! Thanks for watching
You have saved my butt so many times with these amazing videos man, seriously. Thank you! Really solved my webcam probelms... I was going nuts! hahah
Happy to help! Thanks for watching
Chris, Thanks for all of your help!!
No problem Dave. Thanks for the video idea!
Awesome tutorial , I had a camera inverted weird, just choose flip and fixed. Thanks for posting !!
Glad it helped!
You helped 2 Wilsons with this video. Thank you!
Glad to hear it! 😁
YES more of this type of content PLEASE👍
👍🙂
Excelent video!! Thank you very much. Greeting from Mendoza Argentina!
Glad you enjoyed it!
Thanks for yet another awesome tutorial!
Glad you liked it! Thanks
Chris, Thanks for doing this. Now I need to get my cameras back and get them working on my Rat Rig
No problem Dave. I'll leave it unlisted incase you need to watch it again.
Awesome! Got em up and running! Now, where's the damn record button!
But on a serious note, I got a pi cam and don't quite know how to install it without the pi desktop. or GUI. Help a noob out, PLEASE!
There shouldn't be any issues installing it, it should just work. Make it the only camera and see it Mainsail will pick it up. You can use raspi-config or armbian-config to setup somethings.
You always make amazing Klipper videos even though you don't call yourself a Klipper guy! :))
I just connected 3 cameras, 2 nozzle and 1 printer cam thanks to the "/dev/v4l" command you showed!
Thanks!
LOL, That is awesome! Thanks
This is helpful, however I wonder if you've tried with a raspi-cam / USB setup. I've currently got an issue with mainsail where it will occasionally boot correctly and display both, but often boots with only the USB cam showing in the interface. I believe it's to do with how the Pi handles devices at startup, as if I unplug the USB cam, it will then boot with the pi cam correctly and adding in the USB cam once confirmed in the interface, works 100%. Slightly annoying but not the biggest issue.
Interesting, I will have to give it a try with the Pi cam, I haven't used it on Klipper yet.
@@ChrisRiley if I can be of any help just let me know, appreciate your videos, helped me on many occasions
I just managed to get everything working in a similar setup. and i have the same problem. ->unplug usb cam ->reboot ->plug in again. then both cams work. did you manage to find a solution to this?
@@DavidKoschat annoyingly I used to have it working fine but then my SD corrupted and I had to reinstall. This makes me believe it was a raspi setup option, I think it was something about delaying USB boot on startup, which I read about someone was having power issues with hard drives, but haven’t found it again yet. Not sure if you can delay certain usb devices booting?
@@DavidKoschat hi David, I didn’t, however the lastest crows nest update with a fresh crows nest.conf seems to be working straight away, they appear to have changed how they manage/label pi devices which seems to have helped me
Great video, thanks.
Glad you liked it!
The problem with a setup like this is that running two webcams simultaneously can actually tank your performance if you're using Klipper to handle all of your gcode processing. If you're using a slower Pi like a 3B it can even have problems with a single webcam (I had a 3B+ with a webcam that would only get about 2FPS while printing was happening). It would be interesting to see how a second Pi could be leveraged to run something like KlipperScreen and the webcams while another Pi is handling Klipper itself
That's a good idea, I will look into a second Pi setup like this.
Cool!
Thanks for watching!
I'm trying to connect my dslr to my Elegoo neptune 4 max. Klipper / Fluidd. I'm stuck at the beginning hahaha. Any plans to make a video about this? :p
I have no plans as of right now, but you never know, maybe I will have the need to do that at some point.
I bricked my whole printer hahaha, had to ssh into the printer to restore all firmware. I wait and hope you one day find the need to make an video about it :)@@ChrisRiley
@@ChrisRiley I just F********cking did it!!!!!! I don't think it's the way it should work but it works with parking included!!!!!!
@@3dutch Nice work!
Hi Chris,
Great video and at just the right time as I am about to install Klipper on my 2 Sovol printers (using a BTT pad 7).
My question is: as the Pad 7 has only 4 USB ports and I might want to add 3 cameras (1 for each printer and 1 general view), can I attach all the cameras to a USB hub connected to the Pad 7?
Sure, a hub should work just fine. If you have higher end cams that might need more power, so consider a powered hub.
Remembering the good old "openstack in the basement" days with MaaS and Juju. I'm getting old :(
Oh man! That was a while ago 🙂
@@ChrisRiley yeah... time flies
Have you made anything using an old phone as a camera?
Not for Klipper yet.
Do you have a video on how to use an android style phone's camera over IP rtsp in Klipper? I have been fighting it for days. I can get it connected to VLC media player on a windows machine, but not a Ubuntu 22.04 machine. So it is streaming. But Klipper doesn't seem to want to cooperate.
I don't, but I will look into it, i'll see if I can make a video on it.
hi, thank you for taking the time to do such a detailed step by step tutorial.
unfortunately for some reason, im having some what seems like serious issues where my camera (C920) pops on for a second and then i get a "no signal" message but the FPS keeps going between 13 and 14 and I also get a klipper report saying
"lost communication with MCU
once underlying issue is corrected, use firmware restart command to reset the firmware reload the config and restart the host firmware printer is shutdown"
do you have any ideas why this might be happening and how i can go about fixing it? im at a loss
thanks
one more thing when i disconnect the camera everything seems to be working fine in klipper/mainsail, not sure if that information helps
Wow, that's a strange one. I wouldn't think it would impact your config, but sounds like it does. Maybe it's a power issue? You could try a powered hub.
@@ChrisRileyThank you for responding
sorry Im very new to this and im not following, what do you mean by "You could try a powered hub."? do you mean plug the camera into a powered hub? I have my BTT PI4 +CB1 plugged into a powered hub to power it.
thank you for your patience
I guess i have a broken camera. Damn. Gotta go find another.
Darn it! Good luck with your projects
I am running 2 printers on a BTT 7 pad. I am using the 3rd BTT 7 port for a usb expansion with 2 cameras installed. I can only get the same, one camera to shown up on either of my mainsail instances. Any ideas on that setup? It's not the same as a Pi, obviously.
Nice! Hmmm, I just got one of these pads to try out, I will have to see if I can make that work. There has to be a way to change up the ports to make it work.
Myvpad has 2 printers. One in each back port. Then I have a usb extender on the side port with the cameras. Only one camera lights up, like the other isn't connected even though you can see it in the dev file. Been trying for a few days.
followed your tutorial and all others i could find, but one of my cams is always showing "no signal" ... :(
That's really strange, I have seen others say the same thing recently. Maybe there is a bug that will get sorted out in the next upgrade.
same here
What was your solution? Cam 2 wasn't working for me, so I commented out the rtsp port and cam 1 works but now cam 2 doesn't start. For once I'd love something to just work first go, lol
Edit, fixed it right after this comment. Just commented out anything to do with rtsp on both cam sections. See how this fares, but both work.
Could i use rasberrypi cam on this systerm? Because i just have raspi now .I want to usb raspi-cam and usb cam in the same time.
Yes, you can, just get the pi cam going first, then it should be able to add the USB cam.
@@ChrisRiley Thank you so much.
Is this example on the MKS SKIPR. I keep getting an error saying that Crowsnest V4 won't work with Buster and when I try Crowsnest V3 I keep getting a failed backport error.
You have conflicting versions with Linux and some of the klipper pieces. Try to upgrade to bullseye. www.cyberciti.biz/faq/update-upgrade-debian-10-to-debian-11-bullseye/#google_vignette
@@ChrisRiley User error. When I downloaded the OS image I got the one that had HDMI in the title thinking I should use that since I planned on using an HDMI display. I swapped to the latest version of the SKIPR image and the drivers and versions for Crows nest etc. all work fine. So for others make sure you're using the latest image. Thx
En mi Mainsall no aparece en el panel de control webcam, como habilito esa opcion?
Not sure what option you are referring to. Newer version might be different than when I made this video.
Lot easier than multiple cams in Marlin with Octoprint 👍
🙂👍
@@ChrisRileySpoke too soon 😐Today I tried to install my 2 cams (piCam and usb cam) under crowsnest..
Sadly, I've not been able to get even one camera feed.
Used Kiauh to install Mainsail , moonraker and crowsnest
Crowsnests log does not give any errors, says at least 1 camera is running succesfully on /dev/video0
Tried /dev/video0 style and also directly /dev/v4l/by-path/xxxxx (by-id folder does not exist on my pi..)
Rebooted so many times, changed almost anything I could think of.. no avail...
Hardware setup is known to be good (still have sd cards for running Octopi and Marlln with both cams)
Could is be that it has something to do with using a Raspberry Pi zero 2W ?
UPDATE: It had nothing to do with the raspi being a zero 2W :
1) Turns out my USB cam I was using was not really compatible with Klipper / Crowsnest: After plugig it in, lsusb showed the camera. However the moment you start Klipper, lsusb (and Crowsnest) lost the camera completely.. Eventually I used another USB webcam with an other chip probably, and that did work
2) My Picam did show some video after a lot of troubleshooting and googling, but the image was flickering and blurry.. So I did not reuse this cam, and settled down with another USB webcam. Still have to check, there is a chance the Picam had dead on me.. not sure..
It would be Chris Riley to figure it out.
Thanks Sergio, see you in a couple of weeks!
Which nozzle camera was that?
Looks like a webcam salvaged from an old laptop..
Looks like this one is what he was using. www.aliexpress.us/item/3256805063373474.html?spm=a2g0o.productlist.main.29.705e799eEJ2dmv&algo_pvid=abf9e63d-0fe4-4d16-bd1b-122836ba33c6&aem_p4p_detail=202309191421183546610439014930001566922&algo_exp_id=abf9e63d-0fe4-4d16-bd1b-122836ba33c6-14&pdp_npi=4%40dis%21USD%218.26%216.11%21%21%2160.00%21%21%402103249616951584781334455ea062%2112000032372048799%21sea%21US%210%21ABS&curPageLogUid=JlzXwLmn72H2&search_p4p_id=202309191421183546610439014930001566922_15
Hey chris im trying to us a webcam and a pi camera module 3 at the same time is this possible because I'm having real trouble
On Mainsail or Fluidd I'm not sure how it handles the Pi cam, I'll have to test it.
@@ChrisRiley it was on mainsail I managed to get it going in the end however can't use it as intended was going to try use as a nozzle cam but the focal distance us too small.
@@skyeblackledge2068 Cool you got it working, but I feel your pain. It's really hard to find a good cam with the length you need for a nozzle cam.
@@ChrisRiley yah currently trying to see if there is anyway to get moonraker timelapse to trigger a dslr 😅
still didnt resolve anything..... using mainsail and an old windows tablet as my "pi" with linux ubuntu running on it
Every OS is going to treat camera streamers different. It would take some configuration changes to make it work on every systems. This one is based on ARMBIAN.
My 3d printer have 1 USB hub
Can I use a USB hub to connect 2 camera ?
@@ChrisRiley well my friend is stummped, but a pi3 isn't very expensive so ill just make the change later lol
do you think a kinect v2 would work with this?
I think there have been problems with the old kinect camera, but I'm not sure on v2, maybe they have been resolved.
i tried it out using a couple of other methods, its detected but never outputs video. but works fine on windows 10/11@@ChrisRiley
Anything more simple? I still do not understand
This is about all you can do, not sure how to break it down any more.
Lol watching on small iPhone 6 screen. Need magnifying glass to see I’m lost 6 mins in
Let me know if I can help.
@@ChrisRiley look forward to seeing you at ERRF
_You can just change things up, based on your camera, here_
That wasn't very helpful.
Those are just camera specific settings like resolution and frame rate, every camera will be different.
Im running 2 cams through my pi 4 flat cable one works fine but i cant get pi@wezel:~ $ ls /dev/v4l/by-id
ls: cannot access '/dev/v4l/by-id': No such file or directory
working?? Please help
So you Pi cam on the ribbon cable works, but the USB cams don't?