[DIY] Ambilight Project – WS2812B LEDstrip + Arduino Leonardo | Page 3

Discussion in '[DIY] User Showcases' started by HomeY, March 6, 2014.

  1. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    @HomeY, no idea why yet, but I used your code, and the 2812B light strip lit up for 500ms, so the setup part went perfect (even adjusted duration to 5000ms to verify).

    I prefer AmbiBox for software so it works on MPC-HC and other apps as well, and selected Atmoduino, COM3, 150 LEDs, and RGB colors, and nothing worked.

    The Atmoduino source examples still refer to FastSPI_LED which is incompatible with the successor FastLED libraries, so after some more googling, I found:


    Used that, after altering it to 150 LEDs, and pin 4, and still nothing.

    Decided to try pin 11 then as per the original code, and presto everything works.



    Would appreciate it if anybody can tell me why that is. The only difference I can see is that pin 11 is listed on the PCB as "- 11", whereas pin 4 is just "4".

    Part list:

    $10 - Arduino Leonardo -- https://www.amazon.com/gp/product/B00R237VGO/
    $20 - 2812B LED strip 5m/150 -- https://www.amazon.com/gp/product/B0195BPZTU/
    $23 - Power Supply 5V/10A -- https://www.amazon.com/gp/product/B01M0KLECZ/
    $34 - Diffuser strips 5x 1m -- https://www.amazon.com/gp/product/B01MXERWHZ/

    No soldering was required, but i did use two DuPont F-to-M wires from a bin to make it easier to insert the GND/Data cables into Arduino, and I used a few pieces of heat-shrink tube to seal exposed wires (the opposite end JST connector and power leads will disappear anyway once I cut the LED strip to length for my TV).

    Just have to cut the diffuser strips to length and mount them to the back of my TV. Plan to make it easy to remove in the future by using a bunch of 3M commando strips that I have:


    And then I just have to mount the LED strip with the pre-applied 3M double-sided tape inside of them.

    Will visit local hackerspace later to have somebody with a 3D printer build me this --- http://www.thingiverse.com/thing:628929 -- but for now I will just keep Arduino in the anti-static bag it arrived in and tape that to the back of the TV in ghetto fashion :)
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    @HomeY, never mind found my own answer by looking at close-up of the board on Amazon: pin 11 is marked as "~11" defined as being part of the digital PWM group that must be needed for AmbiBox software, but not for the FastLED.show() command during setup.
     
    Last edited: January 7, 2017
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!