Problem with Neopixel Ultra Bright 4 Watt Chainable RGBW

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jiazhangwang
 
Posts: 13
Joined: Mon May 23, 2022 2:42 pm

Problem with Neopixel Ultra Bright 4 Watt Chainable RGBW

Post by jiazhangwang »

Hi,

We have several Ultra Bright 4 Watt Chainable RGBW NeoPixel LED - Cool White - ~6000K (product id:5162) controlled by Arduino uno. But it's kind of randomly blinking even though we set the zero brightness in the loop function. We are confused about that. The code is pasted below.

Code: Select all

#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif
#define LED_PIN     6
#define LED_COUNT  1

#define BRIGHTNESS 50 // Set BRIGHTNESS to about 1/5 (max = 255)
void setup() {
#if defined(__AVR_ATtiny85__) && (F_CPU == 16000000)
  clock_prescale_set(clock_div_1);
#endif
  strip.begin();           // INITIALIZE NeoPixel strip object (REQUIRED)
  strip.show();            // Turn OFF all pixels ASAP
  strip.setBrightness(BRIGHTNESS);
}
void loop() {

  strip.setPixelColor(0, 0,0,0,0);         //  Set pixel's color (in RAM)
  strip.show();                          //  Update strip to match
  delay(10);

}
Last edited by dastels on Fri Sep 30, 2022 9:36 pm, edited 1 time in total.
Reason: Add code tag

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Problem with Neopixel Ultra Bright 4 Watt Chainable RGBW

Post by dastels »

How are you powering the LEDs?

Dave

User avatar
jiazhangwang
 
Posts: 13
Joined: Mon May 23, 2022 2:42 pm

Re: Problem with Neopixel Ultra Bright 4 Watt Chainable RGBW

Post by jiazhangwang »

dastels wrote: Fri Sep 30, 2022 9:37 pm How are you powering the LEDs?

Dave
We used a 5V power supply.

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Problem with Neopixel Ultra Bright 4 Watt Chainable RGBW

Post by dastels »

A separate supply for the LEDs? What amperage? Is it's ground also connected to the UNO?

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”