Questions tagged [ws2812]
An RGB LED, when run in a strip, is individually addressable.
48
questions
0
votes
1
answer
54
views
Why is my variable giving the wrong value?
I'm making a program to show numbers in a WS2812 LED and TM1637. I'm also using a common 4x4 keypad.
The WS2812 LED is just DIY with 25 x 10. Only two values can be displayed in a LED matrix just now. ...
0
votes
1
answer
55
views
NodeMCU code that both display OLED and control WS2812 LED Ring
I'm trying to make a project using NodeMCU that show pictures in small OLED screen and also controlling WS2812 LED Ring.
I manage to do each of them separately but I'm not sure how to mix them ...
1
vote
1
answer
130
views
WS2812b - Interpolate pixels on neopixel matrix with mask
simplified my goal is to display a transitional Background and some shapes. This shapes are not moving hard rasterized by 1 pixel, more like .1 each cycle. So I need a way to interpolate the movement ...
0
votes
0
answers
37
views
How can I control the assignment of DMX512 universes to WS2812B physical outputs sequentially
Background
I am using an ESP32 that receives sACN/DMX512 universes from a controller and am outputting those control signals to a strip of WS2812B pixels using Adafruit's library for WS2812B and ...
1
vote
0
answers
64
views
FastLED web client, clicked on page to control on and off for ws2812
FastLED web client, when clicked on, all RGB on in red color. Clicked off, all RGB off/black. but not work.
Here is the full code, i don't know why it's loop always and web client stuck when i clicked ...
2
votes
0
answers
287
views
Coding issue with Fast LED Multiple Colour Palettes in a State Machine
I am working on a project using the WSB2812B LED strip, with a ATmega644A using the MCUdude/MightyCore plug in (https://github.com/MCUdude/MightyCore).
I am using Fastled 3.3.3 with Ardunio 1.8.13 on ...
1
vote
1
answer
473
views
How can I clear two FastLEDs strip ws2812b separately? One strip is connected to pin 7 of UNO and other strip to pin 6 of UNO
The power supply is external. I want to clear one strip say pin 7, and meanwhile i dont want other strip say pin 6 to switch off...I use
FastLED.clear();
FastLED.show();
But it clears all the led ...
0
votes
1
answer
181
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 ...
-1
votes
1
answer
249
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 ...
3
votes
1
answer
96
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 ...
1
vote
1
answer
372
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 ...
0
votes
1
answer
1k
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 <...
0
votes
0
answers
286
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 ...
2
votes
2
answers
837
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 ...
0
votes
1
answer
311
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 ...
1
vote
1
answer
797
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 ...
2
votes
3
answers
4k
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 ...
1
vote
1
answer
2k
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 ...
2
votes
1
answer
117
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 ...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
257
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 ...
0
votes
1
answer
1k
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'...
0
votes
1
answer
280
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 ...
0
votes
2
answers
793
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 ...
1
vote
0
answers
1k
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 ...
1
vote
0
answers
451
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), ...
0
votes
1
answer
135
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 ...
0
votes
1
answer
2k
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, ...
1
vote
0
answers
71
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 ...
-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, ...
0
votes
1
answer
422
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 ...
-1
votes
2
answers
2k
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 ...
3
votes
1
answer
3k
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 ...
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, ...
1
vote
2
answers
3k
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 ...
-1
votes
1
answer
118
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 ...
1
vote
0
answers
799
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 ...
0
votes
2
answers
210
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
...
-1
votes
2
answers
1k
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 ...
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 ...
1
vote
2
answers
4k
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 ...
4
votes
2
answers
215
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 ...
5
votes
2
answers
940
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 ...
2
votes
3
answers
9k
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 ...
1
vote
1
answer
5k
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 ...
0
votes
1
answer
274
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 (...
0
votes
3
answers
53
views
WS2812 HELP. Need name of Unkown component [closed]
https://i.stack.imgur.com/pbYn6.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
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:
...