http://www.adafruit.com/products/1138
I want the all lights to be on, I very new to arduino world. Please help.
Thank you very much for the responses.
I recently purchased Arduino Uno and Adafruit NeoPixel Digital RGB LED Weatherproof Strip 60 LED -1m (WHITE) HOW to connect Adafruit NeoPixel Digital RGB LED Weatherproo
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dachinzo
- Posts: 18
- Joined: Mon Oct 14, 2013 11:51 pm
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
I'm pretty sure you need a ground connection to the Arduino from the strip. Check the info on the learning page or the product page, they should have instructions.
- pburgess
- Posts: 4161
- Joined: Sun Oct 26, 2008 2:29 am
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
Affirmative -- common ground is essential.
- dachinzo
- Posts: 18
- Joined: Mon Oct 14, 2013 11:51 pm
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
I connected LED Strip GND to arduino GND(blue wire in the second picture), LED 5V to arduino 5V(red wire), LED Strip DI to arduino PIN 6(green wire).
What am I missing here? Please help
Thank you.
I uploaded Adafruit_NeoPixel strand test, but I couldn't get lights on.What am I missing here? Please help
Thank you.
Code: Select all
#include <Adafruit_NeoPixel.h>
#define PIN 6
// Parameter 1 = number of pixels in strip
// Parameter 2 = pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
// NEO_GRB Pixels are wired for GRB bitstream (most NeoPixel products)
// NEO_RGB Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
Adafruit_NeoPixel strip = Adafruit_NeoPixel(60, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
strip.show(); // Initialize all pixels to 'off'
}
void loop() {
// Some example procedures showing how to display to the pixels:
colorWipe(strip.Color(255, 0, 0), 50); // Red
colorWipe(strip.Color(0, 255, 0), 50); // Green
colorWipe(strip.Color(0, 0, 255), 50); // Blue
rainbow(20);
rainbowCycle(20);
}
// Fill the dots one after the other with a color
void colorWipe(uint32_t c, uint8_t wait) {
for(uint16_t i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, c);
strip.show();
delay(wait);
}
}
void rainbow(uint8_t wait) {
uint16_t i, j;
for(j=0; j<256; j++) {
for(i=0; i<strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel((i+j) & 255));
}
strip.show();
delay(wait);
}
}
// Slightly different, this makes the rainbow equally distributed throughout
void rainbowCycle(uint8_t wait) {
uint16_t i, j;
for(j=0; j<256*5; j++) { // 5 cycles of all colors on wheel
for(i=0; i< strip.numPixels(); i++) {
strip.setPixelColor(i, Wheel(((i * 256 / strip.numPixels()) + j) & 255));
}
strip.show();
delay(wait);
}
}
// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
uint32_t Wheel(byte WheelPos) {
if(WheelPos < 85) {
return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
} else if(WheelPos < 170) {
WheelPos -= 85;
return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
} else {
WheelPos -= 170;
return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);
}
}
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
The 5v pin on your Arduino is not going to have enough power to drive 1 meter of leds.
http://www.adafruit.com/products/1138#Description
http://www.adafruit.com/products/1138#Description
http://www.adafruit.com/products/276First up, the higher density means much higher power usage over a certain distance - 18 Watts max (~3.5 Amps @ 5V) per meter instead of 9.6 Watts max (~2 Amps @ 5V). The max rating is assuming all the LEDs are on full white, usually the actual current for colorful design is about 1/3 to 1/2 the max current.
...
We have a 5V/2A supply that should be able to drive 1 meter (depending on use) and a 5V/10A supply that can drive up to 4 meters (depending on use) You must use a 5V DC power supply to power these strips, do not use higher than 6V or you can destroy the entire strip
- rjpage
- Posts: 2
- Joined: Sun Mar 22, 2015 5:27 pm
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
I am new to Arduino. I would like to create an outdoor Christmas display using the NeoPixel strip. The maximum voltage is 6 VDC. I have an old power supply for a laptop rated at 19.5 VDC and 90w (4.61 A). Is there any reason that I could not use 3 strips with the power divided between 3 circuits (6.5 VDC each) with 7805 5.0 VDC regulators?
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
You are better off with a good 5v regulated supply. Linear regulators like the 7805 are horribly inefficient if the input voltage is significantly higher than the regulated voltage. You will be dissipating 75% of the power as heat. The regulators will probably overheat trying to drive more than a few pixels.
- rjpage
- Posts: 2
- Joined: Sun Mar 22, 2015 5:27 pm
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
I plan to build a 3way voltage divider (19.5 VDC/3) giving me 3 lines of 6.5 VDC (the regulator wants 6.5 to 7.0).
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: HOW to connect Adafruit NeoPixel Digital RGB LED Weather
Unfortunately, voltage dividers don't work that way. Unless the current across each step of the divider is exactly equal, the voltage drop will not be equal either.
You need a good quality 5v regulated supply.
You need a good quality 5v regulated supply.
Please be positive and constructive with your questions and comments.