neophob / PixelController

(LED) Matrix Control Software, supports various Hardware, Keywords: LED Matrix, OSC, Realtime, VJ, Arduino, Teensy, RPI
www.pixelinvaders.ch
GNU General Public License v3.0
286 stars 103 forks source link

PixelInvaders on Teensy3.1 and WS2811 Led strips - is it possible? #75

Closed croisez closed 9 years ago

croisez commented 10 years ago

Hi, I would like to know if there is a way to bring together my 128 leds ledstrip controlled by WS2811, my Teensy3.1, and PixelController program.

If yes, which ArduinoFW should I use?

Thank for your support Louis.

ozett commented 10 years ago

hi, in the 2.1-RC1 "README.md" are more and helpfull information about getting Pixelcontroller, Arduino/Teensy and LED-Stripe-Types together. but i also would be thankfull for some more for WS2811 Stripes ... ;-)

(i have them running on my arduino with ethernet and an web firmware to run it as an artnet-client. this has the downside of a lot of artnet broadcasts on my normal lan. i recognized this too late, that artnets principle is broadcasting, which hardly can be limited to some small IP-ranges. i guess...

ozett commented 10 years ago

maybe helpful the link to the artnet-firmware? here: http://www.deskontrol.net/blog/arduino-based-artnet-node-for-led-pixels/

can be found directly with "google" and buzzwords 'arduino,artnet,ws2811': http://lmgtfy.com/?q=arduino+artnet+ws2811

ozett commented 10 years ago

just per chance (searching for artnet solutions to adress single dots on my matrix) i found some hints to support 281x LED-Stripes with arduino-sketch: http://www.solderlab.de/index.php/software/glediator -> see section: "Stripes & Matrices made of WS2811 / WS2812-Pixels (Neo-Pixel) [NEW"

maybe it is worth to look at and add a hint (how to do it) in the (very impressive improved) readme ?

as i requested at different points the support for (more modern) 281x Led-Stripes, is it worth summarizing the hints how to support this type of led-stripes in the readme?

croisez commented 10 years ago

In the meanwhile, I got success with my WS2811 ledstrip, by slightly modifying the https://github.com/neophob/PixelController/blob/master/pixelcontroller-distribution/src/main/resources/integration/ArduinoFw/pixelinvaders/neoLedWS2801Spi/neoLedWS2801Spi.ino firmware.

The ledstrip has to be initialized with different parameters. Here are my changes: LEDS.addLeds < WS2811, 0, GRB > (leds, NUM_LEDS);

HIH

ozett commented 10 years ago

hi, gladful for the hint. as i follow your link to sourcecode, i see that the firmware uses

"#include <FastSPI_LED2.h>

and if i follow this, i found that the library has a new name and a new home in the meantime. you find it here: https://github.com/FastLED/FastLED

so this let me think, that everthing whats supported though FastLED/FastSPI_LED2 can run with this firmware... and the readme stated support for:

Here's a list of all the LED chipsets are supported. More details on the led chipsets are included TODO: Link to wiki page

Adafruit's Neopixel - aka the WS2812B (also WS2811/WS2812, also suppored in lo-speed mode) - a 3 wire addressable led chipset
TM1809/4 - 3 wire chipset, cheaply available on aliexpress.com
TM1803 - 3 wire chipset, sold by radio shack
UCS1903 - another 3 wire led chipset, cheap
LPD8806 - SPI based chpiset, very high speed
WS2801 - SPI based chipset, cheap and widely available
SM16716 - SPI based chipset
DMX - send rgb data out over DMX using arduino DMX libraries
ozett commented 10 years ago

i just found a chipset reference in the wiki. there are some more details to the supported chipsets...

https://github.com/FastLED/FastLED/wiki/Chipset-reference

ozett commented 10 years ago

maybe worth mentioning in the readme? there are some more arduino firmwares to get ws281x strips running on an arduino - over artnet.

search github for artnet: https://github.com/search?l=C&q=artnet&ref=cmdform&type=Repositories

ozett commented 8 years ago

sorry to bother in here after this time, but in the lack of a wiki i found this thread the best place to keep up with this fast running improvements for "remote-pixels". i once tried to have pixel-matrices controlled over ethernet/artnet. i used a simple and cheap arduino-device with ethernet and an artnet-sketch. i described here.

now one can go wilder with esp8266 devices (under 2 EUR), which have wifi and there seems to be art-net libraries for ws2811/ws2812b pixels (5v). wow!!!

https://wiki.chaos-darmstadt.de/wiki/ESP8266

ozett commented 8 years ago

and bother again .. ;-) because of another finding:

"I was successful at driving 132 LEDs (11x12 matrix) using this firmware and the pixelcontroller (v2.1.0-RC1) software. " with ws2812 leds on ESP8266 with TPM2.net firmware

here: http://www.ledstyles.de/index.php/Thread/24571-esp8266-tpm2net-ws2812/?postID=351317#post351317

firmware: https://github.com/sfranzyshen/esp8266_tpm2net

and for other leds leds : https://github.com/sfranzyshen/esp8266_tpm2net_ws2801 https://github.com/sfranzyshen/esp8266_tpm2net_lpd6803

mortenx commented 8 years ago

is anyone got it working lpd6803 with arduino +pixelcontroller ?