Categories

RoseOnRails – LEDs everywhere!

Hi,

On Friday, I found an interesting LED strip which is called Neopixel and is sold by Adafruit. This LED strip seemed to be exactly what we were looking for: a strip of addressable LEDs individually controlled by a PCB which can be modulated through the use of  a 8 bit PWM … However, as we  need 28 meters, 17$ a meter seemed somehow expensive!

I then looked up for LED strips on aliexpress and alibaba and found out that there were mainly 3 types of LED strips. The LEDs in those LEDs strips can be controlled bu PCBs such as : WS2811, WS2812/WS2812b or LPD8806.

The LPD8806 controllers are poorly documented (it is very hard indeed to find proper information concerning timing constraints in the datasheet) and after having navigated on various forums, notably on the adafruit forum, it seems that the timing for LPD8806 is somehow hard to control, and thus the PWM and the LED colours are hard to control.

The WS2811 are 6 pins controllers for LEDs, seem easy to use and are well documented. Though very interesting, the WS2812 and WS2812b provide better performances (more powerful LEDs), with fewer pins (only four) and are easier to find on the internet. WS2812b is merely an enhanced version of WS2812 and provides mainly mechanical improvements to the IC.

In the light of the above, we have decided to use ws2812b LED controllers.
We will run some tests to see if it is possible to locate the trains thank to the LEDs, as soon as we receive our first meter of LEDs strip!

Noémie Bristol-Courgeon

Twitter LinkedIn 

3 comments to RoseOnRails – LEDs everywhere!

  • You might be interested by this project:
    https://github.com/scanlime/fadecandy

    I don’t know exactly what you need to do but if you need inspiration, it has a brilliant WS2811 driver for cortex M4 (freescale) + the hardware files.

    I met the author at Sifteo, she’s one of the most humble and accessible geniuses I ever got to talk too, feel free to contact her if you need anything, really.

  • yann

    Thanx a lot drix. We’ll look through it, if it could be helpful.

  • My pleasure, good luck!