@Yves_BAZIN i got 16 outputs running now (video shows only 15, but nr. 16 worked as well)
I’m trying to figure out how to enable up to 20 outputs on the ESP 32.
I can understand a little of the code i’m using to enable 16 outputs in the config.h file using the octows2811_PortA.
how do you add an extra 4 outputs using another octows2811 port…
@Jeroen_van_Dorsten can you show me your code ? especially the part where you are declaring the strips.
which library are you using ?
can you tell me how long does your fastled.show() takes ?
@Yves_BAZIN https://github.com/marcmerlin/Table_Mark_Estes/blob/master/config.h
this is the config.h file i use
FastLED.show();
delay(1000);
FastLED.addLeds<WS2811_PORTA,3> this line is never compiled
the directive #ifdef M32B8X3 is always returning false unless it’s declared somewhere else
if you want to unable 20 outputs you need to add more
FastLED.addLeds<WS2812B, 2, GRB>(matrixleds, 0*NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
bu you need ‘free pins’ the pins you can use are 0,2,3,4,5,12,13,14,15,16,17,18,19,21,22,23,25,26,27,32,33 you can use pin 1 but you will not be able to get serial output
@Jeroen_van_Dorsten
I meant can you do this
long t0=millis();
FaseLED.show();
Serial.println(millis()-t0);
and let me know what is the result in the serial output
@Yves_BAZIN Thanks for the support again. I will check it when finished soldering the board.
So much wires
@Jeroen_van_Dorsten welcome. I will be interested to know that the time for an fastled.show(). Cause with this library you’re 100% parallel output on all the strips at once. If you need more FPS we could try my fork
@Yves_BAZIN I added four more lines, 2 of them did not work at all, 2 others had signal but not ok, a lot of flashes and randomness.
Also i checked the framerate of the sequences, but since there are 40 or more sequences running they all have different frame rates
from 60 fps to 10 fps, i did noticed it was much slower now.
without the four extra lines i get 100 fps or more on some sequences.
i’m off for the weekend … No LEDS and No soldering till monday
Have a nice one!
@Jeroen_van_Dorsten to which pins did you link them ?
When you come back we could try my fork of the Fastled that should be able to handle your build. enjoy you week end
@Yves_BAZIN Hello again
The last four outputs are on pin 3 , 12, 17 & 32.
@Jeroen_van_Dorsten first the duration of the fast led show should not depends on the sequence but just on the number of leds on each strip.
you have 300 leds per strips right ?
normally these pins should not make any issue .
with board are you using ? a devkit ?
@Yves_BAZIN Yes 300 leds per strip, i am using this board
i will setup everything at home tomorrow to test again. only the last outputs , not al 20 lines
@Jeroen_van_Dorsten oki let me know
@Yves_BAZIN hello again. Found out my rooms powersocket isn’t grounded. This is most likely the cause of al my ground issues.
So when connecting a strip with CAT cable and connect ground it"s partytime…
@Jeroen_van_Dorsten cool !!!
How many strips now ?
What is the FPS?
But can you measure it just around the Fastled show it should not vary with the type of animations
@Yves_BAZIN where can i read out the FPS ? Last time I implemented the code in the config file but nothing happend. And in the serial monitor i only could see information about the animation wich was
running
@Jeroen_van_Dorsten
Do this
long to=millis();
FastLED.show();
Serial.printf(“FPS:%f\n”,(long)1/(millis()-to));
Instead of the regular Fastledshow
You only need to do it for one not all of them the fastled.show() will not vary depending of the animation
@Yves_BAZIN I’ve been trying to get it work last days, but i get a lot of random flashes because of the ground problem. Thats what i meant with partytime
Connecting the strips using CAT6 cable , with all signals going through a 74HTC245 IC causes a lot of trouble.
I tried a 300 ohm resistor on each output after the 74HTC245, before going through the RJ 45.
tried a 300 ohm resistor add the beginning of the strip
connected grounds from CAT6 cable to strip, but i just get flashes…
All Grounds are connected to the same line, there is no ground loop as far as i can measure.
All Power comes from the same 230v line
When i connect the strips using a breadboard with just pins and loose wires and a 300 Ohm resistor at the beginning of the strip i get a steady signal and everything works just fine.
Also I added a 1000 μF 16V capacitor at each powerline.
This is also the actual setup in the club as it is now.
So i am a bit confused and getting frustrated because i need to tidy up the setup in the club and put it in a nice case, connected with CAT 6 cable etc…
But if it ain’t broken, don’t try to fix it…
I managed to put in the piece of code
The FPS shown in serial monitor is 30 when i added 4 extra outputs
With just 16 outputs the FPS show 20 .
this is how i added the extra 4 lines
FastLED.addLeds<WS2812B, 3, GRB>(matrixleds,16NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<WS2812B,12, GRB>(matrixleds,17NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<WS2812B,17, GRB>(matrixleds,18NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
FastLED.addLeds<WS2812B,32, GRB>(matrixleds,19NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
I’ll continue my quest and try to make it work without flashes
@Yves_BAZIN I got the four extra outputs working
saw the error i made…