home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Ambilight Project – WS2812B LEDstrip + Arduino Leonardo
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 1207772" data-attributes="member: 18896"><p>[USER=68365]@HomeY[/USER], 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).</p><p></p><p>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.</p><p></p><p>The Atmoduino source examples still refer to FastSPI_LED which is incompatible with the successor FastLED libraries, so after some more googling, I found:</p><p></p><p style="margin-left: 20px"><a href="https://raw.githubusercontent.com/ambilight-4-mediaportal/AtmoDuino/master/RGB/AmbiDuinoBox.ino" target="_blank"><strong>https://raw.githubusercontent.com/ambilight-4-mediaportal/AtmoDuino/master/RGB/AmbiDuinoBox.ino</strong></a></p><p></p><p>Used that, after altering it to 150 LEDs, and pin 4, and still nothing.</p><p></p><p>Decided to try pin 11 then as per the original code, and presto everything works.</p><p></p><p>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".</p><p></p><p>Part list:</p><p></p><p style="margin-left: 20px">$10 - Arduino Leonardo -- <a href="https://www.amazon.com/gp/product/B00R237VGO/" target="_blank"><strong>https://www.amazon.com/gp/product/B00R237VGO/</strong></a></p> <p style="margin-left: 20px">$20 - 2812B LED strip 5m/150 -- <a href="https://www.amazon.com/gp/product/B0195BPZTU/" target="_blank"><strong>https://www.amazon.com/gp/product/B0195BPZTU/</strong></a></p> <p style="margin-left: 20px">$23 - Power Supply 5V/10A -- <a href="https://www.amazon.com/gp/product/B01M0KLECZ/" target="_blank"><strong>https://www.amazon.com/gp/product/B01M0KLECZ/</strong></a></p> <p style="margin-left: 20px">$34 - Diffuser strips 5x 1m -- <a href="https://www.amazon.com/gp/product/B01MXERWHZ/" target="_blank"><strong>https://www.amazon.com/gp/product/B01MXERWHZ/</strong></a></p><p></p><p>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).</p><p></p><p>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:</p><p></p><p style="margin-left: 20px"><a href="https://www.amazon.com/dp/B0084M67LM/" target="_blank"><strong>https://www.amazon.com/dp/B0084M67LM/</strong></a></p><p></p><p>And then I just have to mount the LED strip with the pre-applied 3M double-sided tape inside of them.</p><p></p><p>Will visit local hackerspace later to have somebody with a 3D printer build me this --- <a href="http://www.thingiverse.com/thing:628929" target="_blank"><strong>http://www.thingiverse.com/thing:628929</strong></a> -- 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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="RoChess, post: 1207772, member: 18896"] [USER=68365]@HomeY[/USER], 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: [INDENT][URL='https://raw.githubusercontent.com/ambilight-4-mediaportal/AtmoDuino/master/RGB/AmbiDuinoBox.ino'][B]https://raw.githubusercontent.com/ambilight-4-mediaportal/AtmoDuino/master/RGB/AmbiDuinoBox.ino[/B][/URL][/INDENT] 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: [INDENT]$10 - Arduino Leonardo -- [URL='https://www.amazon.com/gp/product/B00R237VGO/'][B]https://www.amazon.com/gp/product/B00R237VGO/[/B][/URL] $20 - 2812B LED strip 5m/150 -- [URL='https://www.amazon.com/gp/product/B0195BPZTU/'][B]https://www.amazon.com/gp/product/B0195BPZTU/[/B][/URL] $23 - Power Supply 5V/10A -- [URL='https://www.amazon.com/gp/product/B01M0KLECZ/'][B]https://www.amazon.com/gp/product/B01M0KLECZ/[/B][/URL] $34 - Diffuser strips 5x 1m -- [URL='https://www.amazon.com/gp/product/B01MXERWHZ/'][B]https://www.amazon.com/gp/product/B01MXERWHZ/[/B][/URL][/INDENT] 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: [INDENT][URL='https://www.amazon.com/dp/B0084M67LM/'][B]https://www.amazon.com/dp/B0084M67LM/[/B][/URL][/INDENT] 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 --- [URL='http://www.thingiverse.com/thing:628929'][B]http://www.thingiverse.com/thing:628929[/B][/URL] -- 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 :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Ambilight Project – WS2812B LEDstrip + Arduino Leonardo
Contact us
RSS
Top
Bottom