Skip to content

Teensy 2 + Ws2801 #19

Closed
Closed

Description

@Azzuro

Hi M Garcia
i come to you, one more time .

So, my issue is : WS2801 don't work on Teensy2 board.

tested with the final release of Fast_led.
i need your help.

Sure, before implented Fast_LEd library to my own sketch, i try with example ...

old thread related to Teensy2 + Ws2801 + FastSPI_LED(1)
http://forum.pjrc.com/threads/15908-Teensy-2-Adafruit-WS2801-Led-Strip-bullet-FastSPI-example-LED-OFF

Activity

  1. Azzuro commented on Jan 30, 2014

    @Azzuro
    Author

    maybe related :
    "
    CORE_TEENSY seems to be defined during Makefile compilations, but not during default Arduino compilations. I modified the above sketch to check for CORE_TEENSY.

    Edit: if I #include "WProgram.h" in a sketch, then CORE_TEENSY is defined during Arduino compilations as part of core_id.h, but otherwise it is uncertain. Code that that uses Stream, Print, or includes it, but the blink sketch does not. "

    Source
    http://forum.pjrc.com/threads/22156-Uisng-ifdef-to-differentiate-between-teensy-2-0-teensy-2-0-and-teensy-3-0?p=28252&viewfull=1#post28252

  2. Azzuro commented on Feb 1, 2014

    @Azzuro
    Author

    Hi, i test the next 2.1 branch, and now seems work, tested with FirstLight sketch.
    but i need to test more with this librairies.

    thanks D. GARCIA

  3. focalintent commented on Feb 2, 2014

    @focalintent
    Contributor

    Ah, good to hear that it works with the 2.1 branch! I have a couple more things that I want to do there, and then i'll do an official release of 2.1. Have fun with the library, and let me know when I an close this ticket!

  4. Azzuro commented on Feb 2, 2014

    @Azzuro
    Author

    If you want know, on FastLED 2.0 ( official release)
    i have Teensy2 working, when on fastpin avr, i have commented all your code related to leornardo side.
    so, i think the define (CORE_TEENSY) don't work.

    i have tested it on my own sketch ( very simple) for ambilight, and now it's work.
    you can find here : http://forum.team-mediaportal.com/forums/ambient-lighting-system.671/
    lot of user, who use your librarie for ambilight.

    thank you so much

    PS : with FastLED, IRremote have always the same bug ?

  5. reopened this on Feb 2, 2014
  6. focalintent commented on Feb 3, 2014

    @focalintent
    Contributor

    Yeah - I can't do a release commenting out the code for leonardo - I suspect you can imagine why :)

    IRRemote is always going to have a problem if you're using timing sensitive chips like the WS2811, TM1809, or NeoPixel, because those chips require disabling of interrupt handlers in order to get the timing that's required for those chips. IRRemote shouldn't have a problem if you're using SPI based chipsets like the WS2801/LPD8806, where I'm not disabling interrupts so they should be able to handle incoming IR commands.

    A couple of quick attempts to work around this haven't gotten anywhere, and it's a pretty low priority for me. (Also - why did you re-open this ticket? If you want to track the IRRemote issue - please open a new issue for it - I want to keep issues limited to a single issue, makes tracking a lot easier).

  7. kasperkamperman commented on Feb 3, 2014

    @kasperkamperman

    Considering the IRRemote. It might be smart to use a 2nd microcontroller (can be even a trinket/gemma or bare ATTiny85 I think), that handles IR and sends code by the serial port. I've successfully used this approach in one project as well.

    (sorry Daniel if I'm polluting your issues here, since its not really FastLed related, but didn't know where to respond otherwise)

  8. Azzuro commented on Feb 3, 2014

    @Azzuro
    Author

    sorry, for closed / reoppened the ticket, bad click .

    For IRremote, i have found an updated librarie http://tech.cyborg5.com/irlib/
    Sure, this tickets should be only related to Teensy + FastLED.
    i think we can close it. and for future issue with Lib + IRremote, i can open a new one.

    @kasperkamperman : i don't know how can do that. i'm not expert in coding side, i know i can connect 2 board, by the SPI ( master slave) , and maybe with an serial software, but maybe too hard for me, and i don't have the board for test.

    Thanks you guys for your work.

    PS : if you are interested by Mediacenter software, you're welcome on MediaPortal forum, and we have an dev who work on ambilight. for have Winamp Visualization on Amibilight system ( for me this solution have big interest )
    http://forum.team-mediaportal.com/threads/atmolight-and-visualization.124341/

    have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions