Duet 3 + Raspberry PI + Camera



  • Hi!
    I have a Duet 3 + PI 4 and want to include a camera feed in the web server.

    Can I install something like MotionEyeOS on the same PI and connect a Logitech 1080p USB camera? Or can this make the Duet software unstable.. ? Better to use a seperate PI or a camera like the WyzeCamV2



  • I have attached my Logitech C525 (720p) to the same Pi as connected to the Duet 3 and I use uStreamer (with --encoder=omx to enable hardware encoding). It works perfectly. Also the Pi 4 is so powerful and DSF is so resource efficient that there is no need to worry.



  • @wilriker ok, I`ll try that



  • i am using the Fisheye Raspicam together with "RPICamcontrol"-Software on the same RPi.
    works so far...



  • Before upgrading to Duet 3 I had a raspberry pi 3 running motioneyeos which is rock solid stable.
    On my new Duet 3 setup I have a Raspberry pi 4 running the Duet software on top of Raspbian Buster (not the DuetPi.img). This is so that I can run the full blown Raspbian Buster and give me 100% flexibility.
    I have customised Buster i.e removed all games and unwanted programs and utilities to make it look more professional.
    I have a touchscreen connected to RPI4 but also have the option to use Bluetooth mouse and keyboard if I want to.
    I have created a script and a taskbar Icon that automates the shutdown of both the RPI's.
    This setup is ideal for me and even though the RPI4 is likely capable of streaming video to the DWC, it is relieved of the resources.



  • @tobias_munich said in Duet 3 + Raspberry PI + Camera:

    i am using the Fisheye Raspicam together with "RPICamcontrol"-Software on the same RPi.
    works so far...

    I just found an old RPi camera so thought I'd hook it up to my system to monitor prints for fun. I followed your recommendation of the RPi-Cam-Web-Interface and have to say that it was super simpler to setup and works really well - thanks! 👍

    For others with a Duet3 + RPi SBC setup, I can confirm that this is a neat solution. If you want to replicate... during setup I selected to use apache as the server and port 8080 so it didn't clash with DWC. The URL to enter in DWC is then http://192.168.0.111:8080/html/min.php if you just want the live feed without the extra camera controls.



  • I've been doing a LOT with the Pi on a Duet3+Pi that is a CoreXY toolchanger. Duet3 6HC plus two expansions, about 10 drivers defined, etc, etc. I have found that nothing really interferes with Duet printing, including cameras, scripts that take pictures with the cameras, me developing scripts (editing, via network attachments) and more. All prints OK.

    With one notable exception: I have a backup script that does lots of things, the heart of the backup is a 'dd' (unix Disk Duplicate) command that copies every sector of the SD card to a network based piece of storage (and then compresses and many other things). Anyway, the amount of SD card IO generated by the 'dd' will freeze pretty much anything on that Pi, including a print.



  • P.S. I always start my SD card for a Duet Pi with the Duet provided image (plus and update/upgrade, of course). It seems lots of people start with other flavors of Raspbian or even other Distro, and it works. I am just being conservative regarding "reproducible" behaviors on the Duet systems.


Log in to reply