How to Configure Cameras and Neopixels in Klipper

Поделиться
HTML-код
  • Опубликовано: 9 май 2023
  • How do I set up my camera in Mainsail? How do I set up multiple cameras in Mainsail? How do I get those Neopixels working on my New Voron Printer!? Well - this is not a deep dive, but it should get you going.
    In this video, I show you how to find and implement multiple cameras in your Mainsail GUI (also helpful for Fluidd). We go over the Crowsnest configuration and the GUI configuration. After that, it's on to the Neos! We take a not-so-deep dive into how these lights work, how to get the printer to use them, and how to simplify things - for now. Once you have a good understanding, I do suggest you try some more advanced neo topics and variable macros! THERE IS A LOT YOU CAN DO WITH THESE THINGS!!!
    My method of using these LEDs may not be as fun as just throwing a pre-made config at them, but it will hopefully help you figure out what's happening in those complicated files and possibly have you making custom macros in no time at all!
    Link to my Github file for neo testing and learning:
    github.com/kermyb123/3DPrinting
    The next few videos (2-3 of them) will be shorter and specific to parts of MY configurations. I'll do my best to point out the major things to watch out for. Soon we'll button this Voron 2.4 R2 printer up!
    **BIG THANKS TO PATRONs: SK3D, Marc Davis, Brad Nohra, Run Buh **
    **Run Buh is the newest to the list WELCOME, and special thanks!**
    Patreon and Channel Subs!
    **Patreon Site, Multiple levels! If you can and want to help me share new things and maybe tip me for my time...**
    / builditbasement
    **Become a MEMBER of my channel! $4.99 Really helps me out!**
    www.youtube.com/@BuildItBasem...
    Link to the Stealthburner neo config file:
    github.com/VoronDesign/Voron-...
  • НаукаНаука

Комментарии • 45

  • @-_Robert_-
    @-_Robert_- 5 месяцев назад +1

    Finally your video help me out with my cheap camera to run. One key was - I realized that on camera must be some indication that it have power... another key was in 5:56 of this film.

    • @BuildItBasement
      @BuildItBasement  5 месяцев назад +1

      That's great! I hope the finally was because you finally found my video and it helped, not finally - as in "I've been watching all your videos, and it's not helped me at all!"... I guess either way, it's a good day! Thanks for watching! AND commenting! hope you hit that like button!

  • @KM3DPrints
    @KM3DPrints 9 месяцев назад +1

    Hi that is wonderful, by the way, do you have any idea how to connect my old phone with flsun V400 as webcame or i mean to take timelapse video?

    • @BuildItBasement
      @BuildItBasement  9 месяцев назад

      I hav not tried using an old phone - My friend @goldenjaguar ruclips.net/user/goldenjaguar3d, has done a lot with old Android phones. I would check over at his channel - he probably has done one. You probably could use something like "DroidCam" on your phone and link your Crowsnest to it via IP... Interesting thought, limited applications - phones tend to be big and you can get cameras for around $30.

  • @kevinroach9380
    @kevinroach9380 6 месяцев назад +1

    I would like to see in depth coverage setup on camera and neopixel setup.

    • @BuildItBasement
      @BuildItBasement  6 месяцев назад +1

      Let me know if there is anything more specific you feel is needed. I could fill a series of videos with just cameras a neopixels!

  • @TheLemonhawk
    @TheLemonhawk Год назад +1

    In one of your videos, I noticed that you had a slider the controlled how bright the chamber LED's were. How was that configured?

    • @BuildItBasement
      @BuildItBasement  Год назад

      Chuck - This should happen once you define the lights in Klipper, such as this: [output_pin caselight] It's seen as a PWM controlled item, manually controlled by the user or macro.

    • @TheLemonhawk
      @TheLemonhawk Год назад +1

      @@BuildItBasement This appears to work only on non addressable LED's as its just PWM the power (using the ground pin) to the LED's. I was hoping it would work on addressable LED's. Only way I think this is possible is by reading a pot position as mentioned in the LED effects.

    • @BuildItBasement
      @BuildItBasement  Год назад +1

      @@TheLemonhawk Yes - if you define the LED as a RGB (or other addressable) the web GUI should see them. It depends on the formatting of how they are defined. Are they connected to an RGB(W) port on your MCU? If so, once you define them and name them they should become available on the GUI. Any defined PWM or RGB items should show up in your GUI. For instance, If I make a [neopixel ANYNAME] define a pin, count, and order they should be available on the GUI.

    • @TheLemonhawk
      @TheLemonhawk Год назад +1

      @@BuildItBasement They are defined as [neopixel chamberLED] and show up, just no dimmer slider. Neopixel on an Arduino do have a "dimmer" for neopixels, but I think Klipper does not without adding the hardware pot. Just regular RGB LED will have a dimmer set up on the console apparently because they just PWM the ground pin just like a fan.

    • @BuildItBasement
      @BuildItBasement  Год назад

      Ahh - Yes I understand now! If you click on the "radio" color dot - it will open both a color selector and a slider. (I assume you knew that). As for the slider, I'm not sure if there is a functional way to do that since you would need to dig pretty deep in the CSS to make a change.

  • @rent2ownnz
    @rent2ownnz 9 месяцев назад +1

    I had problems with mine. Camera was there when I started and I changed one setting and it failed from then on. I have a CB1 (no RPi). I even found and copied a fresh crowsnest config but still would not stop errors waying "Multi mode not supported by this camera. The end solution was t run Sudo apt crowsnest and then make clean. all works with the latest version of Crowsnest without a hitch

    • @BuildItBasement
      @BuildItBasement  9 месяцев назад

      I have also found that running two cameras in 1080+ and Klipper Screen really stresses the Pi4 some. I have a pre-order on a few Pi5 units, I'll be doing some comparisons. How do you like the CB1? Any other issues with the CB1?

  • @unlock-er
    @unlock-er Год назад +1

    for some reasons my multiple webcams (c920) don't work, it works either one of the other but not both. Not sure what i've done wrong here. Any ideas? thx

    • @BuildItBasement
      @BuildItBasement  Год назад +1

      Here are the steps I suggest: 1) confirm the USB device location in your crowsnest log file. Should be ... "/dev/videoxx" 2) Open your crowsnext.cfg file and confirm that you have changed the three parameters: rtsp_port, port, and device. One should be "like" rtsp_port: 8554 port: 8080 device /dev/video0.. The other 8555 8081 and /dev/video2 (assuming video 2 is where your pi sees the device) 3) edit webcam screen - modify the name and change the URL fields to /webcam2/?action=stream and action=snapshot. If you email me I can provide photos. kerm@builditbasement.com. I suggest using "MJPEG-Streamer" as your Service. Let me know if this helps!

    • @-_Robert_-
      @-_Robert_- 5 месяцев назад

      some time ago but... check if you have enough power to supply few cameras, maybe you need better power supply.

  • @liamvaz7396
    @liamvaz7396 6 месяцев назад

    How are you getting such a high fps? Mine caps out at 3 lol, im using a Pi 3b+... does that have anything to do with it?

    • @BuildItBasement
      @BuildItBasement  6 месяцев назад

      Version of Pi will increase or decrease your camera fps, also look at what "service" you are using in the camera settings. MJPEG tends to use less resources, but more bandwidth.

  • @BamsyTheSergal
    @BamsyTheSergal 5 месяцев назад +1

    how would i go about using a kinect v2?

    • @BuildItBasement
      @BuildItBasement  5 месяцев назад +1

      A MS Xbox Connect? I have never tried, but I do know you will need special drivers - which will be problematic to get to work in a Linux system. Sorry!

  • @cron410
    @cron410 6 месяцев назад +1

    This is a great presentation. I hope you get a better mic in the future. We hear more of your breath than your voice here. You deserve better!

  • @spyke3575
    @spyke3575 5 месяцев назад +1

    Great job on the video.
    Can anybody gelp me with connecting a raspicam module 3?im using a raspi5

    • @BuildItBasement
      @BuildItBasement  5 месяцев назад +1

      Have you enabled it in the raspi-config?

  • @KenCunningham921
    @KenCunningham921 7 месяцев назад +3

    Kinda pisses me off that I havent been able to get any of my Pi Cams working in klipper, they worked great in the Marlin version of Octo, the USB web cam I have works great, the pi cams are pretty much worthless.

    • @BuildItBasement
      @BuildItBasement  7 месяцев назад +1

      What issue are you having? I don't use Pi Camera modules, but I do know some that do. I assume you are using the CSI port? You may need to update your Crowsnet instance, I know there was an issue around version 3.

    • @Dad_with_a_drone
      @Dad_with_a_drone 3 месяца назад

      Okay I had this same issue ! ! Twice …. The first time I hadn’t enabled the cam in the pi configuration… the second time - embarrassingly I had plugged it into the display port, once the cam is enabled, you just need your download crows nest, then add a cam, the config file will tell you what to uncomment but mine was already done, so you just give that cam a name, eve and restart then you’ll find a webcam tab pops up ! I literally got mine working today so let me know if you’re not having luck

  • @KD0AFK33
    @KD0AFK33 2 месяца назад +1

    yeah, but how do you make crowsnest use the fps you select? My webcam is capable of way more than 1 FPS but that's all crowsnest lets it do.

    • @BuildItBasement
      @BuildItBasement  2 месяца назад +1

      There are a bunch of things that limit FPS, the setting in Crowsnest is basically just a "speed limit". The encoding type and ability for the Pi to process the video will be your main issues. If you're seeing 1fps, I would ask if you have more than one camera installed and what resolution you're using it/them at.

    • @KD0AFK33
      @KD0AFK33 2 месяца назад

      @@BuildItBasement only one cam 1080 p

    • @BuildItBasement
      @BuildItBasement  2 месяца назад

      Have you tried MJPEG for your stream type? What are you running for your Klipper setup? Pi 3?4?5? Another alternative?

    • @KD0AFK33
      @KD0AFK33 2 месяца назад +1

      @@BuildItBasement I'm running klipper on a BTT Pi

    • @BuildItBasement
      @BuildItBasement  2 месяца назад

      Add this to your crowsnest config file: custom_flags: --format=YUYV

  • @glenndhooge6787
    @glenndhooge6787 Год назад +3

    Am I the only one who thinks that the topdown view of the the stealthburner looks like a minion 😅
    Anyway, interesting video

  • @pecky38
    @pecky38 3 месяца назад +1

    May I ask for help? My problem is after I plugged in my Logitech C920, it is detected and shown at /dev/v4l/by-id and mapped to /dev/video0. However, in the crowsnest log, "ERROR: No usable Devices Found. Stopping crowsnest." is shown.

    • @BuildItBasement
      @BuildItBasement  3 месяца назад +2

      The first thing I would suggest is that you make sure your instance of Crowsnest is up to date. if you are pretty sure that your settings are correct and your hardware is working I would consider an update. If that doesn't work I would manually re-install Crowsnest. I haver seen a few times now where people chase things around for days, finally do a fresh install and resolve the issue in minutes.

    • @BuildItBasement
      @BuildItBasement  3 месяца назад +1

      Also, you can ALWAYS ask for help! I just can't guaranty I'll have all the answers!

    • @pecky38
      @pecky38 3 месяца назад +1

      @@BuildItBasement Many thanks for your reply. I finally do a fresh install again and the problem is gone.

    • @BuildItBasement
      @BuildItBasement  3 месяца назад

      Awesome! Sometimes it's easier to just go back than try to look at everything that could go wrong!🎉