Closed spanzetta closed 3 months ago
any comments from developers?
Without sufficient details they won't be able to help you^^ you write ESP32, which board????? ESP32-Cam, ESP32-Wrower.........????? Did you really remove everything from the external LED or just pin 12 and tried to activate pin 12?????? a few pictures would also be helpful (e.g. of the configuration you want to make, regarding pin 12 / WS2812B..........)
Ops.. sorry.. Yes.. of course ESP32-CAM..
The scheme and component used is exactly the one illustrated at https://jomjol.github.io/AI-on-the-edge-device-docs/External-LED/
The problem appears to be at sw level.. whatever I physically connect the Led stripe or not the reboot problem happens anyway as soon as I enable the option in configuration
And when I physically connect the Led stripe - and enable the option in configuration- I see that it works properly (just the first run.. then it reboots)
I personally don't have a WS2812B LED strip, so I can't really test it.
However, if I activate pin 12, my onboard LED is no longer activated and the ESP continues to do its work without rebooting.
Therefore I can only assume that your power supply is not enough to properly supply the ESP and the WS2812B LED strip.
I made the following settings:
Thanks for your reply..
In my configuration I had 10 bits (instead of 20) at PWM duty cicle resolution.. I will try that setting to see if something changes..
Thanks again
I also realized that when enabled GPIO switch to enable GPIO12 .. also GPIO0 was flagged as enabled.. but I see that that one should not be enabled.. Isn't it?
UPDATE: solved! Maybe it was the wrong GPIO0 enabled.. maybe the 20 bit instead of 10.. now it works without rebooting! Thanks for the suggestion!
The Problem
I am using AI on the edge from few months without big issues (apart of some problems with digit recognition during transition.. but this is another story)
Today I updated my ESP32 (and 3D Case designed by me) by adding an external WS2812B Led stripe (on the side of the 3D Support to avoid reflection on the Water meter) following instructions at https://jomjol.github.io/AI-on-the-edge-device-docs/External-LED/..
Well.. as soon as I enable the GPIO12 in the Configuration.. the system reboots after the 1st image taken...
It happens also if I don't connect the GPIO12 cable (so external LED will not be powered)...
As soon as I disable the GPIO12 in the configuration (I have to be fast to do it because I have few seconds after boot to be able to modify the configuration), the system comes back to work normally..
See log below.. the relevant info is the following one: [CAM] is not working anymore (CaptureToBasisImage) - most probably caused by a hardware problem (instablility, ...). System will reboot.
I wonder if it's only me using the external LED..
The fact that it reboots even without the LED connected.. makes me confident that it's not a power problem or a resistor/capacitor/connection/LED problem.. (anyway.. with the GPIO12 connected I see that LED is powered properly.. )
Can you pls let me know how can I provide some more info in order to let you understand where the problem can be?
For now.. I will continue to use it without the External LED connected..
Thanks
Version
v15.7.0 (Commit: 0d0b018+)
Logfile
Expected Behavior
Be able to use the external LED as described at https://jomjol.github.io/AI-on-the-edge-device-docs/External-LED/
Screenshots
No response
Additional Context
No response