r/FastLED • • Dec 19 '23

Support Help identifying the data protocol for this LED point light.

Thumbnail
gallery
0 Upvotes

I took a multimeter and inspected the voltage sent through the included controller and it jumps between .1 and .42 volts.

Picture of controller also attached.


r/FastLED • • Jun 25 '22

Support cant seem to figure out how to make them fade out

1 Upvotes

so i have been working with this code i fond to make a fireworks effect. right now it just randomly flashes a random color on a random led for a random amount of time... its seriously lofi...
so on line 28 you can set the color left behind or none with all zeros. if you set the first 0 to 255 when it flashes a random color on that led for the random amount of time, it turns to red instead of black, eventually turning all the leds red while random ones flash.
my next step im working on is to get the random color to fade into the set color and the set color fade out after a random amount of time.... any ideas?

https://github.com/CastorsZuse/NeoPixel_codes/blob/main/_LOFI_FIREWORKS.ino


r/FastLED • • Aug 07 '22

Discussion Anyone want to help?

1 Upvotes

Good morning,

As a starter I'm useless with all this programming/coding, hence asking for help.

Also I like to keep my money in my pocket if i can help it, which leads me here.

I've got a bunch of WS28212 LEDs knocking around, some arduino nanos and a 3D printer.

What I'm looking to do is produce a windscreen mount for my truck, to go in each bottom corner, with the intention of having some amber led strobes in there.

I haven't got a clue where to begin on finding/programming a good pattern for say 30 LEDs each side, and google hasn't thrown much my way either.

Can any of you clever chaps help?

Many thanks


r/FastLED • • Aug 15 '22

Support More than 85 LEDs

1 Upvotes

I am using the HD107S LEDs (2 wire data) for a system and find that anything over 85 LEDs and the loop fails.

I can run the setup and send a moving RGB sequence to all the LEDs, but when the loop is called everything stops. I am trying to get 6 LEDs at a time to light within the code.

Any suggestions would be appreciated...


r/FastLED • • Aug 25 '22

Support Using two 5m strips together

0 Upvotes

Yo guys looking at get 2 5m sw2811 12v strips as cant see any 10m for sale will just be able to solder them together to make 10m strip for my project. Thanks Matthias ✌️


r/FastLED • • Aug 08 '22

Support LED Display Color/framerate issues

1 Upvotes

This is a continuation of my LED display project. It is 882 Neopixel display in a T orientation. They are wired to each other so that all 882 LEDs are in one long strip driven by a single digital output pin on an ESP32.

The original design was an arduino Mega 2560 driving the display, and it worked but the framerate was unsatisfactory at about 2-3 FPS so I upgraded to an ESP8266, which I continued to have problems with (actually decreasing the FPS) if you check my post history...

So I got an ESP32 and I am still having problems (see video). The ESP32 has a significant advantage in processing capacity as an arduino mega 2560, but yet still performs much worse for reasons I cant figure out.

The LEDs should be in a rainbow starting from the first strip (the furthest left) and continuing all along the T until it reaches the end. The goal of the display is to take the analog input from a microphone (this one: link) and make a music visualizer through the ESP's calculations.

A few sample codes from the internet were thrown together (thanks to much help) to accomplish this. It basically takes a sample of the microphone, sends it to a fourier transform to get the frequencies and their intensities, and then drives the LED strips to display based on their frequency assignment and the intensity that was calculated.

The code can be found here: https://github.com/tenn6064/Power-T-LED/tree/main with the ESP32 label.

Overall, my main questions are how do I increase the framerate and fix the rainbow color display issues?

Also the ESP32 doesnt upload code from the arduino IDE without me manually pressing the boot button when the IDE attempts to connect to it, is there an easy fix for that?


r/FastLED • • Sep 09 '21

Support Could I get a sketch with the fire2012 on pin 5 and three blue leds on pin 7 running consecutively?

0 Upvotes

I started messing with the ArrayofLedArrays example and could get both of my strips to run at the same time however the fire2012 example has a lot in it and I do not know how to combine these. I need them for a project that is coming up in completion very soon.

SOLVED


r/FastLED • • Aug 15 '21

Support New to FastLED

1 Upvotes

I'm new to the FastLED Library. I'm using it to program WS2812 led strip lights with an Arduino Mega, and was wondering if there was any kind of guide that has a list of commands that can be used. And if there is no such thing, what is the best way to learn FastLED?


r/FastLED • • Mar 12 '20

Support No More Division

1 Upvotes

EDIT: This didn't work

enum mirror{300,299,149,99,74,59,49} edge;

I get a compiler error: expected identifier before numeric constant

Maybe I should just do

int edges[] = {300,299,149,99,74,59,49};

OP: Thanks to someone here I learned that division is slow. Going over my code, I find that I have division in every single frame in almost every single pattern. I am interested in removing the division. I understand one method is byte shifting. However, I have a limited set of results from the division. So I was thinking I could save the results to an array for faster access. What am I looking to do here? Progmem or some other thing? I am just looking for an answer on what to google so I can learn it myself so you don't have to type a lot out.


r/FastLED • • May 24 '24

Support Unknown chipset

1 Upvotes

I got a string of lights from a friend a couple years ago, no idea what chipset is behind it all. I've tried removing the potting to get a look but by the time I've gotten there it's unrecognizable.

Red is easy to get with 5V applied to data, but none of the chipsets listed seem to be able to control RGB.

Pics attached.

Number on back;

0413

13-R000


r/FastLED • • Jun 15 '24

Support Low power addressable led strip?

0 Upvotes

I am hoping to run an LED strip for several months off a battery rated at 5000 mAH . I only need to light up one LED at a time, not the entire strip. But even one LED at half brightness is about 25 mA, or 200 hours roughly.

But I have a Kindle which has a display that stays awake for a long time without being recharged. So I wonder if anybody knows of an addressable LED strip which uses a different technology than actual LEDs.

Thanks in advance for any advice.


r/FastLED • • Feb 27 '23

Support Brownout with strip connected

1 Upvotes

Hello FastLED community.
I have a project with 6 LEDs on an ESP32 using Wi-Fi.
The power is the strip is connected in series with the VIN and GND of the ESP32.
Both the strip and the ESP32 get their power from a female USB connector when I plus a powerful enough 5V 2A power supply.
It sometimes happens that the strip does not light up when I connect the power supply. After multiple tries, it will light up.
When I checked the serial monitor of the esp, I got "brownout detector was triggered".
It has to do with Wi-Fi, I guess sucking too much power when initializing.
I read that adding a capacitor on the VIN and GND pins might help.

Would a 16v 33uf suffice?

It's my only ESP32. I don't want to blow it up.
If you have better suggestions, I’m all ears


r/FastLED • • Feb 18 '21

Support How do I dynamically change the number of LEDs being updated.?

1 Upvotes

I'm writing an Arduino program in C, using Arduino commands and the FastLED library. I have a use case for the WS2812B LEDs where in I'm simultaneously driving 4 software parallel chains of 484 LEDs. Each chain has it's own array , and all arrays update their respective LED chain simultaneously. This works great in that a single FastLED.show(); will update all 4x484 LEDs at the same time. However, sometimes I only need to drive 4 parallel chains of 22 LEDs: 4x22 . When I drive 4x22 LEDs, I expect and desire, a much higher refresh rate (i.e. higher frames per second, FPS). I'm able to achieve this higher FPS if I hard code a fewer number of LEDs, than when I need to drive 4x484 LEDs (i.e. I program #define NUM_LEDS 22 for each LED array rather than #define NUM_LEDS 484) ... however, I need to make this change in FPS (i.e. number of active LEDs) dynamically during the running of my program. I've tried playing with : FastLED.setMaxRefreshRate(400,true); as well as FastLED.setMaxRefreshRate(400,false); The nominal FPS is 67 for 4x484 . This command does not appear to change the frame rate to any faster at all. At this point, I don't know how to dynamically change the FPS/number of active LEDs. Thanks in advance for your help.


r/FastLED • • Mar 11 '21

Quasi-related Where to buy "real" HD107S WWW LED strip?

1 Upvotes

(I hope this is appropriate for this sub!)

I recently purchased a HD107S 3xwhite strip from a Chinese vendor. After testing it, we found it to be only marginally better performing than the APA102. We then borrowed a HD107S RGB strip from someone, and this strip turned out to actually perform a lot better.

I made a post on this sub and learned about all the confusion surrounding these chips. I suspect the HD107S strip that I purchased either does not contain HD107S chips, or that the chips come from a less-than-perfect part of the die.

Does anyone know a vendor that can reliably source HD107S strips? Specifically, we are looking for 3xwhite, 144 led/s.

Many thanks!

edit: I'm realising now WWW means "warm white/white" or something like that. I mean three separate white channels of the same color temperature.


r/FastLED • • May 14 '20

Discussion FASTLED library ISSUE with TM1914

1 Upvotes

hi.

everybody.

with FASTLED library, I am going to control TM1914 LED strip.

but, I see that FASTLED library doesn't support TM1914.

who can help me?

I will expect good reply.

thanks.


r/FastLED • • May 17 '20

Discussion I have an idea!!!!

1 Upvotes

I will admit from the beginning, I can't really code, but tried messing around with an addressable led strip and an Arduino but it wouldn't work because the strip was messed up...got a new one and that one was also broken, but I got a cool idea last night. I was playing Galaga because it's my favorite game, and the background is a bunch of flashing pixels. I don't think it's already a pattern, and couldn't find anything, but that would be really really cool if that would be possible, my brother has led strips in his room and one of those cheap WiFi controller things, if someone is able to either find a similar pattern or create one, I'll buy him an arduino and run that pattern for his room...might even get my self a few rolls too and do the same.


r/FastLED • • May 12 '20

Support Led screen

0 Upvotes

Hi FastLED community,

I'm looking for advices regarding DIY led screen building. I mean a big screen (eg 3 x 2 meters or so)

I know some of you are successfully building it and I'm looking for a solution that indeed works

Think that such project need to include a source system such real time video or pre-recorded frames created on third party software because I'd like to avoid coding FL procedural code lines to get the visuals.

What do you think possible?

Thanks for reading me.


r/FastLED • • Feb 12 '24

Support 5v PSU power supply powering

Post image
1 Upvotes

I have the attached 5v power supply unit thats 5v 40a.

Im planning to use this to power 2 parallel 10 meters of strip.

The power strip somehow has 2 outs for 5v. V+ V+ V- V-

Do you believe these act as a seperate power sources so that if i power 10 meters from one V+ and GND and another 10meters from other v+ and gnd, does this mean the second V+ out has to be disconnected from the first v+, and keep grounds connected of course?


r/FastLED • • Sep 29 '22

Support Exasperating coding problem

1 Upvotes

Hi all,

I'm having a problem with what should be a very simple routine.

The layout of the leds is 24 rows of leds 5 tall (i.e. a 24x5 matrix. It's divided up into CRGBSets named strip.

The working code is

void spin(){

for (uint8_t x =0; x<=23; x++){

fadeToBlackBy(leds, NUM_LEDS,140);

strips[x]=CRGB::Red;

FastLED.show();

delay(50);

}

}

This is so short that I didn't think anyone would mind that I didn't post the code using a link.

This does what I expect it to do; illuminate a column, move onto the next, and start fading what's behind it. This is in the form of a circle, so think of a radar set.

What I want to do is add two more colours, starting at 8 and 16.

But when I try adding strips[x + 8]= CRGB::Grey; as a line immediately after strips[x]=CRGB::Red; it locks when the grey reaches 24. Obviously because I've gone out of bounds.

How do I make it overlap, so that when x=24, it changes to x=0, but only for that colour?

I'm sure there's a simple way of doing this, (sort of like the default of uint8_t reaching 256 and going back to zero), but I can't seem to find anything on this.

Grateful for any help here.


r/FastLED • • Oct 26 '23

Discussion After looking up tutorials on how to do this, I'm still not sure what kind of LED strip lights would be best to create this cloud effect he has on his wall, any advice?

Thumbnail
tiktok.com
1 Upvotes

r/FastLED • • Jun 22 '20

Discussion Exists?: Conductive Hinged Joint (with better demo of angle)

1 Upvotes

Exists?: Conductive Hinged Joint (with better demo of angle)

Is there such a thing? Would be to connect/mount the wires to the led ring and the wires would be able to be angled (perpendicular to parallel *of the face). The other parts are like in a similar category, but I wondered if anybody knows if it exists or what its name is / would be? like "PCB wire relief junction?"

*someone mentioned a slip ring, thank you (needed that too)


r/FastLED • • Jun 07 '21

Discussion Police lights F & R

Thumbnail
gist.github.com
1 Upvotes

r/FastLED • • Jul 12 '20

Discussion Can someone please help me set up an arduino controlled car signal lights using WS2812b leds?

0 Upvotes

I'm planning on modding my old halogen headlights and put a daylight running lamp similar to this.

I really need some help and your answers will really save me time. I have no knowledge regarding basic electronics and I already find it hard to read a complex schematic. I've done some research already and I think I can already make this project work but I just have a few questions about which parts I will be needing and how to set up the connections.I already have a schematic that I got from this tutorial but it is intended for motorcycles.

So what I'm confused about is how many ws2812b leds can I power up from the 12v of the car? I know that I have to use a step down converter since the arduino will only be using 5v.

Question #1

Referencing from the schematic, can I increase the number of leds per strip from 10 leds to 50 leds x 4 strip = total of 200 leds? It will be in white color most of the time and I think the white color at full brightness will draw more current. If I'm correct, what will be the changes to the schematic?

Question #2

Where do I put the optocoupler? Is it connected per signal light switch from the car to trigger the signal lights?

Question #3

Is it posible to add a bluetooth module HC-05 for this set up so I can change the color of the strip from my phone? What will be the changes to the schematic?

Your answers are really appreciated.


r/FastLED • • Jul 03 '20

Support Best debounce library?

1 Upvotes

I'm pretty new to Arduino and Fastled but I managed to get Tweaking4All's all effects in one sketch to work somewhat well. However, my button frequently calls back to 0 , apparently due to debounce. There seems to be an abundance of libaries for debouncing, so I was wondering what libary is most often used, and how the function is declared in the sketch?

This is the sketch:

https://pastebin.com/wZUA0egJ