Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No picture visible on PRUSA Connect... WHY? #84

Open
HydroLuz opened this issue Nov 13, 2024 · 14 comments
Open

No picture visible on PRUSA Connect... WHY? #84

HydroLuz opened this issue Nov 13, 2024 · 14 comments

Comments

@HydroLuz
Copy link

HydroLuz commented Nov 13, 2024

Hello everybody,

I have carefully followed the instructions for the Freenove ESP32-WROVER and succesfully connected it to PRUSA Connect. Snapshots are constantly being send to PRUSA Connect, but I cannot see anything..
Flash
image
Screenshot 2024-11-14 094437

Does anyone know why?

I have tested the camera with the Arduino sketch provided by Freenove and it works. However, with on PRUSA Connect I only see a black image...

Any solutions? I would be very grateful :)

@johnyHV
Copy link
Collaborator

johnyHV commented Nov 19, 2024

Hello @HydroLuz . Do you still have the same problem?

@HydroLuz
Copy link
Author

Hello @HydroLuz . Do you still have the same problem?

@johnyHV unfortunately I do... I have tried out the arduino sketch aswell, however I also just see black images even though it appears to send pictures to Prusa Connect..
Now I have tested the arduino sketch provided by Freenove again and it shows me footage (see picture). I really understand what is the problem...

WhatsApp Image 2024-11-19 at 14 10 16

@HydroLuz
Copy link
Author

Hello @HydroLuz . Do you still have the same problem?

@johnyHV unfortunately I do... I have tried out the arduino sketch aswell, however I also just see black images even though it appears to send pictures to Prusa Connect.. Now I have tested the arduino sketch provided by Freenove again and it shows me footage (see picture). I really understand what is the problem...

WhatsApp Image 2024-11-19 at 14 10 16

Here you can see that the camera is registered with Prusa Connect:
WhatsApp Image 2024-11-19 at 14 29 44

@HydroLuz
Copy link
Author

Hello @HydroLuz . Do you still have the same problem?

Here you can see the Wifi connection status:
WhatsApp Image 2024-11-19 at 14 39 40
and here the System status:
WhatsApp Image 2024-11-19 at 14 41 56

@johnyHV
Copy link
Collaborator

johnyHV commented Nov 20, 2024

@HydroLuz Strange. Please, can you send me board picture ? From both side. Thanks

@HydroLuz
Copy link
Author

@HydroLuz Strange. Please, can you send me board picture ? From both side. Thanks

WhatsApp Image 2024-11-21 at 10 09 41
WhatsApp Image 2024-11-21 at 10 09 24

@nhuhoai
Copy link

nhuhoai commented Nov 29, 2024

I have the same issue: I can compile and upload into my microchip. Everything works except the camera: black image.

I uploaded the ESP32 Camera Web Server from the official example of the board and the camera is working. I had checked the pinout but it's identical and check the log in verbose mode but everything seems ok.

After some tests, I change the camera settings in the prusa esp32 cam web server:

  1. Set the brightness to high
    image
  2. Enable the second level automatic exposure control in advanced settings
    image

And voilà, I have a picture now. Hope you have the same issue and it can help you.

@HydroLuz
Copy link
Author

HydroLuz commented Dec 2, 2024

I have the same issue: I can compile and upload into my microchip. Everything works except the camera: black image.

I uploaded the ESP32 Camera Web Server from the official example of the board and the camera is working. I had checked the pinout but it's identical and check the log in verbose mode but everything seems ok.

After some tests, I change the camera settings in the prusa esp32 cam web server:

  1. Set the brightness to high
    image
  2. Enable the second level automatic exposure control in advanced settings
    image

And voilà, I have a picture now. Hope you have the same issue and it can help you.

HEYYYYY! You are right! IT WORKED! Thank you very much!
Interersting fact: After I made the changes you recommended and I finally got a picture I changed the resolution and image quality and it turned black again. I was furious as resetting did not bring the picture back. However, after I disabled the second level automatic exposure control in advanced settings the picture returned hahahahahahahhahaha.

Thanky again my friend :)

@nhuhoai
Copy link

nhuhoai commented Dec 2, 2024

You're welcome. But I have the same issue, after while, I got the black screen again, just edit some camera settings the picture returned. But, we can make it. It seems a software problem with the automatic settings.

@HydroLuz
Copy link
Author

HydroLuz commented Dec 3, 2024

You're welcome. But I have the same issue, after while, I got the black screen again, just edit some camera settings the picture returned. But, we can make it. It seems a software problem with the automatic settings.

Unfortunately, I experienced the same. After a while I got the black screen again aswell. Not sure why...

@nhuhoai
Copy link

nhuhoai commented Dec 3, 2024

I have the "black picture" after each reboot. But this time, my camera is falling and it's face to the LEDs. It captures this picture:

image

Meaning the black screen is related to the camera settings on boot.

I make some tests with the UI:

  1. Adding onload script on the picture
  2. Analyze the picture (light level), if too dark, then wait for the camera settings (from /json_input) and get the contrast value (A)
  3. Force update contrast setting with a different value (with /set_int?contrast=X)
  4. Force update contrast setting with the current value A (with /set_int?contrast=A)
  5. Reload image adding a timestamp param in the URL

It works when I load the web interface but I need to go on the web interface to fix the problem. The fix should be in the microchip code.

@HydroLuz
Copy link
Author

HydroLuz commented Dec 4, 2024

I have the "black picture" after each reboot. But this time, my camera is falling and it's face to the LEDs. It captures this picture:

image

Meaning the black screen is related to the camera settings on boot.

I make some tests with the UI:

  1. Adding onload script on the picture
  2. Analyze the picture (light level), if too dark, then wait for the camera settings (from /json_input) and get the contrast value (A)
  3. Force update contrast setting with a different value (with /set_int?contrast=X)
  4. Force update contrast setting with the current value A (with /set_int?contrast=A)
  5. Reload image adding a timestamp param in the URL

It works when I load the web interface but I need to go on the web interface to fix the problem. The fix should be in the microchip code.

Does it work constantly or does it go back to black again after a while?
Btw. do you also use the Freenove ESP32 Wrover?

@nhuhoai
Copy link

nhuhoai commented Dec 4, 2024

Does it work constantly or does it go back to black again after a while? Btw. do you also use the Freenove ESP32 Wrover?

After manual fix, it works until the next reboot (the max time use is about 4 hours).

About the microchip, I use an ESP32-S3-CAM.

@HydroLuz
Copy link
Author

HydroLuz commented Dec 9, 2024

ESP32
Super weird! After days with a black image suddenly we got a "clear" image again without me changing anything hahahahahaha... I don´t really get it xD
However, it went black when I started the next print :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants