Chris does great videos - And It’s ok, Chris won’t accuse you of stealing food out of his mouth (lol). Another great TH-camr for more in-depth (really in-depth) 3D printing is Alex Kenis.
I second that! Chris is so meticulous and simplifies code and Linux related content, so everyone can follow through. I also really enjoy the randomness and digressions from Alex :)
The nozzle view looks SICK. I currently use an old smartphone (Galaxy S4) as a print cam and while I can zoom in quite close with good video quality, having the cam move with the nozzle would be amazing
I just got octoscreem running on a 7" display. I do not have a long enough ribbon cable for my picam. But i do have a pi zero w, i set this up with another octoprint build. Now i can go to my raspi 3b with the display and login to octoprint. Then input the pi zero cam i.p. address and copy the text for the default cam for the rest of the link. Works like a charm.
Chris is fab at what he does I just find the subject matter too technical for my small brain to understand sometimes. And from time to time his tuts are aimed at advanced users, the multicam video is an example . Michael's step by step guides which are harder to produce certainly helps simpletons like myself get stuff done . For me this video is a great Christmas pressy as I have been trying to add a second cam to my printer since day one last Christmas. One of the best Subs I have along with "Survive the Hunt". Thanks Michael. Happy New Year by the way.
Nice! I bought one of those cheap USB scopes on an Amazon flash sale but haven't really used it for much. Impulse buy FTW!! I'll have to give this a try what a good idea. Merry Christmas, Michael.
Chris' channel is great and I hope your link gets him a bunch of new subscribers. His videos are well made and very informational. Kind of like Michaels!
Hey Michael, there is a pretty simple way to avoid oozing while probing, just have to set the start gcode to have the nozzle heat up after probe. Each slicer has slightly different code to do this. But i highly recommend it.
Etacovda63 doesn’t affect probing though. You’re not probing the bed with the nozzle, the bltouch or ezabl isn’t going to be affected by it. Only the bed needs to be heated while probing.
You are using the LAN IP in the settings. If your router reassigns a new IP (not likely to happen if you have configured fixed IP for it) you will need to update all the settings depending on it. If all the cameras are connected to the same system as octoprint, just use the 127.0.0.1/localhost.
FYI: Raspberry Pi Static IP- If you do not configure your RasPi to have a static IP and the IP changes, your camera feeds will not work as the access URL is set to the original IP in the Webcam/Multicam menus. This can be avoided by setting the webcam URL's to "octopi.local:8080/?action=stream" rather than the exact IP. My Pi's IP changed and I had a fun time trying to figure out why I could not access the Octopi Login in my browser, or why I couldn't access the Pi through Terminal. BECAUSE THE IP CHANGED, also why I then found that my webcams weren't working. If this happens, you can login to your router to see that the Pi is connected to the network and pull the IP from there. Thanks for the vid Michael!
You could probably use it as a 100% fool proof method of detecting the dreaded blob failure. Because the camera is fixed to the hot end you should be able to get the nozzle shape especially during a timelapse you could detect the deviation on the image from each nozzle snap in the same position and could detect the build up of junk on the nozzle tip.
I'm running Octoprint release candidate (1.4.0rc3) so that I can run the Octolapse release candidate (v0.4.0rc1.dev2) (which has the auto config), and things have changed slightly. The webcam service is controlled by systemd instead of init.d so the service location is /etc/systemd/service instead of /etc/init.d - I changed the init.d path for steps 14 and 15 from /etc/init.d to /etc/systemd/system - and added a symbolic link to the multi-user target - sudo ln -s /etc/systemd/system/webcamd2.service /etc/systemd/system/multi-user.target.wants/webcamd2.service It seems to be working for me with those changes
Hi there, Thanks very much for the great guide. Here is my contribution for those who run into the same issue as I did. My primary cam is RaspiCam V2 and I was adding a Logitech C920. I followed all the steps through 13 with no issues, but got a failure at step 14. Specifically with the following command: $ sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d The 'webcamd' file simply didn't exist in the /etc/init.d/ folder, so there was nothing to copy. I guess it is not needed for the RaspiCam. So here is what I did: 1) Go to the /etc/init.d/ folder: $ cd /etc/init.d/ 2) Create an empty file called webcam2d: $ sudo touch webcam2d 3) Open the file for editing: $ sudo nano webcam2d 4) Copy and paste all the file code from here to the empty file (section /etc/init.d/webcamd): github.com/ntoff/Guides/blob/master/mjpeg_streamer_daemon.md#etcinitdwebcamd 5) Save and close the file using the following key combinations: Ctrl+o Enter Ctrl+x 6) Make the file executable: $ sudo chmod +x webcam2d 7) Execute the second command line from step 14: $ sudo cp /etc/default/webcamd /etc/default/webcam2d 8) Then go to step 15 Enjoy!
Awesome guide. I followed Chris's video. Didn't think of using an enderscope. Would be good to get an enderscope time-lapse. I ordered one off aliexpress
Hi thanks for the video. Unfortunately when I get to step 12 I cannot find the line you're referring to to change the boot Octopi-cam2.txt. It seems like something has changed in the script. Do you have any suggestions on how to fix this?
Hey, I have an Ender 3 Pro and I love your videos ... could you make more videos about the SK-GO because I really like that printer and I think it's amazing... Maybe one of the best in the world
when you edited /etc/init.d/webcam2d (11:23) you made mistake in LOG line where you type 'webcand2.log' instead of 'webcam2d.log'. Btw well explained and detailed video, thanks a lot!
Hey Michael, any chance of posting the STL for the endoscope mount? The mount I’m using keeps snapping on me. Also, when securing the cable, should I run it up and over the printer, or attach it to the rest of the wiring?
I followed Chris' video and it conflicted w/ adjustments I'd made related to adjusting picture quality of my C270. Borescope was totally washed out. I have to go back and remove the software I installed.
Hello Michael! With Octopi version 0.18 things seem to have changed. Could you update this mutlicam tutorial to make it compatible with this new version? Thanks in advance!
HI. I am adding a 2nd cam to the latest. ver. 0.17 octoprint, but i do not have /etc/init.d/webcamd, specifically, init.d. where would this file be located? I am not a programmer so anything would help. Thanks.
Hello from Germany.. Point Nr 12 of Dummie pdf: The pg structure have changed, the oart"if [-e "/boot/octopi-cam2.txt"]; then source "/boot/octopi-cam2.txt" cant be found ...Multi-Cam is not running per .....8081 ?!? THX Michael :
Teaching Tech I think the cameras appear in the order you plug them in (first one being video0, second one video1) or in some arbitrary but constant ordering after reboot (probably depending on the usb socket you plug them in). If they appear swapped after reboot, most probably video0 and video1 got swapped, and that should also mean the config for cam2 is now active for the webcam (with the low resolution) and the other config is for the endoscope. At least that’s the impression I got from what you did in the video. Great video by the way.
Firstly, great channel! top notch content but im having trouble with this multi cam install.. Operating OctoPi 0.18.0 with OctoPrirint 1.7.2 (most recent "stable" build at time of writing available from Raspberry Pi imager) on Raspberry pi 4b (4Gb RAM + 64Gb SD) Ender 3 V2 running Smith 3d (E3V2-BLTouch-5x5-HS-v4.2.2-v2.0.1) firmwear on my ender 3 v2 (4.2.2 Board). Ive tried this walkthrough several times and everything once i get to step 14 on the PDF (10:46 in video) i get an erro when trying to run either: sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d sudo cp /etc/default/webcamd /etc/default/webcam2d Both commands result in an files does not exits or user nano does not exist - no idea what im doing wrong im doing wrong. if i tried to directly serach for "sudo nano /etc/init.d/webcamd" or "sudo nano /etc/default/webcamd" then im shown an new blank file at which point if i exit without saving and then go to check the MJpeg Streamer snap shot i get a "site cant be reached" error page on google and cant seem to fix the isse causing me to reflash my pi and start again.... Any help would be apprciated!
Great video, question for you though. I am using a couple of andoir phones in place of a raspberry pi. As I understand it, putty does not work with android. Do you know of a way to run this set up with an android instead of the raspberry pi?
FWIW - There are 'endoscopes' that have totally flexible cords. Generally, they're sold as otoscopes for ear inspections. Other than the cord, they're identical to the vast majority of cheap endoscopes. The manufacturers are constantly changing, but you're after something like this: www.amazon.com/gp/product/B07BHLXGHC/ Make sure you get one with the shorter barrel (not like this www.amazon.com/Otoscope-Ultra-Thin-Inspection-Endoscope-Adjustable/dp/B0825Z3SDK/).
Hey there I have a question: Will you do a ender 3 Hemera upgrade guide? I really wanna get the extruder because i always wanted a direct drive one And since this is the newest stuff, and no one has done a very good guide on it It might interest a lot of people
when i check for conected cameras via cd /dev -> ls i get multible streams video 0+1, Video 4-12 when one cam is plugged in and video 2 + 3 when i plug in the other aswell. which video should i use? Video 0 and Video 2?
yup, im getting the same thing. I tried Video 2 & 3 with no luck. Also, on Step 12, my webcam2d file looks completely different. Where the 'if' command is, it doesn't show "if [ -e "/boot/octopi-cam2.txt" ]; then", instead it shows "if [[ -d ${config_dir} ]]; then". I have found that the config_dir is "config_dir="/boot/octopi.conf.d". There is a cfg_files that shows the path of /boot/octopi.txt, which i would assume i just add the -cam2 to that, but im not a linux person at all, im just looking at the logic of what i see.
well, i found out mine was on Video14. I have a USB Hub, so I worked backwards and found that the video sources could be from that. Maybe thats your case. I now get the video to be recognized under port 8081 on MJPG_Streamer, but no video output. When i run ./webcam2d, I get the following after TV-Norm. Could not obtain the requested pixelformat: MJPG , driver gave us: YUYV ... will try to handle this by checking against supported formats. ... Falling back to YUV mode (consider using -yuv option). Note that this requires much more CPU power Unable to query that the FPS change is supported : Inappropriate ioctl for device Unable to allocate buffers: Device or resource busy Init v4L2 failed !! exit fatal i: init_VideoIn failed Done bring up all configured video device Goodbye... Now at this point I'm at a loss. This is way above my paygrade.
In step 12 i can not find your lines but i do see a part that resembles your code: Your code: if [ -e "/boot/octopi-cam2.txt" ]; then source "/boot/octopi-cam2.txt" fi My code: cfg_files=() cfg_files+=/boot/octopi-cam2.txt if [[ -d ${config_dir} ]]; then cfg_files+=( `ls ${config_dir}/*.txt` ) fi Why is your code so different? In step 14 no webcamd to be found in /etc/init.d/ I do find webcamd in other places but the content is very different. I think i did try 15 versions of different youtube tutorials for multicam. ALL versions do it differnet. Most of the time some file is just not to be found or some code is very different or not found in the code. Why is my code so different when i have the same version as someone mentions. So now i don't know anymore. Everything i try on some point something goes wrong. Is there a way to automate the process like a macro?
Your videos are always fantastic. Thanks so much for posting so much useful and inspiring content for makers. I love how you seem so friendly/accessible to everyone. I don't know if you take video requests but here's an idea for one. A lot of 3D printers use the Printoid Premium app (which can display 2 video streams) to monitor their prints. And a lot of people have old Android phones/tablets laying about. I've got Printoid displaying the webcam attached to my raspberry Pi already so I've got one video stream going. How can I use an old Android phone as a second webcam that displays in Printoid? Would I have to add it as a USB camera to the Pi or could I just download an IP camera app and refer to it from within Printoid? I've tried the 2nd way and can't get it to work.
Had it running fine. Well, the two cams still do run fine, but the problem is: The installed Pushover plugin sends me a webcam shot of the overview camera (raspi cam) on my phone. I dont know what has changed, but since a month, The pushover plugin send e a webcam shot of the second camera (usb) which is the nozzle cam, and therefor is useless for displaying the printed part. I don't know if there is a "default" webcam can be set somewhere, so that The Pushover plugin sends me the right image? (i did not upgrade the pushover plugin, nor there's a setting in this plugin to choose a cam) Or; Can I switch both cams in some way in command line / config files? Anyone has a thought on this?
Hi. I have one question. If i put my first cam in the raspi in it shwos me in the cd /dev video 0 and video1. If i put my second cam in the raspi ith shwos me video 2 and video 3.Which video shoude i use?? I don't know. Please help me. Thanks
What version of octopi are you running? I downloaded 0.17.0 and the file /root/bin/webcamd is not the same for me. It has a loop for multiple configurations supposedly located in /boot/octopi.conf.d/
I could not get it to work, trying with only one camera, skipped the part where you copied the file as i assumed that it was to duplicate the settings for the second camera but the issue is that i do not have the webcamd file and the /root/bin folder, not sure whats up.
sadly using raspberry pi 4 with rasp camera and an endoscope nothing is working as shown in the video, getting errors like (cp: cannot stat '/etc/init.d/webcamd': No such file or directory) and (libv4l2: error setting pixformat: Device or resource busy) , even tried on a newly formated octopi instance, i hope there is an update to this guide as i tried it twice now and still get those errors.
most of the endoscopes on amazon come with a mirror at 45 deg attachment to view at 90 deg angles . Why didn't you use a mirror attachment and mount it in a vertical fashion ? Did you try and run into some obstacles? that is what I am planning to do with mine and just tie wrap it to the inductive probe
Thanks so much for the video. Everything worked perfectly until I go to "sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d" The webcamd file doesn't exist on my system in this folder. No idea why. The only way I can see the second web cam is if I run ./webcam2d from the command line after a reboot. Any ideas?
Hello good movie bud it i snot working here on my location, i dont now what i do wrong, i have the same action what i see in the movie, i see more than one Video, is that the problem? Many Many Many thanks.
To get around the video device swapping when the raspberry pi reboots you need to set up udev rules in linux . Its been a long time since I looked into it but this msadowski.github.io/ros-web-tutorial-pt2-cameras/ gives a bit of a run down. If using different usb cameras a simple method is to get the idVendor, idProduct from the lsusb command eg root@mail:/usr/lib/weather/pywws# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 002: ID 1267:0103 Logic3 / SpectraVideo plc G-720 Keyboard Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 003 Device 004: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter Bus 004 Device 015: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
hello everyone sorry if the translation is not very good i'm french lol i start in octoprint on raspberry a friend installed it and i am looking desperately the means of using multicam on octopi 0.17 i use 2 usb webcam i Don't know much for the programming i installed putty for the orders thanks to you if you can help me
Thanks for this Michael. The procedure is a bit different on octoprint 0.17. I made a mod of your writeup here. www.reddit.com/r/3Dprinting/comments/ef8154/octoprint_multicam_setup/
just wait until you have a 500x500 bed, you will absolutely want a ABL system. and a camera. yes it is a good way to monitor . on my CR10 S 5 the first layer can take like 4 hrs for real big prints and I can monitor this from my office while the printer is 30 meter from me. but he, each to his own, tmc 2130 are also not needed and neither is a magnetic bed ( if you have a 100x100 bed and not heated )
@@patrickmaartense7772 Now you are just being silly. And what do you know? I have 7 Printers. All working. I have a Chiron...thats a big bed. And never needed or used ABL. Magnetic beds are also not needed. Stepper drivers is totally different and drifting away. You need stepper drivers. You need a bed. All these are needed to print. The others mentioned are not. My 400x400x450 print bed doesnt change position. Unless maybe YOU have problems...hey each to their own. But its NOT NEEDED. Thanks for your "advice" I will take it with consideration. 🙄
@@patrickmaartense7772 Incorrect also...heated beds ARE necessary when printing with real filaments other than kiddy PLA. I never print with PLA. ABS and NYLON are my main filaments. Cameras!! 🤣 Oh please
STL for the ender3 endoscope please. All the rest wasnt really necessary for all of us. If we can handle 3Dprinting we can handle an URL reasearch about Octoprint, OctoDash, Plugins etc..... we all just need the STL Thanks
Michael, someone on my stream today said you referenced my video. Glad you found it useful!
you two are the go to 3d for us noobs! thanks
I have an usb endoscope laying around. I never ever thought about using it for the 3d printer. What a really cool idea!
chris has a GREAT channel, I highly recommend his channel for technical in depth knowledge on modding and tweaking your 3dp.
Chris does great videos - And It’s ok, Chris won’t accuse you of stealing food out of his mouth (lol).
Another great TH-camr for more in-depth (really in-depth) 3D printing is Alex Kenis.
@@Captn_Grumpy sick burns. I thought it was childish of that video posted.
I second that! Chris is so meticulous and simplifies code and Linux related content, so everyone can follow through. I also really enjoy the randomness and digressions from Alex :)
The nozzle view looks SICK. I currently use an old smartphone (Galaxy S4) as a print cam and while I can zoom in quite close with good video quality, having the cam move with the nozzle would be amazing
I just got octoscreem running on a 7" display. I do not have a long enough ribbon cable for my picam. But i do have a pi zero w, i set this up with another octoprint build. Now i can go to my raspi 3b with the display and login to octoprint. Then input the pi zero cam i.p. address and copy the text for the default cam for the rest of the link. Works like a charm.
Thank you so umuch for your thorough tutorials! Your videos have been incredibly helpful for upgrading my 3D Printers!
Chris is fab at what he does I just find the subject matter too technical for my small brain to understand sometimes. And from time to time his tuts are aimed at advanced users, the multicam video is an example . Michael's step by step guides which are harder to produce certainly helps simpletons like myself get stuff done . For me this video is a great Christmas pressy as I have been trying to add a second cam to my printer since day one last Christmas. One of the best Subs I have along with "Survive the Hunt". Thanks Michael. Happy New Year by the way.
Nice! I bought one of those cheap USB scopes on an Amazon flash sale but haven't really used it for much. Impulse buy FTW!! I'll have to give this a try what a good idea. Merry Christmas, Michael.
Hasn't been long since I saw mounts for these being discussed on Facebook.
Chris' channel is great and I hope your link gets him a bunch of new subscribers. His videos are well made and very informational. Kind of like Michaels!
Hey Michael, there is a pretty simple way to avoid oozing while probing, just have to set the start gcode to have the nozzle heat up after probe. Each slicer has slightly different code to do this. But i highly recommend it.
Mark Ferris problem with this is (not a massive one really) is that you need to compensate for the thermal expansion of the nozzle from heating
Etacovda63 doesn’t affect probing though. You’re not probing the bed with the nozzle, the bltouch or ezabl isn’t going to be affected by it. Only the bed needs to be heated while probing.
could you please update guide for the newest version?
You are using the LAN IP in the settings. If your router reassigns a new IP (not likely to happen if you have configured fixed IP for it) you will need to update all the settings depending on it. If all the cameras are connected to the same system as octoprint, just use the 127.0.0.1/localhost.
FYI: Raspberry Pi Static IP- If you do not configure your RasPi to have a static IP and the IP changes, your camera feeds will not work as the access URL is set to the original IP in the Webcam/Multicam menus. This can be avoided by setting the webcam URL's to "octopi.local:8080/?action=stream" rather than the exact IP. My Pi's IP changed and I had a fun time trying to figure out why I could not access the Octopi Login in my browser, or why I couldn't access the Pi through Terminal. BECAUSE THE IP CHANGED, also why I then found that my webcams weren't working. If this happens, you can login to your router to see that the Pi is connected to the network and pull the IP from there. Thanks for the vid Michael!
Wow, that is really a nice feature to have. Thanks for all your videos and merry Christmas =D
Groundbreaking content man!
A thing i ever wanted to do, but had never the time. Now i should start it again xD
You could probably use it as a 100% fool proof method of detecting the dreaded blob failure. Because the camera is fixed to the hot end you should be able to get the nozzle shape especially during a timelapse you could detect the deviation on the image from each nozzle snap in the same position and could detect the build up of junk on the nozzle tip.
I'm running Octoprint release candidate (1.4.0rc3) so that I can run the Octolapse release candidate (v0.4.0rc1.dev2) (which has the auto config), and things have changed slightly.
The webcam service is controlled by systemd instead of init.d so the service location is /etc/systemd/service instead of /etc/init.d
- I changed the init.d path for steps 14 and 15 from /etc/init.d to /etc/systemd/system
- and added a symbolic link to the multi-user target
- sudo ln -s /etc/systemd/system/webcamd2.service /etc/systemd/system/multi-user.target.wants/webcamd2.service
It seems to be working for me with those changes
Professor Mike!!! 💪🏾💪🏾💪🏾💪🏾
Hi there,
Thanks very much for the great guide. Here is my contribution for those who run into the same issue as I did.
My primary cam is RaspiCam V2 and I was adding a Logitech C920. I followed all the steps through 13 with no issues, but got a failure at step 14. Specifically with the following command:
$ sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d
The 'webcamd' file simply didn't exist in the /etc/init.d/ folder, so there was nothing to copy. I guess it is not needed for the RaspiCam.
So here is what I did:
1) Go to the /etc/init.d/ folder:
$ cd /etc/init.d/
2) Create an empty file called webcam2d:
$ sudo touch webcam2d
3) Open the file for editing:
$ sudo nano webcam2d
4) Copy and paste all the file code from here to the empty file (section /etc/init.d/webcamd):
github.com/ntoff/Guides/blob/master/mjpeg_streamer_daemon.md#etcinitdwebcamd
5) Save and close the file using the following key combinations:
Ctrl+o
Enter
Ctrl+x
6) Make the file executable:
$ sudo chmod +x webcam2d
7) Execute the second command line from step 14:
$ sudo cp /etc/default/webcamd /etc/default/webcam2d
8) Then go to step 15
Enjoy!
Awesome guide. I followed Chris's video. Didn't think of using an enderscope. Would be good to get an enderscope time-lapse. I ordered one off aliexpress
Hey Micheal, great video and good stuff at shoutout for the info sources! Hope you had a Merry Christmas and a happy New Year!
sweet! hapy holidays
Hi thanks for the video. Unfortunately when I get to step 12 I cannot find the line you're referring to to change the boot Octopi-cam2.txt. It seems like something has changed in the script. Do you have any suggestions on how to fix this?
I love how Michael says "hot-end" as oposed to hotend :D
Nice video
each of your video are so damn good ... i'm walking your steps !
Outdated as most of the files to be altered are completely different now
Yeah this video is basically useless now
Hey, I have an Ender 3 Pro and I love your videos ... could you make more videos about the SK-GO because I really like that printer and I think it's amazing... Maybe one of the best in the world
IF you have your rasp pi (3b+) powered via buck converter from your ender 3 can you also power a usb hub the same way?
when you edited /etc/init.d/webcam2d (11:23) you made mistake in LOG line where you type 'webcand2.log' instead of 'webcam2d.log'. Btw well explained and detailed video, thanks a lot!
I saw that in editing, good spot.
Hey Michael, any chance of posting the STL for the endoscope mount? The mount I’m using keeps snapping on me. Also, when securing the cable, should I run it up and over the printer, or attach it to the rest of the wiring?
I followed Chris' video and it conflicted w/ adjustments I'd made related to adjusting picture quality of my C270. Borescope was totally washed out. I have to go back and remove the software I installed.
Hello Michael! With Octopi version 0.18 things seem to have changed. Could you update this mutlicam tutorial to make it compatible with this new version? Thanks in advance!
Use like LIDAR to check layer heights, etc...
HI. I am adding a 2nd cam to the latest. ver. 0.17 octoprint, but i do not have /etc/init.d/webcamd, specifically, init.d. where would this file be located? I am not a programmer so anything would help. Thanks.
basically i am missing the webcamd file in etc/init.d. How do it get that file?
Would you publish the stl file?
Hello from Germany.. Point Nr 12 of Dummie pdf: The pg structure have changed, the oart"if [-e "/boot/octopi-cam2.txt"]; then
source "/boot/octopi-cam2.txt"
cant be found ...Multi-Cam is not running per .....8081 ?!?
THX Michael
:
i can't find /etc/init.d/webcamd file... ;(
Same!
Hi Michael, are you planning continuation of making your own filament? I only found the shredder part
Yes a filament extruder is on the list for 2020.
If the cameras come up swapped, then you also have the resolution swapped ? Is your endoscope now in full hd?
Good point I'll have to check that. The frame rate is quite good so perhaps not.
Teaching Tech I think the cameras appear in the order you plug them in (first one being video0, second one video1) or in some arbitrary but constant ordering after reboot (probably depending on the usb socket you plug them in).
If they appear swapped after reboot, most probably video0 and video1 got swapped, and that should also mean the config for cam2 is now active for the webcam (with the low resolution) and the other config is for the endoscope.
At least that’s the impression I got from what you did in the video.
Great video by the way.
could you make a arducam 16MP auto focus install guide for Klipper and Octoprint?
What Endoscope Mount did you use? Is it a Free STL? I have been looking for a 40mm Fan Endoscope mount that is adjustable.
Firstly, great channel! top notch content but im having trouble with this multi cam install..
Operating OctoPi 0.18.0 with OctoPrirint 1.7.2 (most recent "stable" build at time of writing available from Raspberry Pi imager) on Raspberry pi 4b (4Gb RAM + 64Gb SD) Ender 3 V2 running Smith 3d (E3V2-BLTouch-5x5-HS-v4.2.2-v2.0.1) firmwear on my ender 3 v2 (4.2.2 Board).
Ive tried this walkthrough several times and everything once i get to step 14 on the PDF (10:46 in video) i get an erro when trying to run either:
sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d
sudo cp /etc/default/webcamd /etc/default/webcam2d
Both commands result in an files does not exits or user nano does not exist - no idea what im doing wrong im doing wrong. if i tried to directly serach for "sudo nano /etc/init.d/webcamd" or "sudo nano /etc/default/webcamd" then im shown an new blank file at which point if i exit without saving and then go to check the MJpeg Streamer snap shot i get a "site cant be reached" error page on google and cant seem to fix the isse causing me to reflash my pi and start again....
Any help would be apprciated!
hey mate, thanks for the great video, could you please confirm if these instructions still work? Thanks heaps.
Great video, question for you though. I am using a couple of andoir phones in place of a raspberry pi. As I understand it, putty does not work with android. Do you know of a way to run this set up with an android instead of the raspberry pi?
Anybody know how Michael get his octoprint webpage to stretch like that?
th-cam.com/video/Zq1sFBgxy8o/w-d-xo.html, at about 8:00
FWIW - There are 'endoscopes' that have totally flexible cords. Generally, they're sold as otoscopes for ear inspections. Other than the cord, they're identical to the vast majority of cheap endoscopes. The manufacturers are constantly changing, but you're after something like this: www.amazon.com/gp/product/B07BHLXGHC/ Make sure you get one with the shorter barrel (not like this www.amazon.com/Otoscope-Ultra-Thin-Inspection-Endoscope-Adjustable/dp/B0825Z3SDK/).
Link to the mount?
Hi, Michael
Can you make a review of skr 1.4 or skr 1.4 turbo boards ? And wether it's worth the upgrade?
Hey there
I have a question:
Will you do a ender 3 Hemera upgrade guide?
I really wanna get the extruder because i always wanted a direct drive one
And since this is the newest stuff, and no one has done a very good guide on it
It might interest a lot of people
Awesome... be cool one curtain printer with a half decent surgical endoscope. 🎄🇦🇺🤜🏼🤛🏼🍀🍀🍀🎅🏻🎁.. 👍🏻
can your guide used for raspi cam and an USB cam?
when i check for conected cameras via cd /dev -> ls
i get multible streams video 0+1, Video 4-12 when one cam is plugged in and video 2 + 3 when i plug in the other aswell. which video should i use? Video 0 and Video 2?
yup, im getting the same thing. I tried Video 2 & 3 with no luck. Also, on Step 12, my webcam2d file looks completely different. Where the 'if' command is, it doesn't show "if [ -e "/boot/octopi-cam2.txt" ]; then", instead it shows "if [[ -d ${config_dir} ]]; then". I have found that the config_dir is "config_dir="/boot/octopi.conf.d". There is a cfg_files that shows the path of /boot/octopi.txt, which i would assume i just add the -cam2 to that, but im not a linux person at all, im just looking at the logic of what i see.
well, i found out mine was on Video14. I have a USB Hub, so I worked backwards and found that the video sources could be from that. Maybe thats your case. I now get the video to be recognized under port 8081 on MJPG_Streamer, but no video output. When i run ./webcam2d, I get the following after TV-Norm.
Could not obtain the requested pixelformat: MJPG , driver gave us: YUYV
... will try to handle this by checking against supported formats.
... Falling back to YUV mode (consider using -yuv option). Note that this requires much more CPU power
Unable to query that the FPS change is supported
: Inappropriate ioctl for device
Unable to allocate buffers: Device or resource busy
Init v4L2 failed !! exit fatal
i: init_VideoIn failed
Done bring up all configured video device
Goodbye...
Now at this point I'm at a loss. This is way above my paygrade.
How do you get the webcam view in the control tab so large?
Hey, are you able to use Octolapse for one camera and Timelapse for the other? I appreciate your videos, they are really informative.
Yes just tick the one you want for Octolapse, or for the standard timelapse, put in the ip address of the one you want.
In step 12 i can not find your lines but i do see a part that resembles your code:
Your code:
if [ -e "/boot/octopi-cam2.txt" ]; then
source "/boot/octopi-cam2.txt"
fi
My code:
cfg_files=()
cfg_files+=/boot/octopi-cam2.txt
if [[ -d ${config_dir} ]]; then
cfg_files+=( `ls ${config_dir}/*.txt` )
fi
Why is your code so different?
In step 14 no webcamd to be found in /etc/init.d/
I do find webcamd in other places but the content is very different.
I think i did try 15 versions of different youtube tutorials for multicam. ALL versions do it differnet.
Most of the time some file is just not to be found or some code is very different or not found in the code.
Why is my code so different when i have the same version as someone mentions.
So now i don't know anymore. Everything i try on some point something goes wrong.
Is there a way to automate the process like a macro?
Dude I feel your pain
I just realized that I have two of these endoscopes gathering dust...
Your videos are always fantastic. Thanks so much for posting so much useful and inspiring content for makers. I love how you seem so friendly/accessible to everyone. I don't know if you take video requests but here's an idea for one. A lot of 3D printers use the Printoid Premium app (which can display 2 video streams) to monitor their prints. And a lot of people have old Android phones/tablets laying about. I've got Printoid displaying the webcam attached to my raspberry Pi already so I've got one video stream going. How can I use an old Android phone as a second webcam that displays in Printoid? Would I have to add it as a USB camera to the Pi or could I just download an IP camera app and refer to it from within Printoid? I've tried the 2nd way and can't get it to work.
Had it running fine. Well, the two cams still do run fine, but the problem is:
The installed Pushover plugin sends me a webcam shot of the overview camera (raspi cam) on my phone.
I dont know what has changed, but since a month, The pushover plugin send e a webcam shot of the second camera (usb) which is the nozzle cam, and therefor is useless for displaying the printed part.
I don't know if there is a "default" webcam can be set somewhere, so that The Pushover plugin sends me the right image?
(i did not upgrade the pushover plugin, nor there's a setting in this plugin to choose a cam)
Or; Can I switch both cams in some way in command line / config files?
Anyone has a thought on this?
Hi. I have one question. If i put my first cam in the raspi in it shwos me in the cd /dev video 0 and video1. If i put my second cam in the raspi ith shwos me video 2 and video 3.Which video shoude i use?? I don't know. Please help me. Thanks
What version of octopi are you running? I downloaded 0.17.0 and the file /root/bin/webcamd is not the same for me.
It has a loop for multiple configurations supposedly located in /boot/octopi.conf.d/
I could not get it to work, trying with only one camera, skipped the part where you copied the file as i assumed that it was to duplicate the settings for the second camera but the issue is that i do not have the webcamd file and the /root/bin folder, not sure whats up.
sadly using raspberry pi 4 with rasp camera and an endoscope nothing is working as shown in the video, getting errors like (cp: cannot stat '/etc/init.d/webcamd': No such file or directory) and (libv4l2: error setting pixformat: Device or resource busy) , even tried on a newly formated octopi instance, i hope there is an update to this guide as i tried it twice now and still get those errors.
most of the endoscopes on amazon come with a mirror at 45 deg attachment to view at 90 deg angles . Why didn't you use a mirror attachment and mount it in a vertical fashion ? Did you try and run into some obstacles? that is what I am planning to do with mine and just tie wrap it to the inductive probe
What is the process like for mac users?
I need to figure out why i can get a tpu benchy to print on my X1 !
Can’t get past step 14… there’s no file for some reason
Thanks so much for the video. Everything worked perfectly until I go to "sudo cp /etc/init.d/webcamd /etc/init.d/webcam2d"
The webcamd file doesn't exist on my system in this folder. No idea why. The only way I can see the second web cam is if I run ./webcam2d from the command line after a reboot. Any ideas?
Chris' basement to the rescue. He post an updated multiweb cam video for Octoprint 0.17 th-cam.com/video/SdDq1wfTn0A/w-d-xo.html
Dear god... what happened to that benchy? Are those artifacts from the Octplapse and the oozing you're experiencing whilst the travel is made?
Hello good movie bud it i snot working here on my location, i dont now what i do wrong, i have the same action what i see in the movie, i see more than one Video, is that the problem?
Many Many Many thanks.
Unfortunately this does not work any longer. Specifically in the pdf guide step 12 references coding that does not exist.
To get around the video device swapping when the raspberry pi reboots you need to set up udev rules in linux . Its been a long time since I looked into it but this msadowski.github.io/ros-web-tutorial-pt2-cameras/ gives a bit of a run down.
If using different usb cameras a simple method is to get the idVendor, idProduct from the lsusb command
eg
root@mail:/usr/lib/weather/pywws# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1267:0103 Logic3 / SpectraVideo plc G-720 Keyboard
Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 003 Device 004: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter
Bus 004 Device 015: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
hello everyone sorry if the translation is not very good i'm french lol i start in octoprint on raspberry a friend installed it and i am looking desperately the means of using multicam on octopi 0.17 i use 2 usb webcam i Don't know much for the programming i installed putty for the orders thanks to you if you can help me
Enderscope!
This doesnt work for me. Im sad. Im angry
everything in that code is different now
Thanks for this Michael. The procedure is a bit different on octoprint 0.17. I made a mod of your writeup here. www.reddit.com/r/3Dprinting/comments/ef8154/octoprint_multicam_setup/
your method works perfectly thank you so much!!
Ender-scope!
It wont work with the new Octoprint. The files doesn´t look like yours and thats it.
appears this has gone out of date :X
Use a mirror !
This method seems to be out of date
Free PDF step by step guide from this video ist not Free its a joke
Maybe read the page before you complain next time. Is was and still is completely free.
@@TeachingTech so i find out have to tip by A$ 0 there is no info or descripton about to get free an tey want my email
I don't see the point at all.
Adding cameras is about as useful as automatic bed levelling.
Unnecessary...
Each to their own.
just wait until you have a 500x500 bed, you will absolutely want a ABL system.
and a camera. yes it is a good way to monitor . on my CR10 S 5 the first layer can take like 4 hrs for real big prints and I can monitor this from my office while the printer is 30 meter from me.
but he, each to his own, tmc 2130 are also not needed and neither is a magnetic bed ( if you have a 100x100 bed and not heated )
@@patrickmaartense7772 Now you are just being silly. And what do you know? I have 7 Printers. All working. I have a Chiron...thats a big bed. And never needed or used ABL. Magnetic beds are also not needed. Stepper drivers is totally different and drifting away. You need stepper drivers. You need a bed. All these are needed to print. The others mentioned are not.
My 400x400x450 print bed doesnt change position. Unless maybe YOU have problems...hey each to their own. But its NOT NEEDED.
Thanks for your "advice" I will take it with consideration. 🙄
@@patrickmaartense7772 Incorrect also...heated beds ARE necessary when printing with real filaments other than kiddy PLA. I never print with PLA. ABS and NYLON are my main filaments.
Cameras!! 🤣 Oh please
@@swiftrick15 BIG boy...... I print with xxxxxxxx
#ignore
STL for the ender3 endoscope please. All the rest wasnt really necessary for all of us. If we can handle 3Dprinting we can handle an URL reasearch about Octoprint, OctoDash, Plugins etc..... we all just need the STL Thanks