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] Selfmade AmbiLight using LED Strings
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="HomeY" data-source="post: 1065285" data-attributes="member: 68365"><p>Well.... I'm about to give up <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Started over again and tried multiple connections. First connection made 'normal' on the correct side:</p><p>[ATTACH]146020[/ATTACH] </p><p>That didn't work. When i connect the power, the LEDs blink shortly, that's it.</p><p>After that i tried to connect the other end of the Data, which also didn't work.</p><p></p><p>Then connected the power to the other end of the strip:</p><p>[ATTACH]146019[/ATTACH] </p><p>Also no joy. Now when i connect the power, the LEDs also don't blink.</p><p>The WS2812B have a Reversed Connection protection, so not sure if connecting the other end is useful, but i've tried it.</p><p></p><p>I've copied all files from the FastLED 2.1 repo into my library folder and using the following FirstLight sketch:</p><p>[hide][code]</p><p>// Use if you want to force the software SPI subsystem to be used for some reason (generally, you don't)</p><p>// #define FORCE_SOFTWARE_SPI</p><p>// Use if you want to force non-accelerated pin access (hint: you really don't, it breaks lots of things)</p><p>// #define FORCE_SOFTWARE_SPI</p><p>// #define FORCE_SOFTWARE_PINS</p><p>#include "FastLED.h"</p><p></p><p>///////////////////////////////////////////////////////////////////////////////////////////</p><p>//</p><p>// Move a white dot along the strip of leds. This program simply shows how to configure the leds,</p><p>// and then how to turn a single pixel white and then off, moving down the line of pixels.</p><p>// </p><p></p><p>// How many leds are in the strip?</p><p>#define NUM_LEDS 240</p><p></p><p>// Data pin that led data will be written out over</p><p>#define DATA_PIN 6</p><p></p><p>// Clock pin only needed for SPI based chipsets when not using hardware SPI</p><p>//#define CLOCK_PIN 8</p><p></p><p>// This is an array of leds. One item for each led in your strip.</p><p>CRGB leds[NUM_LEDS];</p><p></p><p>// This function sets up the ledsand tells the controller about them</p><p>void setup() {</p><p> // sanity check delay - allows reprogramming if accidently blowing power w/leds</p><p> delay(2000);</p><p></p><p> // Uncomment one of the following lines for your leds arrangement.</p><p> // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<WS2811_400, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p></p><p> // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<P9813, RGB>(leds, NUM_LEDS);</p><p> </p><p> // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);</p><p>}</p><p></p><p>// This function runs over and over, and is where you do the magic to light</p><p>// your leds.</p><p>void loop() {</p><p> // Move a single white led </p><p> for(int whiteLed = 0; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) {</p><p> // Turn our current led on to white, then show the leds</p><p> leds[whiteLed] = CRGB::White;</p><p></p><p> // Show the leds (only one of which is set to white, from above)</p><p> FastLED.show();</p><p></p><p> // Wait a little bit</p><p> delay(100);</p><p></p><p> // Turn our current led back to black for the next loop around</p><p> leds[whiteLed] = CRGB::Black;</p><p> }</p><p>}</p><p>[/code][/hide]</p><p></p><p>I've tested the following 3 AddLeds options:</p><p>[code] // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);</p><p> FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);</p><p> // FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);[/code]</p><p></p><p>No joy <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> I really have no clue what else to test.</p><p>The most logical problem would be that the data simply isn't read or something. Since the LED strip blinks when i connect power, i assume that's still good.</p><p>Assuming when the Arduino IDE says the code is uploaded, it should be good. During transfer is see the TX/RX LEDs light up, but never a response from the LEDs.</p><p>It could be possible that i have a 'faulty' Arduino, but then i would suspect the Basis Led blink stuff to fail also. Since that works fine (with the onboard LED), i'm assuming the data transfer to the arduino is working properly.</p></blockquote><p></p>
[QUOTE="HomeY, post: 1065285, member: 68365"] Well.... I'm about to give up :( Started over again and tried multiple connections. First connection made 'normal' on the correct side: [ATTACH]146020[/ATTACH] That didn't work. When i connect the power, the LEDs blink shortly, that's it. After that i tried to connect the other end of the Data, which also didn't work. Then connected the power to the other end of the strip: [ATTACH]146019[/ATTACH] Also no joy. Now when i connect the power, the LEDs also don't blink. The WS2812B have a Reversed Connection protection, so not sure if connecting the other end is useful, but i've tried it. I've copied all files from the FastLED 2.1 repo into my library folder and using the following FirstLight sketch: [hide][code] // Use if you want to force the software SPI subsystem to be used for some reason (generally, you don't) // #define FORCE_SOFTWARE_SPI // Use if you want to force non-accelerated pin access (hint: you really don't, it breaks lots of things) // #define FORCE_SOFTWARE_SPI // #define FORCE_SOFTWARE_PINS #include "FastLED.h" /////////////////////////////////////////////////////////////////////////////////////////// // // Move a white dot along the strip of leds. This program simply shows how to configure the leds, // and then how to turn a single pixel white and then off, moving down the line of pixels. // // How many leds are in the strip? #define NUM_LEDS 240 // Data pin that led data will be written out over #define DATA_PIN 6 // Clock pin only needed for SPI based chipsets when not using hardware SPI //#define CLOCK_PIN 8 // This is an array of leds. One item for each led in your strip. CRGB leds[NUM_LEDS]; // This function sets up the ledsand tells the controller about them void setup() { // sanity check delay - allows reprogramming if accidently blowing power w/leds delay(2000); // Uncomment one of the following lines for your leds arrangement. // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS); // FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2811_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS); // FastLED.addLeds<P9813, RGB>(leds, NUM_LEDS); // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS); } // This function runs over and over, and is where you do the magic to light // your leds. void loop() { // Move a single white led for(int whiteLed = 0; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) { // Turn our current led on to white, then show the leds leds[whiteLed] = CRGB::White; // Show the leds (only one of which is set to white, from above) FastLED.show(); // Wait a little bit delay(100); // Turn our current led back to black for the next loop around leds[whiteLed] = CRGB::Black; } } [/code][/hide] I've tested the following 3 AddLeds options: [code] // FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS); FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS); // FastLED.addLeds<NEOPIXEL, DATA_PIN, RGB>(leds, NUM_LEDS);[/code] No joy :( I really have no clue what else to test. The most logical problem would be that the data simply isn't read or something. Since the LED strip blinks when i connect power, i assume that's still good. Assuming when the Arduino IDE says the code is uploaded, it should be good. During transfer is see the TX/RX LEDs light up, but never a response from the LEDs. It could be possible that i have a 'faulty' Arduino, but then i would suspect the Basis Led blink stuff to fail also. Since that works fine (with the onboard LED), i'm assuming the data transfer to the arduino is working properly. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[DIY] User Showcases
[DIY] Selfmade AmbiLight using LED Strings
Contact us
RSS
Top
Bottom