Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 08 20:59
    dotorg opened #1455
  • Dec 08 14:11
    dotorg commented #1438
  • Dec 07 14:57
    samguyer commented #1184
  • Dec 07 12:13
    polvoazul commented #1184
  • Dec 07 01:49
    LaudixGit commented #1047
  • Dec 06 19:51
    criptych commented #1047
  • Dec 06 16:15
    Dantali0n commented #1395
  • Dec 06 08:47
    Dantali0n commented #1395
  • Dec 05 19:27
    XanCraft21 closed #1436
  • Dec 05 19:27
    XanCraft21 commented #1436
  • Dec 05 15:47
    KodiWolf closed #1454
  • Dec 05 15:47
    KodiWolf commented #1454
  • Dec 05 12:19
    KodiWolf commented #1454
  • Dec 05 09:36
    zackees commented #1454
  • Dec 05 09:36
    zackees commented #1454
  • Dec 05 09:27
    KodiWolf opened #1454
  • Dec 05 05:02
    Zitt commented #1436
  • Dec 04 15:37
    1988xd commented #1395
  • Dec 04 10:53
    Sladerix closed #1437
  • Dec 01 21:11
    samguyer commented #1438
Daniel Haber
@Daniel__Haber_twitter
This is for my project with 7,128 WS2815 LEDs, but right now I just need 1 to test with my model that has 979
Marc Miller
@marmilicious
@Daniel__Haber_twitter Yeah, post this to the Reddit group under Discussion or Quasi related category, as more people will see it there.
Daniel Haber
@Daniel__Haber_twitter
I still might post something but a new power supply arrived yesterday and it's much better. It's the MENZO 12V 30A if anyone is interested
Jo
@mvplab_gitlab

Hi all, I have a simple question that I can't find the solution.

I am trying to replace the delay() for something else, but it does not work:

Instead of:

fastled.show()
delay(DELAY_MS)

I try:

if time_now > last_time + DELAY_MS
{fastled.show(); last_time = time_now}

So both codes are executing fastled.show() at the same time, but the later do not show the palettes correct.

Any idea why this is happening?

Daniel Haber
@Daniel__Haber_twitter
No idea here, sorry Jo
Marc Miller
@marmilicious
@mvplab_gitlab I suggest you ask your question on the Reddit group. Include a link to your code per the rules.
bklunder
@bklunder
When i address a pin # am I suppose to reference the GPIO# or the number the schematic gives it? For example for my ESP32 the schematic shows it to be GPIO2 to be pin 22 and GOPIO0 to be pin 23?
Marc Miller
@marmilicious
Use the GPIO number. Doesn't hurt to make a quick sketch that toggles a pin high for a second, then low for a second, repeating, to measure with a multi meter and confirm you have the correct pin number and that it's working.
Oliver Copleston
@oliverjc
Hey folks, has anyone worked with marcmerlin's matrix libraries? I'm trying to get these nice Aurora effects working on some WS2812b sticks
Marc Miller
@marmilicious
If you ask on the Reddit group www.reddit.com/r/FastLED you can also ping marc as u/marcmerlin in your post.
@oliverjc (forgot to tag you)
Caillte
@Caillte_Hanlon_twitter
I've got what I'm expecting to be a pretty stupid question. I have a 21x7 grid and I want to assign LEDs in it. I don't need to animate anything. Is there a simple way to do this other than manually add every number that needs to light up ?
I was thinking something like fill_solid( leds[0,1,2,5,31,32,35].... Would that work?
Marc Miller
@marmilicious
@Caillte_Hanlon_twitter , yes fill solid is good. You can use RGB, HSV or hex even.
fill_solid( leds, NUM_LEDS, CRGB(255,0,0) ); // color red
fill_solid( leds, NUM_LEDS, CHSV(0,255,255) ); // color red
fill_solid( leds, NUM_LEDS, CRGB(0xFF0000) ); // color red
Caillte
@Caillte_Hanlon_twitter
The question is, how do I specify the exact leds I want to light up, this is the thing I can't seem to find.
Caillte
@Caillte_Hanlon_twitter
I got it. Thx for the help.
Anatol Ulrich
@spookyvision
hi friendos. I've got an ARM Cortex M4f here, any pointers on how I would best get FastLED running on it? I'm generally not super experienced with low level stuff but if given some intro docs willing to make it work. How hard would this endeavour roughly be?
also, does FastLED support displays like these? https://aliexpress.com/item/32931309452.html
Marc Miller
@marmilicious
@spookyvision I'm not really familiar with how the different processors are setup to work with FastLED, but here's a tiny bit of a starting point for you. https://github.com/FastLED/FastLED/tree/master/platforms It's possible you might get a bit more help by asking on the FastLED reddit group but I don't think too many are very familiar with this depth of the FastLED library.
Marc Miller
@marmilicious
@spookyvision Have a look here for more insight into the process of adding support for your M4f. FastLED/FastLED#308
Anatol Ulrich
@spookyvision
@marmilicious thanks for the pointers :)
mostly pin mappings then, good
Florian Hänel
@heeen
is fastled still doing temporal dithering if you set it to uncorrected temperature and uncorrected calibration?
I notice color values like 0,1,1 flicker visibly
Sh4d
@Sh4d
I'm trying to use fastled at the same time as the arduinomenu library, and as soon as I call fastled.show() the buttons being handled by menu library pretty much go haywire / stop responding. This is on an esp32. It happens even if I call fastled.show() only once, so I don't think it's an interrupt issue. Any suggestions on how I can debug this or figure out what's going on?
Daniel Haber
@Daniel__Haber_twitter
I'm sorry I can't answer either of the previous questions, but I'd like to ask a quick question about injecting power on a long LED run. At injection points, is a power AND gnd really necessary? Why wouldn't I be able to inject power / raise voltage with just the + wire, with gnd at the end of the strip? This is a run of 800, 12V WS2815 LEDs
Fred Larsen
@fredilarsen
@Daniel__Haber_twitter Just like for the positive wire there will be a voltage drop over the ground wire along the strip, so by only injecting positive voltage you would only improve on half the total voltage drop. The voltage drop over the negative wire would even increase if you inject positive voltage into the positive wire, because the current will increase.
Daniel Haber
@Daniel__Haber_twitter
Thanks Fred! I knew it didn't seem right. So the current through the ground will increase, and when you say there is "voltage drop over the ground wire," does that mean it goes up in voltage, to like 1V, lowering the effective voltage across the strip?
Fred Larsen
@fredilarsen
Yes, that is right, the voltage on the unconnected side of the ground wire will increase, compared to the connected side.
Daniel Haber
@Daniel__Haber_twitter
interesting! Thanks again!
Moritz
@moritzuehling
In my recent installation, I notice it when I "unplug" one of the ground injection points by simply observing the LED brightness
Anyway, regarding:
Marc Miller
@marmilicious
@moritzuehling I would think so. What are you receiving serial data from?
John Backus
@backus

Hi everyone. I've got four esp32s driving separate LED strips, laid out to look like one display (each strip runs up the corner of a wall and then along the ceilings). I'm using painlessMesh to network them, which also gives me a common clock. Common clock means I can sync a common timebase on all of the devices, so if I do

fadeToBlackBy(leds, NUM_LEDS, 20);
leds[scale16(beat16(10, gTimebase), NUM_LEDS - 1)] = CRGB::Blue;

on each, I basically have pixel perfect synchronization on each strip

So, this works, but it's kinda awkward to pass gTimebase all the way down to every beat function I depend on. I'm curious what people think of the idea of a FastLED.setTimebase(...); function for this use case. Global timebase would still be 0 by default, so no breaking changes, but would be great for a use case like this
Marc Miller
@marmilicious
@backus I like the idea. Can you explain it a tiny bit more?
Tim
@m00bh000
Hi. Anyone know if support for ucs
Hi. Anyone know if support for ucs2904 is on the cards anytime soon? Thanks Tim
John Backus
@backus
Hey @marmilicious I'd be happy to. What would you like more context on, specifically?
Marc Miller
@marmilicious
@backus I'm just trying to clearly understand how you would envision it working. It's an interesting idea and leads to the question of if it could be a library thing or something better left to rolling yourself. Consider opening a new issue (I know it's not an issue but rather an interesting functionality suggestion) on github with the info you've provided so far and an example/sudo example. Could also post the idea to FastLED reddit group to see what others might think/suggest.
John Backus
@backus
@marmilicious gotcha. Ok, I'll look into doing that. Thanks for the input
philippe488
@philippe488
Hello,
Using fastled with teensy 4.0, mocing fron teensy lc. Wanted to know if it was compatible with it (i2c): I had no problem on Teensy lc, but with teensy 4.0, i2c gets plenty of transmission error when .show(). Any idea ? Regards
Marc Miller
@marmilicious
@philippe488 See if this helps. If not post your question on the Reddit FastLED group with details about your setup. https://www.reddit.com/r/FastLED/comments/d9z2os/teensy_40_and_fastled_along_with_ws2811_ws2812_ws/?utm_medium=android_app&utm_source=share
philippe488
@philippe488
Thanks. Going to reddit: in fact fast led work but, i suspect interruption is not released, so that
philippe488
@philippe488
Sorry for sending to fast... new test in progress. May this come from i2c , as i found also some error without using fastled.show.
2ndtr2n
@2ndtr2n
I wanna try to make the rgb led strip like novation launchpad, i made the 64 button like midi fighter but misinh the led
urkel27
@urkel27
Hello Everyone
Im trying to figure out how to merge fastLED patters to mirror on multiple pins