Camera works for one frame

Another new issue. Last night astroprint worked fine and an image was taken every layer as well as when I clicked the camera icon. Now when I click the camera icon, I only get the first image taken since the raspberry pi b+ was booted. Logitech camera.

See the following example…my part was being printed, the percentage complete shown in the image was correct, but the image I was seeing was the first image taken by the camera when the camera icon was clicked before printing had started.

I’d post a picture of the issue, but it says new users can’t upload photos…poop.

Thoughts?
Jim

Sorry about the photo posting thing :frowning: It’s part of the forum software we’re using.

This issue has been reported before and we have fix that will go out in the next release of the RPi image.

Dumb question, how do I know when a new image is released? Can it be updated directly from the astrobox setup screen or are there instructions available? Any general ETA on when updates are released? Really want to be able to use the camera again :slight_smile: Funny how it worked perfectly the first print and then has this bug no matter if I power down the box and restart it. Ah the joys of coding, eh?

You can check on settings -> software.

I expect a release in the next 2 weeks

I see there is a new release already. But i still have problems with the frames of the previous job sticking. I can see the frame numbering and progress from the current print correctly embedded in the image. But it’s always the same image from an earlier print.

I noticed (but cannot yet confirm) that it seems to happen when printing x3g uploads. I’m a new user and first tried a few cloudsliced prints. The camera worked then. After uploading an x3g and printing that, the image seems stuck.

BTW Rpi B+ with Duplicator 4s

What voltage/amperage rating is the power supply you have hooked to your raspberry pi rated for?

Do you have a powered USB hub powering the webcam and printer cable?

My image lockups were due to insufficient current being supplied to the pi. I recommend 2amp power supply to be absolutely sure and a powered USB hub.

Good point.

I use an 2A power supply. We use a lot of pi’s and this this model is very stable. I don’t use a powered usb hub because the B+ delivers enough power on the USB. But i forget to set ‘max_usb_current=1’ to enable 1.2A output on the usb ports in the config.txt.

As soon as the running print is finished i will try this.

Tried with ‘max_usb_current=1’ in config.txt. Seemed good for a while, i was happy till halfway in the second print the camera was stuck again and kept taking the same single image each layer . When i started a new print also the same single image.

Just to be sure i rewrote the image on the sd card. So a completely fresh install, i used a new powersupply (2A). Same problem.

I am having the exact same issue. Did you every solve this?

It’s most likely the driver for the specific camera or some problems with the USB connection. What camera is it and have you tried others?

samé problem, i have CAM from Microsoft

I think I solved this issue for myself by adding a powered USB hub.
Although now i have another issue with prints stopping mid print which I am not sure if its related to the use of the powered hub.
I think it may be due to the usb connection timing out. I tried to follow the suggestions from another post but I couldn’t manage to open the config.yaml file to edit the communication timeout settings.
Another thing to mention I guess is that i am also running an LED light off the raspberry pi’s usb port.
Prints finish every time through the printers SD card. It also seems to finish when slicing via astroprint.com.
It only seems to fail on bigger prints that I have sliced externally and uplodaded as gcode.