Questions tagged [ws2812]

An RGB LED, when run in a strip, is individually addressable.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
37 views

Ardunio Errors with ATmega644A Fastled (MCUDude Mightycore)

Good Morning, I am trying to compile a ardunio project with ATmega664A using the MCUDude MightyCore plug in while using the Fastled library. I have used this before with ATtiny167 with Spence Konde ...
user avatar
  • 1
0 votes
1 answer
40 views

Arduino to run and LED strip of up to 100m

I am working on a project to run an RGB strip around a large room and have the colour change driven by an Arduino Uno. I have encountered a number of issues and am looking for clarification. The first ...
user avatar
-1 votes
2 answers
86 views

How to address arbitray leds (WS2812B) in an already defined leds array?

I want to address the first and last three pixels of a 9 pixel strip and apply a gradient to them using FastLED. I can successfully address them but the colors displayed are not correct. Is there ...
user avatar
3 votes
1 answer
54 views

Battery for WS2812 Strip? (Something's not right)

I have posted this in a few places, so sorry if you have seen it somewhere else Im working on a battery powered led strip project, iv put the project together and have been testing with a mains power ...
user avatar
1 vote
1 answer
149 views

Power LED Matrix With LiPo Battery & ESP32

I want to power an ESP32 with a 3.7V LiPo battery. There's a LED matrix of 64 WS2812 LEDs attached to the ESP32. I learned that I need a buck boost converter to power the microcontroller as it needs a ...
user avatar
  • 113
0 votes
1 answer
703 views

Troubleshooting WS2812b LED strip with toggle on/off button

I have a very rudimentary setup with an arduino nano, an LED strip, a pushbutton and a resistor. I was trying to use the pushbutton as a toggle, using this code #include <stdio.h> #include <...
user avatar
0 votes
0 answers
176 views

WS2812B NeoPixels no longer working after cutting the strip and adding an extension

I am trying to use WS2812B LEDs with an Arduino. I have 24 LEDs connected to pin 6. When I first received the strip I connected it to 12V and data. Using the cyclone example in the FastLED library ...
user avatar
2 votes
2 answers
592 views

Switching from one color to another

I'm using ws2812b 2x2 LEDs and have it switching between green and red, but only one of my LEDs on my 2x2 is lighting up. I'm using the "blink" FastLED sketch with Data pin 3 on my Arduino ...
user avatar
0 votes
1 answer
171 views

Arduino Uno R3, WS2812B, 1 strip of 60 leds, segmented in to 4

Arduino Uno R3, WS2812B, 1 strip of 60 leds, segmented in to 4. Problem: Only want a single segment/fx_mode to run at any one time. #include <WS2812FX.h> #define LED_COUNT 60 #define LED_PIN ...
user avatar
1 vote
1 answer
230 views

WS2812B Reset time

i am trying to implement the ws2812b with an atmega8,but i didn't understand a thing very well. if i pull low for >50 us, it says it resets, but what does that mean? it resets the current LED all ...
user avatar
  • 13
1 vote
3 answers
2k views

How to determine what resistor value to use for LED strip

I'm trying to use an ESP8266 powered by my computer through USB cable to control a WS2812B LED strip. I've read online that you're supposed to put a resistor before the data channel to help prevent ...
user avatar
1 vote
1 answer
530 views

Can FastLED be made faster?

I am using FastLED to drive 16 pixels on an addressable WS2812B RGB LED strip. My application has extremely tight timing constraints. Specifically, I need to turn the LEDs on and off within less than ...
user avatar
  • 11
2 votes
1 answer
99 views

WS2812B Power Supply

I have a WS2812b addressable RGB led ribbon that is 5m (150 RGB leds). I purchased a 5v 10amp power supply to power it; however, whenever I try to use it to power the LED strip the leds start flashing ...
user avatar
1 vote
1 answer
602 views

WS2812B are only white on custom board

I recently designed a board for an LED project. I am using WS2812B as the LED, and an ATMEGA328P-AU as the microcontroller. I also am using an arduino nano as my ISP and using "flash with ...
user avatar
0 votes
0 answers
135 views

WS2812B LEDs start flickering after some time

I've built a WordClock with a NodeMcu and some ws2812b LEDs some time ago and it worked really well for like half a year but now the LEDs are starting to flicker when the WordClock runs longer than ...
user avatar
  • 41
0 votes
1 answer
372 views

NeoPixel Gradient sweep function

I'm trying to create a function that takes two colours and creates a smooth gradient between them one colour at the beginning and one at the end I just can't figure the math of mixing them evenly I'...
user avatar
0 votes
1 answer
215 views

Rechargeable USB "AA" Batteries. Has anyone used them?

I have a cosplay project where I'm creating a "Megaman" aka Rockman type of arm cannon (it's actually based on DC's Cyborg). Anyhoo, I've been weighing options like using 3xAA alks or 4xAA nicd (or ...
user avatar
0 votes
2 answers
631 views

Problem with power supply ws2812b Arduino 5v vs 12v

I have an Arduino wired to ws2812b with 10 100uF capacitors and 2 1000ohm resistors(picture). When I'm plugging 5v power supply everything is working when I plug 9v battery everything is fine but when ...
user avatar
1 vote
0 answers
738 views

WS2812B not fully working with NodeMCUv2 [ESP8266]

I have a problem with my NodeMCU v2 board and my WS2812B led matrix with 256 (32x8) LEDs. The Board cannot be able to turn on the 191th led and stops working after the 190th without changing the ...
user avatar
  • 11
1 vote
0 answers
312 views

5xWS2812B in parallel works fine in ESPHome but not in C code?

Facing a weird issue, that is probably something pretty simple, but I've went through ESPHome's code on Github and can't figure out. I've wired up 5 WS2812B controllers on an ESP8266 (Wemos D1 R1), ...
user avatar
  • 111
0 votes
1 answer
85 views

Translating WS2812-LED-Strip-IDs when cutting up a strip to multiple parallel ones

Lets say i have 1 meter of WS2812 Strip at 60 LEDs per meter. Now i cut the strip up in to 6 single strips but keep the wiring the same and lay them out in parallel. So it would look something like ...
user avatar
0 votes
1 answer
930 views

CHSV arguments with FastLED

I'm trying to use CHSV with FastLED library and as I understand hue, value and saturation in the CHSV type are of type uint8_t, or 1 byte. My problem is with using variables: CHSV led = (hue, sat, ...
user avatar
  • 137
1 vote
0 answers
61 views

5th Led wont turn on (ws2812)

I'm trying to re-use a piece of example code I found here: https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/ And I only have 5 LEDs ...
user avatar
  • 21
-1 votes
1 answer
2k views

Troubleshooting WS2812B LED strip

I am doing a project for my master thesis and I have 6 stripes of WS2812B LEDs each one containing 77 LEDs. I finished the design and now want to turn them on. I used an old power supply to power it, ...
user avatar
0 votes
1 answer
344 views

How can I make FastLED set every 2 LEDs to the same color?

I'm controlling an WS2812 LED strip in which every 2 leds is controlled together - they are setup as "eyes" in a prop. I'm looking to control hundreds of these, so in an effort to save RAM I'd like ...
user avatar
-1 votes
2 answers
1k views

Schematic with Atmega32U4 and WS2812 Led (Smiley Shape). Does it work? [closed]

I'm new here and I'm a newbie in electronics. Since 1 year I'm playing around with Arduino (different types) and now I want to build my own thing: a smiley with WS2812D-F5 RGB leds. But I'm not sure ...
user avatar
3 votes
1 answer
2k views

Using 18650 batteries with a 3.7v to 5v boost converter [closed]

I'm looking to set up a 1-meter strip of WS2812B LEDs (60 LEDs) with an off-the-shelf RF LED controller with a remote. The LEDs want a 5V supply - I've tried running them off 3.7v but the colour ...
user avatar
  • 33
0 votes
1 answer
3k views

WS2812B only works while I measure the voltage

I'm going crazy, there is clearly something I'm missing here. I have a NodeMCU V3.0 and a 5V LED strip WS2812B with 10 diodes. I tested this first with a 5V 0.3A power supply, only powering 3 diodes, ...
user avatar
  • 103
1 vote
2 answers
2k views

NodeMCU burned, did I something fundamental wrong?

I have a NodeMCU where I connected a LED strip (WS2812b, which operates at 5V). NodeMCU is powered via USB 5V. The used power adapter can supply 2.5A max. I don't have a separate power supply for ...
user avatar
  • 113
-1 votes
1 answer
93 views

WS2812 Matrix colour problem. Power?

I have 8 8x8 WS2812 Matrix LED boards connected together to make 2 16x16 matrices. I have them connected with Dupont wires. I also power the 2 16x16 with Dupont wires that are connected to a 5v 60Amp ...
user avatar
1 vote
0 answers
675 views

Running 5v and 12v strips together?

I want to run 5v and 12v strips and halos together, i read that with the 12v strips, give 12v to the strip but the data is always 5 volts, and tie the ground to the ground of the 5v controller? I use ...
user avatar
0 votes
2 answers
180 views

Methodology for designing/prototyping LED patterns

Several of my projects go through this time-consuming and tedious phase: design a LED pattern for a geometry of WS2812 LEDs implement it with e.g. FastLED write to Arduino and see results goto step 1 ...
user avatar
  • 155
-1 votes
2 answers
979 views

WS2812B LED Stripe going crazy with Arduino and External Power Supply

I have a simple connection here: A WS2812B 5m 300 leds strip 5V; A Power Supply MS-150-5 150W 5V; Arduino with a simple code to blink 10 first leds; TEST: If I connect my power supply to my LED ...
user avatar
0 votes
1 answer
1k views

Problem with html code in ESP8266 WebServer

Here I have a small problem: I have an ESP8266, to which I have connected a matrix of LEDs to move text (the array of LEDs is made with the tape of LEDs addressable ws2812); when you turn on the ...
user avatar
  • 252
1 vote
2 answers
3k views

How to control Neopixel LEDs in parallel?

Imagine a collection of LEDs (Neopixel or otherwise) labeled 2 through 12. There may be more than 11 LEDs, so repeat numberings are allowed. I want a simple way to control them from a single Arduino ...
user avatar
  • 131
4 votes
2 answers
202 views

FastLed LED Strip Output Checksum

I am wondering if anyone has ever connected the output of their LED strip back to the Arduino to read and make sure the strip is functioning correctly, kinda like checksum functionality. I am using ...
user avatar
  • 41
5 votes
2 answers
813 views

How to deal with unusual neopixel grid

I have built a custom installation in my home with 896 WS2812 LED driven by an ArduinoMega 2560 and powered by several rails just fine. However, the installation is arranged in a checkerboard-like ...
user avatar
2 votes
3 answers
8k views

Control multiple WS2812B strips with different leds count

First of all, my English is not that good so sorry if I made any mistake. I'm using the WS2812FX, an awesome WS2812 effect library base on Adafruit NeoPixel library to make a small controller for the ...
user avatar
1 vote
1 answer
4k views

LED strip problem... getting red when expecting white with lots of pixels. Fine with 1 pixel

I have an Arduino Uno. I bought this LED strip: https://www.amazon.com/gp/product/B019DYZNO6/ref=oh_aui_detailpage_o08_s02?ie=UTF8&psc=1 Starting initially using FastLED library. When I tried ...
user avatar
  • 111
0 votes
1 answer
187 views

Not getting pure color while using the FastLED with WS2812b

I am working with the LED strip WS2812b and FastLED library, currently I have only 3 LEDs connected in such a way that the first 2 receive a color (say green) and the last one receives another one (...
user avatar
  • 252
0 votes
3 answers
52 views

WS2812 HELP. Need name of Unkown component [closed]

https://i.imgur.com/u5SIvLo.png I need to know what the little "thing" that i marked in blue is and how it works. Thanks. picture taken here: https://www.sparkfun.com/products/13282
user avatar
  • 3
1 vote
1 answer
2k views

Do I have to wire up my WS2812 LED strip in "series", if I want to address each LED individually?

Let's assume I want to make an asterisk (*) out of LED strips. I want to control each leg individually, while still being connected to only one GPIO pin. The layout I had in mind, looks like this: ...
user avatar