Klipper - Multiple Cameras - Mainsail - Fluidd - Chris's Basement - 2023

Поділитися
Вставка
  • Опубліковано 5 сер 2024
  • My friend Dave Wilson asked me about using multiple cameras on Klipper. That's what we're doing today, installing multiple cameras in Klipper using both Mainsail and Fluidd.
    00:00 Introduction
    00:53 Installing Crowsnest
    03:02 Fluidd
    05:07 Multiple Cameras
    10:13 Mainsail
    12:07 Conclusion
    These are affiliate links and take you to Amazon.
    ------------------------------------------------------
    Logitech C270 HD Webcam, 720p on Amaozn:
    geni.us/SfPfV
    ------------------------------------------------------
    Helpful Links:
    🔗🔗🔗🔗🔗🔗🔗
    Link to Dave Wilson's Channel ;
    www.youtube.com/@woodwaker1/f...
    Link to Crowsnest install On Mainsail:
    crowsnest.mainsail.xyz/setup/...
    Link to KIAHA Github:
    github.com/dw-0/kiauh
    Helpful videos:
    🎞🎞🎞🎞🎞🎞🎞
    Klipper - MKS Skipr Install - Linux - Part 1:
    • Klipper - MKS Skipr In...
    KIAUH - The Easiest Klipper Install - Mainsail and Fluidd:
    • KIAUH - The Easiest Kl...
    Klipper - MKS Skipr Install - Part 2:
    • Klipper - MKS Skipr In...
    SUPPORT THE CHANNEL BY CLICKING THESE LINKS!
    Show your support by becoming a UA-cam Member!
    ua-cam.com/users/chrisrileyjoin
    E3D Affiliate Link:
    e3d-online.com/?aff=32
    OpenBuilds - Great CNC and 3D Printer Parts (aff)
    openbuildspartstore.com/?ref=...
    Slice Engineering - Mosquito Hotends (aff)
    www.sliceengineering.com/?p=r...
    Wham Bam Systems Flexible Beds (aff)
    bit.ly/2HoS1cV
    Amazon (aff) [US DE GB CA IT ES FR JP]:
    www.amazon.com/?tag=chrisbase...
    Banggood(aff) ban.ggood.vip/7vm3
    Aliexpress(aff) s.click.aliexpress.com/e/UrRbCm8
    Buy me a coffee to keep me going!
    buymeacoff.ee/Wc0DouFbl
    You can support my work on Patreon
    / brotherchris
    One Time Tips, You Can PayPal Me:
    www.paypal.me/ChrisRiley3D
    --------------------------------------------
    Find Me On Social Media!
    --------------------------------------------
    Twitter : / chrisriley3d
    / chrisriley3d
    profile.php?...
    / chrisriley3d
    FTC Disclaimer: A percentage of sales is made through Affiliate links
    As an Amazon Associate I earn from qualifying purchases.
  • Наука та технологія

КОМЕНТАРІ • 105

  • @TheButchersbLock
    @TheButchersbLock 10 місяців тому +1

    You sir are a lifesaver, very helpful video mate. Thank you

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Glad it helped! Thanks for watching

  • @MrDbodenheimer
    @MrDbodenheimer 10 місяців тому

    Thanks for yet another awesome tutorial!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Glad you liked it! Thanks

  • @daltana1980
    @daltana1980 10 місяців тому

    Excelent video!! Thank you very much. Greeting from Mendoza Argentina!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Glad you enjoyed it!

  • @JimmytheCow2000
    @JimmytheCow2000 2 місяці тому

    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

    • @ChrisRiley
      @ChrisRiley  2 місяці тому

      Happy to help! Thanks for watching

  • @Printed_Visionz3D
    @Printed_Visionz3D 10 місяців тому

    Great video, thanks.

    • @ChrisRiley
      @ChrisRiley  10 місяців тому +1

      Glad you liked it!

  • @woodwaker1
    @woodwaker1 10 місяців тому

    Chris, Thanks for all of your help!!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      No problem Dave. Thanks for the video idea!

  • @DarkestWebGM
    @DarkestWebGM 6 місяців тому

    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!

    • @ChrisRiley
      @ChrisRiley  6 місяців тому

      Thanks, great to hear!

  • @LuckyPrinter
    @LuckyPrinter 10 місяців тому

    YES more of this type of content PLEASE👍

  • @printerpr0n
    @printerpr0n 10 місяців тому

    You helped 2 Wilsons with this video. Thank you!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Glad to hear it! 😁

  • @jeffredington3359
    @jeffredington3359 27 днів тому +1

    Thanks... was able to get all three separate web cams working on three different printers!!!!

  • @thehappyextruder7178
    @thehappyextruder7178 10 місяців тому

    Awesome tutorial , I had a camera inverted weird, just choose flip and fixed. Thanks for posting !!

  • @mutlubasdas
    @mutlubasdas 10 місяців тому

    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!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому +1

      LOL, That is awesome! Thanks

  • @Abyssaal1
    @Abyssaal1 10 місяців тому

    Cool!

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Thanks for watching!

  • @woodwaker1
    @woodwaker1 11 місяців тому

    Chris, Thanks for doing this. Now I need to get my cameras back and get them working on my Rat Rig

    • @ChrisRiley
      @ChrisRiley  11 місяців тому

      No problem Dave. I'll leave it unlisted incase you need to watch it again.

  • @bigtst36
    @bigtst36 4 місяці тому +1

    Awesome! Got em up and running! Now, where's the damn record button!

    • @bigtst36
      @bigtst36 4 місяці тому +1

      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!

    • @ChrisRiley
      @ChrisRiley  4 місяці тому

      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.

  • @meltonpieman959
    @meltonpieman959 10 місяців тому +1

    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?

    • @ChrisRiley
      @ChrisRiley  10 місяців тому +1

      Sure, a hub should work just fine. If you have higher end cams that might need more power, so consider a powered hub.

  • @missile1506
    @missile1506 8 місяців тому +1

    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.

    • @ChrisRiley
      @ChrisRiley  8 місяців тому +1

      I don't, but I will look into it, i'll see if I can make a video on it.

  • @ABentPaperclip
    @ABentPaperclip 8 місяців тому +1

    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

    • @ChrisRiley
      @ChrisRiley  8 місяців тому +1

      That's a good idea, I will look into a second Pi setup like this.

  • @Mr_Jimbo
    @Mr_Jimbo 10 місяців тому +2

    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.

    • @ChrisRiley
      @ChrisRiley  10 місяців тому +1

      Interesting, I will have to give it a try with the Pi cam, I haven't used it on Klipper yet.

    • @Mr_Jimbo
      @Mr_Jimbo 10 місяців тому

      @@ChrisRiley if I can be of any help just let me know, appreciate your videos, helped me on many occasions

    • @DavidKoschat
      @DavidKoschat 7 місяців тому

      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?

    • @Mr_Jimbo
      @Mr_Jimbo 7 місяців тому

      @@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?

    • @Mr_Jimbo
      @Mr_Jimbo 6 місяців тому

      @@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

  • @missile1506
    @missile1506 8 місяців тому +1

    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.

    • @ChrisRiley
      @ChrisRiley  8 місяців тому

      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.

    • @missile1506
      @missile1506 8 місяців тому

      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.

  • @wangyao127
    @wangyao127 Місяць тому +1

    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.

    • @ChrisRiley
      @ChrisRiley  Місяць тому +1

      Yes, you can, just get the pi cam going first, then it should be able to add the USB cam.

    • @wangyao127
      @wangyao127 23 дні тому

      @@ChrisRiley Thank you so much.

  • @phiyaatv9814
    @phiyaatv9814 6 місяців тому +1

    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

    • @phiyaatv9814
      @phiyaatv9814 6 місяців тому

      one more thing when i disconnect the camera everything seems to be working fine in klipper/mainsail, not sure if that information helps

    • @ChrisRiley
      @ChrisRiley  6 місяців тому +1

      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.

    • @phiyaatv9814
      @phiyaatv9814 5 місяців тому

      @@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

  • @roptics314
    @roptics314 19 днів тому +1

    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.

    • @ChrisRiley
      @ChrisRiley  13 днів тому

      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

    • @roptics314
      @roptics314 12 днів тому

      @@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

  • @BunnyTJ
    @BunnyTJ 3 місяці тому +1

    Have you made anything using an old phone as a camera?

  • @edwinsantiagoyucomuiba146
    @edwinsantiagoyucomuiba146 4 місяці тому +1

    En mi Mainsall no aparece en el panel de control webcam, como habilito esa opcion?

    • @ChrisRiley
      @ChrisRiley  3 місяці тому

      Not sure what option you are referring to. Newer version might be different than when I made this video.

  • @skyeblackledge2068
    @skyeblackledge2068 9 місяців тому +1

    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

    • @ChrisRiley
      @ChrisRiley  9 місяців тому

      On Mainsail or Fluidd I'm not sure how it handles the Pi cam, I'll have to test it.

    • @skyeblackledge2068
      @skyeblackledge2068 9 місяців тому

      @@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.

    • @ChrisRiley
      @ChrisRiley  9 місяців тому

      @@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.

    • @skyeblackledge2068
      @skyeblackledge2068 9 місяців тому

      @@ChrisRiley yah currently trying to see if there is anyway to get moonraker timelapse to trigger a dslr 😅

  • @BamsyTheSergal
    @BamsyTheSergal 6 місяців тому

    do you think a kinect v2 would work with this?

    • @ChrisRiley
      @ChrisRiley  6 місяців тому

      I think there have been problems with the old kinect camera, but I'm not sure on v2, maybe they have been resolved.

    • @BamsyTheSergal
      @BamsyTheSergal 6 місяців тому

      i tried it out using a couple of other methods, its detected but never outputs video. but works fine on windows 10/11@@ChrisRiley

  • @3dutch
    @3dutch 4 місяці тому +1

    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

    • @ChrisRiley
      @ChrisRiley  4 місяці тому

      I have no plans as of right now, but you never know, maybe I will have the need to do that at some point.

    • @3dutch
      @3dutch 4 місяці тому

      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

    • @3dutch
      @3dutch 4 місяці тому

      @@ChrisRiley I just F********cking did it!!!!!! I don't think it's the way it should work but it works with parking included!!!!!!

    • @ChrisRiley
      @ChrisRiley  4 місяці тому

      @@3dutch Nice work!

  • @WelcomeWithinMyDream
    @WelcomeWithinMyDream 10 місяців тому

    Remembering the good old "openstack in the basement" days with MaaS and Juju. I'm getting old :(

  • @YourBuddyDinec
    @YourBuddyDinec 10 місяців тому +1

    Which nozzle camera was that?

    • @winandd8649
      @winandd8649 10 місяців тому +1

      Looks like a webcam salvaged from an old laptop..

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      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

  • @Kaizerlegende
    @Kaizerlegende 3 місяці тому +1

    followed your tutorial and all others i could find, but one of my cams is always showing "no signal" ... :(

    • @ChrisRiley
      @ChrisRiley  3 місяці тому

      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.

    • @RayLenses
      @RayLenses 21 годину тому

      same here

  • @Luka1180
    @Luka1180 3 місяці тому

    I guess i have a broken camera. Damn. Gotta go find another.

    • @ChrisRiley
      @ChrisRiley  3 місяці тому

      Darn it! Good luck with your projects

  • @Sergiodj453
    @Sergiodj453 10 місяців тому

    It would be Chris Riley to figure it out.

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Thanks Sergio, see you in a couple of weeks!

  • @winandd8649
    @winandd8649 10 місяців тому

    Lot easier than multiple cams in Marlin with Octoprint 👍

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      🙂👍

    • @winandd8649
      @winandd8649 10 місяців тому

      @@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 ?

    • @winandd8649
      @winandd8649 10 місяців тому +1

      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..

  • @user-bh2jc8mg6c
    @user-bh2jc8mg6c 5 місяців тому +1

    still didnt resolve anything..... using mainsail and an old windows tablet as my "pi" with linux ubuntu running on it

    • @ChrisRiley
      @ChrisRiley  5 місяців тому

      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.

    • @hoanganhnguyentran5695
      @hoanganhnguyentran5695 5 місяців тому +1

      My 3d printer have 1 USB hub
      Can I use a USB hub to connect 2 camera ?

    • @user-bh2jc8mg6c
      @user-bh2jc8mg6c 4 місяці тому

      @@ChrisRiley well my friend is stummped, but a pi3 isn't very expensive so ill just make the change later lol

  • @bruceyoung1343
    @bruceyoung1343 10 місяців тому

    Lol watching on small iPhone 6 screen. Need magnifying glass to see I’m lost 6 mins in

    • @ChrisRiley
      @ChrisRiley  10 місяців тому

      Let me know if I can help.

    • @bruceyoung1343
      @bruceyoung1343 10 місяців тому

      @@ChrisRiley look forward to seeing you at ERRF

  • @combatsurvivalofalabama1835
    @combatsurvivalofalabama1835 4 місяці тому +1

    Anything more simple? I still do not understand

    • @ChrisRiley
      @ChrisRiley  4 місяці тому

      This is about all you can do, not sure how to break it down any more.

  • @imacmill
    @imacmill 8 місяців тому

    _You can just change things up, based on your camera, here_
    That wasn't very helpful.

    • @ChrisRiley
      @ChrisRiley  8 місяців тому

      Those are just camera specific settings like resolution and frame rate, every camera will be different.

  • @StephenSelf444
    @StephenSelf444 8 місяців тому +1

    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

    • @ChrisRiley
      @ChrisRiley  8 місяців тому

      So you Pi cam on the ribbon cable works, but the USB cams don't?