Profile cover photo
Profile photo
Franck Marcotte

Post has attachment
My FastLED Halloween!

My space wizard costume was a big hit! The staff is running a custom animation, my belt is running Meteor, and the ceiling lights are running Noise :)

Anyone managed to work with the new Adafruit Trinket M0? It's not officially supported, but the Gemma M0 is, and is using the same SAMD21E18 chip.

I tried to tweak the library myself, but my knowledge in this area is limited and I haven't had success. I feel like it wouldn't be too complicated though, I just can't put my finger on it.

Post has attachment
High-Pitched noise coming from PSU when is writing

I have this really weird problem where my PSU makes noise when FastLED is writing to the leds. It’s very likely an electrical problem but I’m posting here since it seems to be related to the data transmission. I made a video to show the problem.

I already tried a spare PSU, same behavior. The video shows a barebone connection but I had the same problem with a Capacitor and resistors installed. The twisted grounds on the data lines are floating. When I connected them to the APA102 Gnd it made the noise worse. Also, the noise has a different pitch depending on the DATA_RATE_MHZ.

I also tried running a long ground wire from the PSU to the Teensy. No change. The other wires' lengths are already as short as they can be, as this circuit is going into a game table.

Teensy 3.2
FastLED version 3.001.005 (kcouck fork)
Arduino IDE v1.8.3

Code :

Is the Adafruit Feather nRF52 supported? Can't seem to compile, I get this error :

C:\Users\Franck\Documents\Arduino\libraries\FastLED-Teensy_3.6/platforms/avr/led_sysdefs_avr.h:12:20: fatal error: avr/io.h: No such file or directory

Using FastLED version 3.001.005 (kcouck fork)
Arduino IDE v1.8.3

How do you make long data wires reliable?

I've been lucky enough that all the projects I've created don't require long data lines, but I've encountered in some tests massive noise when the data wire is longer than 50-60cm.

I did some research and tried many solutions, with mixed results. Sometimes it works, sometimes it doesn't.

Any of you solved this and are able to push a solid data signal through, say, more than 2 meters from a Teensy?

Scaling palettes to 240?

I'm curious as to why in Fire2012 there is this comment about palettes :

// Scale the heat value from 0-255 down to 0-240
// for best results with color palettes.

Because right now I'm getting this weird behavior where a simple 2-color palette dips back to the starting color when in the 240-255 range.

Sorry no code for now, I will post an isolated example when I get back to my shop.

I'm using parallel output on a Taijiuino Due (Due clone with more pins) and I noticed a difference in the parallel output doc for PORTA and PORTB.

Doc says the pins are in this order :
WS2811_PORTB: 90,91,92,93,94,95,96,97
WS2811_PORTA: 69,68,61,60,59,100,58,31

However when tested the pins are apparently in this order :
WS2811_PORTB: 92, 93, 94, 95, 96, 97, 90, 91
WS2811_PORTA: 69, 68, 58, 59, 60, 100, 61, 31

I declare the leds like this, using a single array :
FastLED.addLeds<WS2811_PORTB,8>(leds,0, NUM_LEDS_PER_LONG);

It's not a problem really, just thought I'd mention it. Thanks again for this wonderful feature 👌

I'm currently experimenting with parallel output on a Taijiuino Due, which is a Due clone with more pins. They have pins for 92-102, which should allow me to fully use PORTA, and PORTB minus pins 90 and 91.

However FastLED won't output on those pins. Any idea why?

Doc for the TDue :

Code I'm using :

Post has attachment
144/m full brightness temperature?

I have these two strips of 172 WS2812B which will be required to run at full white for extended periods of time. Power is coming in at both ends with the V rail cut mid-way.

Right now they are so hot I can't even let my finger on them for more than a few seconds. That doesn't bother me since they will be mounted on aluminum rails, but is it normal?

I know a lot of you work with Teensy. I'm wondering if you have any trick to mount it. Teensy has no mounting holes and I'm struggling to find a way to attach it to a surface without just letting it dangle around. I don't really trust glue long term.
Wait while more posts are being loaded