[DIY] Ambilight Project – WS2812B LEDstrip + Arduino Leonardo (1 Viewer)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @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 :)
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    @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:

    Users who are viewing this thread

    Top Bottom