Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 27 16:31
    marmilicious commented #1468
  • Jan 27 16:21
    vhaude commented #1468
  • Jan 27 16:17
    marmilicious commented #1468
  • Jan 27 16:16
    marmilicious commented #1468
  • Jan 27 15:56
    vhaude closed #1468
  • Jan 27 15:56
    vhaude commented #1468
  • Jan 27 15:56
    vhaude commented #1468
  • Jan 27 15:56
    vhaude edited #1468
  • Jan 27 14:45
    vhaude commented #1468
  • Jan 27 13:45
    vhaude opened #1468
  • Jan 26 23:40
    brickstuff commented #1173
  • Jan 26 06:20
    smurphyUSI commented #1467
  • Jan 24 04:23
    teastainGit commented #797
  • Jan 23 17:08
    zackees commented #1467
  • Jan 23 02:25
    nielsnl68 commented #1467
  • Jan 22 23:59
    zackees commented #1467
  • Jan 22 23:59
    zackees commented #1467
  • Jan 22 23:51
    sammcj commented #1279
  • Jan 22 21:33
    nielsnl68 commented #1461
  • Jan 22 21:31
    nielsnl68 edited #1461
Xenon
@WoosterInitiative
I have a strip of ws2812b's that I can easily drive from my uno, but I can't for the life of me get the nodemcu 1.0 board to run them; at first I thought maybe 3.3v wasn't enough, so I got a logic level converter... still no dice... I can power the uno from the nodemcu and run the leds from there no problem, but as soon as I try to drive the controllers from the nodemcu, nothing happens... it seems like it should be dead simple, but connecting the data pin does nothing... at all... using example code, code I've gotten from github, anywhere... I've even tried the "define"s that denisjoshua above... any help would be appreciated... I'm going crazy
Marc Miller
@marmilicious
Hello @WoosterInitiative You might try posting your question to the Reddit group were I think more people will see it. FastLED.io/r
davida72
@davida72
Hello. I'm new to this. I understand I need to use power injection to give enough power to my 10 x WS2811 strands. Can I use a 10 x 4.5V battery boxes?
Marc Miller
@marmilicious
If you're going to use batteries you should use multiple 5V power packs for that many pixels.
davida72
@davida72
I was assuming I'd need 10. I can't find a 5V power pack but these looked good: https://cpc.farnell.com/pro-power/pp002110/battery-box-3x-aa-waterproof-wired/dp/BT06561
davida72
@davida72
Still can't decide whether to go batteries or mains power though.
Marc Miller
@marmilicious
Go mains if you can, then you can run them all of December and not worry about batteries.
davida72
@davida72
It's for Halloween, which is just one day, but I'm starting to think that mains is the best way to go.
Are there any issues using long DC power extensions, e.g. https://www.amazon.co.uk/Smedz-DC-Power-Female-Extension-Black/dp/B07FNLBBXB/
Marc Miller
@marmilicious
You could get some voltage drop. If it's too much things might not work properly. Ideally run mains as close as possible before going to the DC power supply.
davida72
@davida72
I guess I could just run the mains to a point closeby.
Marc Miller
@marmilicious
These are the sort of 5V power packs people use for wearable/mobile projects that have lots of LEDs. Portable Charger Anker Powercore Elite 20000, 20000mAh Power Bank with 3-Port 6A Output, Dual Input and 4A Fast Recharging https://www.amazon.com/dp/B01LQ7MQG6/ref=cm_sw_r_cp_apa_i_m9-FDb5J0WV81
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.