Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:27
    KOMILJONOV commented #288
  • 11:27
    KOMILJONOV commented #288
  • 11:27
    KOMILJONOV commented #288
  • 06:49
    325racer edited #1473
  • 06:48
    325racer commented #1473
  • 05:31
    325racer edited #1473
  • 05:30
    325racer edited #1473
  • Feb 04 18:33
    325racer edited #1473
  • Feb 04 10:02
    jgromes commented #1452
  • Feb 04 10:01
    jgromes commented #1452
  • Feb 04 06:25
    325racer opened #1473
  • Feb 03 20:55
    zackees commented #288
  • Feb 03 19:56
    KOMILJONOV commented #288
  • Feb 03 10:52
    djs45 opened #1472
  • Feb 02 17:49
    Evgen0922 closed #1470
  • Feb 02 17:49
    Evgen0922 commented #1470
  • Feb 02 07:35
    solidDoWant commented #1471
  • Feb 02 04:44
    solidDoWant opened #1471
  • Feb 01 21:10
    dmadison commented #1469
  • Feb 01 21:08
    zackees commented #1469
Daniel Garcia
@focalintent
(there's other things that might leave a board in a state where it can't be programmed - for example, at least one board I worked on, if interrupts were disabled you weren't able to upload new code to it - so if something happened and got stuck while interrupts were disabled the board would effectively be bricked)
John Backus
@backus
That has definitely helped me before. I'm glad I left it in until I understood. Thanks
stman1
@stman1
Hi, I am new to this chat and the FastLED forum and I thought I first ask here how to properly formulate my question
which is: Can I send data in parallel / simultaneously to 13 strips (all of varying lengths/ numbers of individual LEDs) of APA102 / SK9822 using an ESP which apparently only has 3 SPI pins.
*using an ESP32, each strip receives different data
stman1
@stman1
I've seen some posts on parallel output and obviously the FAQ section on the topic, but the specific combination of ESP32 and APA102 / SK9822 not yet.
I am also flexible wrt. to microcontroller, so I'd be willing to substitute the ESP32 for something else if it is a poor choice for parallel output using multiple APA102s
denisjoshua
@denisjoshua

Hi there
I buy 6 of CJMCU-64-Bit-WS2812-5050-RGB-LED-Driver-Development-Board and I use the FastLED library.

The problem is that the every board work just until some LEDs
Is not work until led 64...

For example now I have a board that work until led 38... and after that
no led is open.

Is this defect or I wrong something please ?
I use NodeMCU 12e and also I put some codes before #include <FastLED.h> ...codes that I see on the FastLed help page:

define FASTLED_ESP8266_RAW_PIN_ORDER

define FASTLED_ESP8266_NODEMCU_PIN_ORDER

define FASTLED_ESP8266_D1_PIN_ORDER

So can anibody help me please ?
thanks a lot
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.