C290 With Duet lapse
-
Can someone quickly confirm that the Logitech C290 Will work with a rapsberry pi on a Duet 3 Running Duet Lapse?
-
@tratoon said in C290 With Duet lapse:
Logitech C290
The short answer is "highly likely". I've tested both USB and Pi specific cameras with DuetLapse. DuetLapse directly supports USB cameras provided fswebcam is installed.
You may also prefer to use:
https://github.com/stuartofmt/videostream
to connect to the camera (provides you with browser based viewing) and use DuetLapse to connect to the videostream output.I wrote both programs and can help get you going if you have trouble.
-
@stuartofmt Thank you for the reply, my C290 and Pi just arrived. Would it be possible to have a live feed of the camera in the DWC and have a timelapse recording during a print? If so, how would I do it?
-
Yes - this is entirely possible.
For the most part, the camera libraries in the Pi only allow one connection at a time. This is in part why I wrote videostream. It provides a http interface that can handle multiple connections to the video feed.
I use it all the time with DuetLapse and a browser. The camera display in DWC can also be connected to videostream as the connection is the same as using a browser.It's all documented fairly comprehensively, if there is something that needs clarification, let me know.
One thing I would say (if you are not overly familiar with the Pi etc.) - take it a step at a time.
For example - make sure that the camera works using fswebcam first, then get videostream working and finally DuetLapse3. -
@stuartofmt I am receiving this error message while testing to see if the USB camera will work with DuetLapse3. Does this response mean the camera is not compatible or might I be overlooking something else?
pi@duet3:~/DuetLapse3 $ fswebcam image.jpg --- Opening /dev/video0... Trying source module v4l2... Error opening device: /dev/video0 open: Permission denied Trying source module v4l1... Error opening device: /dev/video0 open: Permission denied Unable to find a source module that can read /dev/video0.
-
A couple of questions:
What OS are you using?cat /etc/os-release
The camera may not be /dev/video0.
With the camera unplugged.
- What is the output of :
v4l2-ctl --list-devices
- What is the output of:
ls /dev/video*
Plug in the camera and repeat the two commands above as well as:
dmesg
What new device showed up ?
fswebcam can be directed to explicitly a particular camera with the form:
fswebcam --device /dev/video[x] image.jpg
Depending on how your Pi is set up there can be multiple logical camera's identified.
You can also try these test programs:
https://github.com/stuartofmt/Pi-Notes/blob/master/Resolution Testing.md -
Have you had success?