Profile cover photo
Profile photo
Lars Walpurgis

I have a little Question. I have a Strip of 744 APA102 LEDs. I drive them with standard Datarate on one Pin on an ESP8266. Do I have any advantages, if I split them to 2 or 3 separate Stripes like in the multiple Stripes in one Array Demo... ?

// tell FastLED there's 60 NEOPIXEL leds on pin 10, starting at index 0 in the led array
FastLED.addLeds<NEOPIXEL, 10>(leds, 0, NUM_LEDS_PER_STRIP);

// tell FastLED there's 60 NEOPIXEL leds on pin 11, starting at index 60 in the led array


Post has attachment
Hello, a short question. I have a 20w cob led and i want to control them via a rotary encoder with procent values 0-100. At the moment i use a teensy 3.2 with 12 bit pwm with a linear mapping. But the eye perception is nearly logarithmic not linear and i would like to change this. But how do i do this in the best way? Is there a function in fast led to map the 0-100 value to the 0-4095 pwm value logarithmic? Thanks for your help!

I'm working at the moment at my ambilight system. I have a WS2801 stripe which works fine and a analog LED Stripe and I use it like in the analog Output example with "show analog leds"...
My Problem is now to set the correct color temperature. With my TV and the digital stripe this wasn't a problem. But how do I adjust the color temperature of the analog stripe in a CRGB object? I tried led -= CRGB(50,0,20); Which works fine with high brightnesses, but when the brightness is low the color is always green... Any suggestions?
Thanks! Lars

Post has attachment
Some more impressions....
2 Photos - View album

Post has attachment
Today I want to show you my newest project. I have get this wonderful lamp where I installed a RGBW Strip of 744 (372 RGB/ 372 White) APA102 LEDs. They are controlled by a ESP8266 without a levelshifter. A levelshifter didn't solved the problem. The ESP is running with 160Mhz. I played with the frames per second (I used 100)and The DataRate but I have always the same effect. My Problem is, that when I use very low RGB values (<10) and I have the fastled.setbrightness with 255 I have flickering of the whole stripe. Of I use high RGB values and choose with FAstled.setbrightness < 10 its working well with a very low brightness. Any ideas how to fox this? Any suggestions for this project? In the lamp are 6 stripes in a circly each is nearly 1,8m long.  I used this app:

After some hours on deleting lines in my Code I have found the problem. The problem are the number of leds. When I use in the example code for num_leds 3 everything works fine, but when i use 40 up to 200, the leds have flickering. I use Teensy 3.1 96 Mhz with fastled 3.1 Audio Shield and the Audio Wave player code and I have no idea why it makes these problems! Interesting is, that when the music doesnt play at the beginning the effect is slower than when the music plays...
+Mark Kriegsman +Daniel Garcia +PaulStoffregen 

#include <FastLED.h>

#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#define NUM_LEDS 200

// GUItool: begin automatically generated code
AudioPlaySdWav           playWav1;       //xy=154,78
AudioOutputI2S           i2s1;           //xy=334,89
AudioConnection          patchCord1(playWav1, 0, i2s1, 0);
AudioConnection          patchCord2(playWav1, 1, i2s1, 1);
AudioControlSGTL5000     sgtl5000_1;     //xy=240,153
// GUItool: end automatically generated code

void setup() {
     FastLED.addLeds<TM1809, 5, RGB>(leds, NUM_LEDS);
    if (!(SD.begin(10))) {
        // stop here, but print a message repetitively
        while (1) {
            Serial.println("Unable to access the SD card");

void playFile(const char *filename)

uint8_t a = 0;
void loop() {
    leds[0] = CHSV(a, 255, 255);
    leds[1] = CHSV(0, 255, a);;


Post has attachment
Normally I wanted to share my big Car LED project later, when everything works fine, but now I need your help. My own code works very well, which is object orientated, with an event handler for dealing simutanously with different effects and stripes and you can see in the video one pulse effect of it. But now I wanted to add the Audio Shield from the teensy and there was the Problem with flickering if I play music and with different blue colors if I dont play music. In the files there is also an easy example where I added Fast Led with an effect and the wave player which works very fine, but not in my code and the Question is why??? I use Fastled 3.1 and the newest Arduino IDE and Teensyduino. I programm with Visual Studio and visual micro, but thats not the Problem, if I upload the code with Arduino IDE there is the same Problem. Maybe one of you could help me. +Daniel Garcia +Mark Kriegsman ... And the others feel free to look into the object orientated code :)
Here is the Project:

Is Fastled compatible with the audio shield and TM1809(3 Wire)? Because if I wants to use the play wave example the led stripe gehts a random flickering when I only add:
AudioPlaySdWav           playWav1;
AudioOutputI2S           audioOutput;
AudioConnection          patchCord1(playWav1, 0, audioOutput, 0);
AudioConnection          patchCord2(playWav1, 1, audioOutput, 1);
AudioControlSGTL5000     sgtl5000_1;

Any Idear?

A short Question, is there a possibility, to check the length of an LED Stripe? Or to check, if specific LEDs are connected? In my case I have a LED Stripe who is swappable and it would be cool to check this automatically. Thanks for your help!

I have a very little fastled specific question. If I use nblend(HSV Array1,HSV Array 2,k,SHORTEST_HUES); and I count k from 0 to 255 my HSV array 1 on the led stripe seems to have the destination color very early after 100 or 120 of k. is this blend not linear? I came to that, because I have written an led event handler based on a vector and if blend is ready the next effect starts. Theoretically...  But in real the new blend color is on the stripe and I have to wait until the next Effekt starts... Thanks for your help
Wait while more posts are being loaded