May 21, 2024, 07:07:49 PM

Recent posts

#1
STMP1 / Olimex STMP1 LIME - Error star...
Last post by Gaƫl - Today at 03:04:58 PM
Hi Olimex!

I have random boot error at starting up with SMTP1 LIME.

On micro power cuts, some boards don't restart.
On 20 STMP157-OLinuXino-LIME2H-EXT (Rev_B) boards in production approximately 5 boards remain frozen after thunderstorm (its are distributed in several places so its do not suffer exactly the same power cuts).

I never have this problem when I reboot a board with a "shutdown -r now" (or "shutdown -r 00:00").

I did some tests and after some power cuts, the board stay frozen on :

U-Boot SPL 2021.04+olimex-1-20240312.134658 (Mar 12 2024 - 13:48:01 +0000)
Model: STM32MP1 OLinuXino-LIME
Init AXP209 PMIC
VDD Core set to: 1350 mv

When the board is frozen, the reset button don't help, the error returns.
A quick power cut doesn't help either.
For the error to disappear, the board need to be unplugged several seconds.
Quick power cuts seems to cause the problem every time.

NB1 : I tried with 1 A and 2 A power supply.

NB2 : I can't use LiPo battery to protect boards against micro power cuts because LiPo are not safe enough in the hot environments where boards are used (wood boiler).
#2
A20 / Hello everyone
Last post by Shunt2000 - May 20, 2024, 05:20:14 AM
Hello everyone.

I'm trying to change the I2C port used in HDMI, but I can't find a proper way to do it. I know there are some patches for Raspberry PI using Raspbian, so it is possible. Where is the I2C port used in HDMI described? Checked device tree, but no luck.
Any help or hint will be highly appreciated.
Thanks in advance.

Regards
#3
ESP32 / Re: ESP-POE having problems wi...
Last post by djpeterlewis - May 18, 2024, 08:52:38 AM
Quote from: LubOlimex on May 17, 2024, 01:32:53 PMI think it is some influence between grounds or ground loops. It seems to me it is power related.

How do you power the ESP32-POE? Is it powered from the same source as the LED strip? If not - did you measure if there is voltage difference between the two grounds? Can you give me a diagram or sketch or schematic on how the hardware connection and power supplies and grounds are connected?

Yes I power it from the same power supply with a 5v BUC converter and a 1000uf capacitor near the ESP-POE
#4
ESP32 / Re: ESP-POE having problems wi...
Last post by LubOlimex - May 17, 2024, 04:12:36 PM
If the hardware is perfect then it is probably some issue with the software maybe timings or delays or network throughput, hard to say without details, maybe if some customer has experience with this can help further, but we haven't used neither of those software tools.

My advice is to also post in the communities around ArtNet and WLED, they seem pretty active. I believe they would know more. ESP32-POE is basically ESP32-WROVER + LAN8710A (specifics are that it uses power pin GPIO12 and gets clock from GPIO17) any general info about ESP32 and Ethernet in those communities should apply.

Also maybe try different ArtNet implementations like: https://github.com/hpwit/artnetesp32v2 or https://github.com/hideakitai/ArtNet
#5
ESP32 / Re: ESP-POE having problems wi...
Last post by djpeterlewis - May 17, 2024, 02:40:02 PM
Quote from: LubOlimex on May 17, 2024, 01:08:09 PMAlso this seems like quite often encountered problem for WLED users. Did you check for other users of WLED that reported similar problem like:

https://www.reddit.com/r/WLED/comments/1985svh/wled_esp32_colors_flashing/

https://www.reddit.com/r/WLED/comments/r5jiux/wled_esp32_ws2811_flicker/

https://wled.discourse.group/t/led-strips-flickering-esp32/7756

https://www.reddit.com/r/WLED/comments/16qnuqq/why_there_is_flickering/

https://www.reddit.com/r/WLED/comments/sr6f0h/led_strip_flashing_at_random/

https://www.reddit.com/r/WLED/comments/10ib6hf/random_flickering_issues_with_ws2811/

https://www.reddit.com/r/WLED/comments/139vddw/flickering_and_pulsing_issues_with_ws2812_leds/

https://wled.discourse.group/t/random-flickering/1569

https://wled.discourse.group/t/help-diagnosing-flickering/4046

All of these are either related to a ground or ground loop or a Level shifter not been in circuit.

They are also connecting the board to the LED and using the internal patterns of WLED.
No one of them is doing it through ARTNET Ethernet.

My board connected to my Pixels are working perfectly using internal patterns as they are and no flicker or flash. It only has a problem with Artnet through Ethernet. I have narrowed it down to that.

This is why I wanted to compare the same data path to something similar so the the same code is used by another board to determine if it was the Code or the board. I think my logic on this is good.

Again, there is NO problem from the board to the Pixels when working on the internal patterns or ARTNET through the Wifi Connection. I have run this for 8 hours with not one flicker/flash

If it was the FASTLED lib used by WLED , then it would appear in both internal or Wifi ARTNET modes. The fact it only occurs when using |Ethernet and ARTNET or E1.31 (Also tried that).


#6
ESP32 / Re: ESP-POE having problems wi...
Last post by djpeterlewis - May 17, 2024, 02:30:29 PM
Quote from: LubOlimex on May 17, 2024, 01:37:57 PM
QuoteThis is the similar board that we used the same code ver 14.3 to test with. Granted it does not have POE.
https://quinled.info/quinled-dig-octa-brainboard-32-8l/

This board has 5V on the data lines and incorporates many level shifters. It is specifically designed to operate 5V LED strips.

This is not the case with ESP32-POE. I guess your LEDs are 5V while ESP32-POE is 3.3V. You said you used level shifter, but did you use it on the GPIO line?

Yes I put the level shifter between the GPIO and the LED
#7
ESP32 / Re: Serial Monitor with ESP32-...
Last post by LubOlimex - May 17, 2024, 02:23:37 PM
It is completely fine to use the generic one.
#8
ESP32 / Re: Serial Monitor with ESP32-...
Last post by dwd - May 17, 2024, 02:06:09 PM
It is working now. Swapping to "ESP32S2 dev module" is what was needed. Very strange. Are there likely to be any other problems with using this generic board rather than the specific board?
#9
ESP32 / Re: ESP-POE having problems wi...
Last post by LubOlimex - May 17, 2024, 01:37:57 PM
QuoteThis is the similar board that we used the same code ver 14.3 to test with. Granted it does not have POE.
https://quinled.info/quinled-dig-octa-brainboard-32-8l/

This board has 5V on the data lines and incorporates many level shifters. It is specifically designed to operate 5V LED strips.

This is not the case with ESP32-POE. I guess your LEDs are 5V while ESP32-POE is 3.3V. You said you used level shifter, but did you use it on the GPIO line?
#10
ESP32 / Re: ESP-POE having problems wi...
Last post by LubOlimex - May 17, 2024, 01:32:53 PM
I think it is some influence between grounds or ground loops. It seems to me it is power related.

How do you power the ESP32-POE? Is it powered from the same source as the LED strip? If not - did you measure if there is voltage difference between the two grounds? Can you give me a diagram or sketch or schematic on how the hardware connection and power supplies and grounds are connected?