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

Flash not operational during reference image creation #3329

Open
SGXander opened this issue Oct 9, 2024 · 19 comments
Open

Flash not operational during reference image creation #3329

SGXander opened this issue Oct 9, 2024 · 19 comments
Labels
bug Something isn't working

Comments

@SGXander
Copy link

SGXander commented Oct 9, 2024

The Problem

after alignment step 1, step 2 appears to disable the flash and use the rear LED on the board. This behaviour continues until the ESP is reset, where it works for alignment again but then breaks on step 2 repeatably

Version

16.0.0-RC4

Logfile

not at stage where menu available

Expected Behavior

clicking create new reference button should produce the same image as alignment

Screenshots

image

Additional Context

the ESP must be reset to restore flash functionality during alignment but the issue is repeatable

@SGXander SGXander added the bug Something isn't working label Oct 9, 2024
@mesistostefre
Copy link

Confirmed. Looks like the flash works just once and is disabled til next reset. Found no workaround. I'll roll back ...

@caco3
Copy link
Collaborator

caco3 commented Oct 17, 2024

Might be the same issue as on #3338

@gotaede
Copy link

gotaede commented Oct 28, 2024

I can reproduce the error with firmware v15.7.0 and webinterface 16.0.0-RC4

@Kopetan4egX
Copy link

Same problem. Can't set reference image properly

@Kopetan4egX
Copy link

I'll roll back ...

Which version was you flash working fine before? I see above my previous comment that problem was already present in previous release version 15.7.0

@SybexX
Copy link
Collaborator

SybexX commented Nov 13, 2024

@SGXander
Copy link
Author

sorry for not updating, I rolled back to 15.7.0 too and it was ok there so I stuck with that. I also have an external flash too now and it's been fine. I'll look to update this weekend and see if the issue returns.

@SybexX
Copy link
Collaborator

SybexX commented Nov 13, 2024

There was no change in the LED implementation/Control between versions 15.4.0, 15.7.0 and 16.0.0-RC4.
If you had the version 15.7.0 html files on the SD and only updated the firmware.bin to version 16.0.0, could potentially experience the problem described.

@SGXander
Copy link
Author

It's the other way round for me, I started with 16.0.0-RC4 as it was the top release and then realised it was RC so rebuilt the ESP32-CAM with 15.7.0

@SybexX
Copy link
Collaborator

SybexX commented Nov 13, 2024

@SGXander Did you have Auto-Exposure Control and Auto-Exposure Control 2 ("night mode") activated in both versions?

@SGXander
Copy link
Author

can't say for certain before/on 16.0.0-RC4 but on my running version 15.7.0 it looks like this (believed default as I've not touched it)
image

@doncorso
Copy link

Hello,
this sounds similar to my problem.
Preview on step 2 after first installation looks fine, but when I click "Create New Reference / Change Camera Settings" there is no flash ad because of this, I have only a dark picture as SGXander showed above.

Any ideas and/or updates ?

Steve Bee

@SybexX
Copy link
Collaborator

SybexX commented Nov 15, 2024

@doncorso please try this firmware: https://github.com/SybexX/AI-on-the-edge-device/actions/runs/11875592284/artifacts/2197579082

It would also be helpful if you described the exact procedure (what did you do and what files did you use, previous version or new installation............) as there are several ways to install and update AI-on-the-edge-device.

@jmealo
Copy link

jmealo commented Nov 15, 2024

I have this issue on a brand new installation.
I formatted the card as fat and copied over the remote_setup from the latest GitHub release.

@SybexX
Copy link
Collaborator

SybexX commented Nov 15, 2024

Is the LED really not turning on or are you just assuming it because the picture is dark?
There is no firmware included in remote-setup, only in manual-setup and update

remote-setup:

remote

manual-setup:

manual

update:

update

@jmealo
Copy link

jmealo commented Nov 15, 2024

@SybexX: The flash turns off entirely after the preview. It never comes back on. If I power cycle it, it turns on briefly during the boot cycle, and only during the very first step. It doesn't work during the take reference image step.

@SybexX
Copy link
Collaborator

SybexX commented Nov 15, 2024

@jmealo Unfortunately, I can't tell from your statement which firmware you are using and how you flashed it onto the ESP32.

You can go through setup mode without making any changes or set "SetupMode = false" in sd-card/config/config.ini to bypass setup and check if this issue occurs generally or only in setup mode.

If you used the webinstaller and the files from remote-setup version 16.0.0-RC4, then the LED will not work in step 2 (Create New Reference).

  • The webinstaller installs firmware version 15.7.0
  • Firmware 15.7.0 + html files from 16.0.0 = The LED will not work in step 2.
  • Firmware 16.0.0 + html files from 15.7.0 = The LED should work in step 2.

Unbenannt

@Kopetan4egX
Copy link

@SybexX i downloaded AI-on-the-edge-device__manual-setup__v15.7.0.zip, extracted files from sd-card folder to SD card, configured Wi-fi settings in wlan.ini, then reinstalled firmware through the webinstaller. Works fine as i see, flash works and intensity can be controlled with slider during creating reference image. Thanks.

@Jutika-ducky
Copy link

For everybody who encounter the same problem.

Quick fix without reassemble the board:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants