Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 13:59
    samguyer commented #1415
  • Nov 27 23:17
    tfabris commented #1453
  • Nov 27 22:32
    tfabris opened #1453
  • Nov 27 22:09
    emilfihlman opened #1452
  • Nov 27 22:07
    emilfihlman commented #1430
  • Nov 27 20:37
    TriviumGames commented #1438
  • Nov 27 17:49
    TypingPenguin44 closed #1415
  • Nov 27 17:49
    TypingPenguin44 commented #1415
  • Nov 27 15:59
    diegochencoconut closed #1448
  • Nov 27 14:01
    ssilverman commented #1450
  • Nov 27 13:58
    ssilverman commented #1451
  • Nov 27 13:52
    kriegsman commented #1449
  • Nov 27 13:52

    kriegsman on master

    Change operator==() and operato… Merge pull request #1449 from s… (compare)

  • Nov 27 13:51
    kriegsman closed #821
  • Nov 27 13:51
    kriegsman closed #1449
  • Nov 27 11:19
    kriegsman commented #1451
  • Nov 27 03:17
    zackees commented #1448
  • Nov 27 03:04
    ssilverman converted_to_draft #1450
  • Nov 27 03:04
    ssilverman commented #1450
  • Nov 27 03:04
    ssilverman commented #1451
davida72
@davida72
And sorry for the newbie question, but if I use 5V power adapter I assume the only thing I connect to the Arduino is the white data wire?
Marc Miller
@marmilicious
The ground from the Arduino must also be connected to the ground of the strips/power supply negative wire, otherwise you'll get random pixels lighting up.
davida72
@davida72
Got it.
I have one of those Anker battery packs but it seems like it's 6V out, not 5V.
Specifically this one.
It has two USB outputs. I wonder if it would be enough amps to power the 500 LEDs. I guess if I attach female DC sockets I could just try it out.
davida72
@davida72
Does anyone know of a good simulator for FastLED? I don't want to carry my LEDs around with me when I'm coding. I've found a couple but one is just for Linux and the other I don't really understand. I was hoping for something where I could change the pin and it would output to a set of simulated graphics on my Mac.
Daniel Haber
@Daniel__Haber_twitter
Sup yall, quick question, not sure if it warrants a reddit post, but are there 12V power supplies anyone recommends? I got JOYLIT 12V 30A PS off Amazon and it has sucked. Could barely rise above 11V brand new and now after a month, it can't hit 10V. The voltage adjust knob does nothing so I'm returning it and looking for suggestions
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.