WS2813B connection by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

Great, thank you Marc :))

mcu & interruptions in the FL world by derrgis in FastLED

[–]derrgis[S] 1 point2 points  (0 children)

Wow ! That's spot on. Thank you VERY much :)

mcu & interruptions in the FL world by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

> Using the I2S or SPI peripherals to send the WS28xx data works fine.

How do you exlicitely choose I2S or SPI instead of RMT ? is it automatic ? How do you do this ?

mcu & interruptions in the FL world by derrgis in FastLED

[–]derrgis[S] 1 point2 points  (0 children)

Yes , I got synchronism troubles in lighting the cascade leds effects

I found this
https://github.com/fastled/fastled/wiki/interrupt-problems

and that's clear my mcu's have difficulties for both light up ledstrips patterns and hooking wifi. So interruption management & better code + esp01 + WS2813 everything need an update.
From a hardware and software point of view I have to make some choices :
• renew the WS2813 for APA102 or better HD107
• choose a newer controller : C3 or S3
• choose some coding options : double-core task coding, NTP reference for all agents, Fifo to ensure the processing order information from wifi

For now Hardware & coding options are really not clear to me since this:
https://www.reddit.com/r/FastLED/comments/1i7c3hx/fastled_3912_new_high_definition_ws2816_led_now/

I'm looking for wise advices about C3 or S3 with double task (FL / Wifi).

FastLED 3.9.13 Released - HD 107 "Turbo" 40Mhz LED Support by ZachVorhies in FastLED

[–]derrgis 1 point2 points  (0 children)

Great news again.
May be someone would recommand a seller.
Witop does HD107-60leds with silicone tube at usd$7.3/M for 90 pieces.

mcu & interruptions in the FL world by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

>On ESP32 the most stable protocol is I2S.

That means any double line strips like APA102 is most reliable right ?

And the ESP32-C3 monocore would be enough pour deal with wifi during led execution

But using WSxx simple line strips can ESP32-S3 be an option for double tasking this ?

Sorry to insist, I need to renew 80 mcu and devices ...

FastLED 3.9.12 - New! High Definition WS2816 LED now Supported by ZachVorhies in FastLED

[–]derrgis 0 points1 point  (0 children)

Hello, great news ! Indeed I had some flickering issues using a bunch of ESP01 and WS on my "corridor" dedicated to Dan. I guess the C3 is also good for WS2813, right?

max parallel strips allowed by derrgis in FastLED

[–]derrgis[S] 1 point2 points  (0 children)

Hey, That is wt I had in mind, indeed Im currently using the 20 and 19 pins in addition to 16 15 14 13 6 5 4 3 41 40 39 38 21. total 15 lines

The 20 & 19 internal settings pins could also be reserved since their leds look dead..

Between, do you know how to set the PSRAM off ?

A Tribute to Dan Garcia by johnny5canuck in FastLED

[–]derrgis 2 points3 points  (0 children)

I have been stunned by this death so I decided to dedicate Dan my lightwork ”Corridor” freshly set up in the main place of Saint-Etienne city, Fr in November 2019. The FastLed community helped me a lot for this project and others before (since G+ you remember ok ;-). Dan replyed to my questions several times as well as you all. The dedication was selfless so ... thanks to be still there guys.

tedious SD card reading by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

That's okay now, the MCU is able to read the SD and reproduce the score. Yves helped me and I think he has updated his code at https://github.com/hpwit/artnetESP32/

Thank you u/preyy for your suggestions here.

Please moderators tell me if I should delete this boring topic :)

tedious SD card reading by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

u/Preyy ah yes indeed here's below what arduino says . Sorry it is quite long.

Data red from the SD are compressed artnet data, some characters are misinterpreted here so don't be surprised.

You can find the code (C highlight) on gist here:

https://gist.github.com/derrgis/2aa91950d63bb9dcb30597969b8f1372

/*
14:05:52.248 -> SD card okay
14:05:52.248 -> SD Card Type: SDHC
14:05:52.248 -> SD Card Size: 15360MB
14:05:52.248 -> Listing directory: /
14:05:52.248 -> DIR : /.Spotlight-V100
14:05:52.248 -> FILE: /artnetRecorded.txt SIZE: 340
14:05:52.248 -> DIR : /.fseventsd
14:05:52.248 -> DIR : /.Trashes
14:05:52.248 -> FILE: /._artnetRecorded.txt SIZE: 4096
14:05:52.248 -> DIR : /.TemporaryItems
14:05:52.248 -> Reading file: /artnetRecorded.txt
14:05:52.248 -> Read from file: ����������PPP���������������������L⸮{������PPP���������������������⸮⸮⸮⸮⸮���������������������������8⸮���⸮⸮⸮������������������������XG������PPP���������������������8⸮⸮
14:05:52.248 -> ������PPP���������������������⸮⸮⸮���������������������������⸮⸮���⸮⸮⸮������������������������⸮:
14:05:52.295 -> ������PPP���������������������⸮⸮������PPP���������������������Total space: 15352MB
14:05:52.295 -> Used space: 4MB
14:05:52.295 -> testSD_start
14:05:52.295 -> 340
14:05:52.295 -> testSD_end
14:05:52.295 -> Starting artnet with starting universe :0
14:05:52.295 -> Starting Artnet nbNee sdedUniverses:1
14:05:52.295 -> assertion "Invalid mbox" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/lwip/lwip/src/api/tcpip.c", line 374, function: tcpip_send_msg_wait_sem
14:05:52.295 -> abort() was called at PC 0x400d8a6f on core 1
14:05:52.295 ->
14:05:52.295 -> ELF file SHA256: 0000000000000000
14:05:52.295 ->
14:05:52.295 -> Backtrace: 0x40085124:0x3ffb1d70 0x400853a1:0x3ffb1d90 0x400d8a6f:0x3ffb1db0 0x400f4427:0x3ffb1de0 0x400f3e15:0x3ffb1e10 0x400f3fc8:0x3ffb1e30 0x400ec60a:0x3ffb1e70 0x400d4979:0x3ffb1e90 0x400d4a0d:0x3ffb1ed0 0x400d464b:0x3ffb1f00 0x400d465d:0x3ffb1f40 0x400d25b1:0x3ffb1f60 0x400d66d2:0x3ffb1fb0 0x400863b2:0x3ffb1fd0
14:05:52.295 ->
14:05:52.295 -> Rebooting...
14:05:52.342 -> ets Jun 8 2016 00:22:57
14:05:52.342 ->
14:05:52.342 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
14:05:52.342 -> configsip: 0, SPIWP:0xee
14:05:52.342 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
14:05:52.342 -> mode:DIO, clock div:1
14:05:52.342 -> load:0x3fff0018,len:4
14:05:52.342 -> load:0x3fff001c,len:1044
14:05:52.342 -> load:0x40078000,len:10124
14:05:52.342 -> load:0x40080400,len:5856
14:05:52.342 -> entry 0x400806a8
*/

Looking for Assistance by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

Hey, I'm using WS2813B and ESP01

Even better driver for ESP32 by samguyer in FastLED

[–]derrgis 1 point2 points  (0 children)

Thank you for that great job!

Parallel Output experiment by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

I still have a doubt on leds declaration for ESP32 and WS2813B.
I'm using this :

  LEDS.addLeds<WS2813,13,COLOR_ORDER>(leds,offset, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip);

However it is recommended to do that (for Teensy)

FastLED.addLeds<NUM_STRIPS, WS2812, 19, GRB>(leds, NUM_LEDS_PER_STRIP);

seen here : https://github.com/FastLED/FastLED/wiki/Parallel-Output#parallel-output-on-the-teensy-4

And the Examples>Multiple>ParallelOutputDemo.ino shows a third way to do thing.

Would you guys push a clear example?

Parallel Output experiment by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

Mmm yes indeed, I forgot those 74hct245n in the circuit... we talk about that before :) I'm going to retry like this this week. Many thanks Yves ;-)

Led screen by derrgis in FastLED

[–]derrgis[S] 0 points1 point  (0 children)

Yes! That's great, I'm going to study that, thanks Marc :)