Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: Teensy 3.6, Single wire and WS2811

  1. #1

    Teensy 3.6, Single wire and WS2811

    Paul,

    I bought some teensy 3.6 (with speed, sdcard and large memory) last week in order to use on my already wired ws2811 signage. I have tried your single wire code at github (ws2812serial.h,etc) but it is limited to about 600 leds as you have indicated. Can you please indicate the code parameters that would allow me to increase the led limit (maybe to 1000) ?

    Thank you

    Chris

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,877
    Why not use this library with DMA support which can handle several thousands of LEDs ? https://www.pjrc.com/teensy/td_libs_OctoWS2811.html

  3. #3
    I am aware of Octows2811 but this signage is already wired for single wire data input.

    Thanks

    Chris

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    3,652
    I could be wrong, but the main issue is the just how long it takes to output data to each led. That is each LED, I believe receives 24 bits of data, and the protocol, for most of them I believe send at 800KBPS. So if you divide that by 24. You can maybe update about 34133 leds per second. If you need to update this maybe 30 times per second 682 and that is not taking into account the time it takes between frames.

  5. #5
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,305
    WS2812Serial should work for 1000 LEDs on Teensy 3.6. It uses more memory than other libs, but 3.6 has plenty.

  6. #6
    When numled is increased beyond about 400 in Basic Test the 1.5 seconds interval increases , at 700 the colour changes after about 15 seconds. Is leds.numPixels = numled ? for (int i=0; i < leds.numPixels(); i++) {

    Chris

  7. #7
    Oops, got it !

    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •