Arduino FastLed random behaviourArduino RGB led-strip turns off at full intensityCannot program ESP8266Arduino Nano - Programmer not respondingBlinking leds on different arduinosArduino keeps crashingunexpected variable behavior arduino fastLED ws2812bLED strip not workingLed Strip via USB?Arduino UNO clone not showing up in Device Manager cant see it at allControl motors with Arduino using serial connection with computer

Finding the Maximum of a Continuous Function over a Closed Interval

Why is it considered acid rain with pH <5.6?

If an arcane trickster rogue uses his mage hand and makes it invisible, does that mean anything the hand picks up is also invisible?

What happens when a flying sword is killed?

What would the United Kingdom's "optimal" Brexit deal look like?

Is this photo showing a woman standing in the nude before teenagers real?

Is it error of law to judge on less relevant case law when there is much more relevant one?

What is the most efficient way to write 'for' loops in Matlab?

Telling manager project isn't worth the effort?

What do I do with a party that is much stronger than their level?

Can a US President, after impeachment and removal, be re-elected or re-appointed?

How many oliphaunts died in all of the Lord of the Rings battles?

Sci-fi change: Too much or Not enough

Incrementing add under condition in pandas

Does Wolfram Mathworld make a mistake describing a discrete probability distribution with a probability density function?

Summoning A Technology Based Demon

Does dual boot harm a laptop battery or reduce its life?

Copying an existing HTML page and use it, is that against any copyright law?

Must a song using the A minor scale begin or end with an Am chord? If not, how can I tell what the scale is?

Polyhedra, Polyhedron, Polytopes and Polygon

Why is it "on the inside" and not "in the inside"?

Adopting a feral cat

To find islands of 1 and 0 in matrix

Compound Word Neologism



Arduino FastLed random behaviour


Arduino RGB led-strip turns off at full intensityCannot program ESP8266Arduino Nano - Programmer not respondingBlinking leds on different arduinosArduino keeps crashingunexpected variable behavior arduino fastLED ws2812bLED strip not workingLed Strip via USB?Arduino UNO clone not showing up in Device Manager cant see it at allControl motors with Arduino using serial connection with computer






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm trying to use FastLed on some WS2811 led strips but I get a weird behaviour. I'm using a simple code to debug the issue but still not working. Some leds are red but most are blue. I tried all the different LED strip type available in the FastLed Blink example without much difference.



#include <FastLED.h>

#define NUM_LEDS 30
#define DATA_PIN 6

CRGB leds[NUM_LEDS];

void setup()
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);


void loop()
for (int pos = 0; pos != NUM_LEDS; pos++)
leds[pos] = CRGB::Red;

FastLED.show();
delay(500);



LED strip



LED strip picture



LEDs are powered with an external 12v power supply (https://www.amazon.com/gp/product/B00D7CWSCG).



Arduino is powered with a usb cable from my PC.



I tried with a Arduino Mega and Arduino Nano no difference.
Schematic



(No the correct led strip, I have a WS2811 but it's the closest I found)



Any idea what can be the issue? Thanks










share|improve this question


























  • the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

    – Marchah
    Mar 26 at 19:54











  • what do you mean by both ends? do i need to close the circuit?

    – Marchah
    Mar 26 at 19:58






  • 1





    The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

    – stevieb
    Mar 26 at 20:30











  • i added a schematic to the question

    – Marchah
    Mar 26 at 21:49






  • 2





    have you connected the grounds of the arduino and the power supply together?

    – Fitzi
    Mar 26 at 21:54

















0















I'm trying to use FastLed on some WS2811 led strips but I get a weird behaviour. I'm using a simple code to debug the issue but still not working. Some leds are red but most are blue. I tried all the different LED strip type available in the FastLed Blink example without much difference.



#include <FastLED.h>

#define NUM_LEDS 30
#define DATA_PIN 6

CRGB leds[NUM_LEDS];

void setup()
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);


void loop()
for (int pos = 0; pos != NUM_LEDS; pos++)
leds[pos] = CRGB::Red;

FastLED.show();
delay(500);



LED strip



LED strip picture



LEDs are powered with an external 12v power supply (https://www.amazon.com/gp/product/B00D7CWSCG).



Arduino is powered with a usb cable from my PC.



I tried with a Arduino Mega and Arduino Nano no difference.
Schematic



(No the correct led strip, I have a WS2811 but it's the closest I found)



Any idea what can be the issue? Thanks










share|improve this question


























  • the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

    – Marchah
    Mar 26 at 19:54











  • what do you mean by both ends? do i need to close the circuit?

    – Marchah
    Mar 26 at 19:58






  • 1





    The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

    – stevieb
    Mar 26 at 20:30











  • i added a schematic to the question

    – Marchah
    Mar 26 at 21:49






  • 2





    have you connected the grounds of the arduino and the power supply together?

    – Fitzi
    Mar 26 at 21:54













0












0








0








I'm trying to use FastLed on some WS2811 led strips but I get a weird behaviour. I'm using a simple code to debug the issue but still not working. Some leds are red but most are blue. I tried all the different LED strip type available in the FastLed Blink example without much difference.



#include <FastLED.h>

#define NUM_LEDS 30
#define DATA_PIN 6

CRGB leds[NUM_LEDS];

void setup()
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);


void loop()
for (int pos = 0; pos != NUM_LEDS; pos++)
leds[pos] = CRGB::Red;

FastLED.show();
delay(500);



LED strip



LED strip picture



LEDs are powered with an external 12v power supply (https://www.amazon.com/gp/product/B00D7CWSCG).



Arduino is powered with a usb cable from my PC.



I tried with a Arduino Mega and Arduino Nano no difference.
Schematic



(No the correct led strip, I have a WS2811 but it's the closest I found)



Any idea what can be the issue? Thanks










share|improve this question
















I'm trying to use FastLed on some WS2811 led strips but I get a weird behaviour. I'm using a simple code to debug the issue but still not working. Some leds are red but most are blue. I tried all the different LED strip type available in the FastLed Blink example without much difference.



#include <FastLED.h>

#define NUM_LEDS 30
#define DATA_PIN 6

CRGB leds[NUM_LEDS];

void setup()
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);


void loop()
for (int pos = 0; pos != NUM_LEDS; pos++)
leds[pos] = CRGB::Red;

FastLED.show();
delay(500);



LED strip



LED strip picture



LEDs are powered with an external 12v power supply (https://www.amazon.com/gp/product/B00D7CWSCG).



Arduino is powered with a usb cable from my PC.



I tried with a Arduino Mega and Arduino Nano no difference.
Schematic



(No the correct led strip, I have a WS2811 but it's the closest I found)



Any idea what can be the issue? Thanks







arduino led






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 1:16







Marchah

















asked Mar 26 at 19:31









MarchahMarchah

7512 bronze badges




7512 bronze badges















  • the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

    – Marchah
    Mar 26 at 19:54











  • what do you mean by both ends? do i need to close the circuit?

    – Marchah
    Mar 26 at 19:58






  • 1





    The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

    – stevieb
    Mar 26 at 20:30











  • i added a schematic to the question

    – Marchah
    Mar 26 at 21:49






  • 2





    have you connected the grounds of the arduino and the power supply together?

    – Fitzi
    Mar 26 at 21:54

















  • the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

    – Marchah
    Mar 26 at 19:54











  • what do you mean by both ends? do i need to close the circuit?

    – Marchah
    Mar 26 at 19:58






  • 1





    The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

    – stevieb
    Mar 26 at 20:30











  • i added a schematic to the question

    – Marchah
    Mar 26 at 21:49






  • 2





    have you connected the grounds of the arduino and the power supply together?

    – Fitzi
    Mar 26 at 21:54
















the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

– Marchah
Mar 26 at 19:54





the leds are powered with a external 12v power supply and the arduino with my PC (I edited my question to add those infos)

– Marchah
Mar 26 at 19:54













what do you mean by both ends? do i need to close the circuit?

– Marchah
Mar 26 at 19:58





what do you mean by both ends? do i need to close the circuit?

– Marchah
Mar 26 at 19:58




1




1





The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

– stevieb
Mar 26 at 20:30





The power supply in question doesn't matter if you don't show a schematic of how you've got things wired. Please add a schematic.

– stevieb
Mar 26 at 20:30













i added a schematic to the question

– Marchah
Mar 26 at 21:49





i added a schematic to the question

– Marchah
Mar 26 at 21:49




2




2





have you connected the grounds of the arduino and the power supply together?

– Fitzi
Mar 26 at 21:54





have you connected the grounds of the arduino and the power supply together?

– Fitzi
Mar 26 at 21:54












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364959%2farduino-fastled-random-behaviour%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364959%2farduino-fastled-random-behaviour%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현