Hi, I’m using the WS2812B Led strip (30 LEDS) on the Arduino Yun, but it is not working. I tried the same code on the Arduino Uno and it works perfect. Does anyone know if I have to do something extra on the Yun? FastLed version 3.1.0 and Arduino IDE 1.6.8. I tried pin 6, 7 and 13. Power supply is 5VDC 3A and the Arduino Yun gets powered via USB for now.
Try it without lines 20 and 29. I’m not sure what they’ll do to the LEDs but you don’t need them…
I used them to light the LED that 's on the PCB itself. They don’t do anything for FastLED, but I tried it without those two lines and on a different pin for FastLED, but it still wouldn’t work…
I haven’t tried the Yun myself. So a couple of diagnostic questions: first, the Yun isn’t an Uno+Linux, it’s a Leonardo+Linux, so I wonder if everything you have there works right on a Leonardo – but I bet it does, it looks simple enough. By the way, you can just do this:
leds[i] = CRGB( 255, 255, 255);
or
leds[i]=CRGB::White;
Ok so about the Yun part… when you run your code there, does the pin 13 led blink? Do you see anything on the led strip?
And is there a way of totally disabling/disconnecting the Linux part of the Yun for testing?
Yes, the led on pin 13 does blink. I don’t think there is a way to split the Linux from the Arduino part, but they do run on two separate chips. That’s what the bridge library is for. I don’t see/know a reason why this shouldn’t work. The led strip shows nothing at all when using the yun, but works as expected with the uno. I wanted to use the yun to fetch weather data from the Internet and ‘show’ it on the leds.
Yeah- it looks like mostly there’s just a serial connection between them.
I bet it has something to do with the compilation environment in some way. Do you get any messages in the Verbose Compiler Output window? (If so, could you post them to a pastebin and share the link here?)
I have no idea what the Verbose Compiler Output is.
But in the Arduino IDE I do not get any errors or warning messages. Does it have anything to do with the programmer option in Arduino IDE? Right now I have it set to the AVRISP MKII.
I’ve used FastLED on a Yun with no issues—aside from the fact that the Bridge library takes so much RAM I can’t run it at the same time as a 768 LED array.
(This was a while ago and I do remember having to use a specific version of the Arduino environment for the Yun to work. Not sure if they’ve caught up with 1.6.8 for every board model yet.)
Hmn… I’ve searched google for people who used fastled and the yun, but can’t really find anything… Any way you can find out which Arduino IDE you used? (Or try it with the current IDE, maybe my yun has a problem or something :s)
The Yun page says “1.5.4 and later”, so I assume 1.6.8 ought to work. Unfortunately I can’t try it as I don’t have that project to hand right now.
Hi, sorry for the late reply, I got a secondary yun now and it still won’t work. I tried Arduino IDE 1.5.4 with the latest fastled, but still nothing… I’m running out of ideas here…
The weird thing is that I put the same code on the yun and the uno, connected them to two LEDS and they both seem to give out the same signal (hard to say if it’s exactly the same without a scop), but it looks as if they run at two slightly different speeds… Any way to fix this?

