Questions tagged [neopixel]
76 questions
0
votes
3 answers
how to use millis() instead of for loop in this function
I use Neopixels (64 LEDs), and I have a function called level_up that gets different led_num each time. Generally, it is a level bar; level[1] will light all the LEDs in a sequence from 0 to 28, level[2] all the LEDs from 29 to 48, etc.
The function…

KD Technology
- 35
- 6
0
votes
0 answers
How to block second thread start until the first thread stop or how to lock the button when the thread is executed in Tkinter
I have a problem with overlapping two threads. What is the best way to connect Tkinter and the method with an infinite loop inside to not freeze the entire gui. I have it realized in the form of two threads and control flags. Everything works except…

TheProrok29
- 3
- 2
0
votes
1 answer
Neopixel matrix with holes
I want to create a wearable LED Matrix face mask out of Neopixel LED stripes. However I need to compensate add holes for my eyes. How can I add holes in a matrix with the Adafruit_NeoMatrix Arduino Library.
Here is my matrix, 1 represents an LED, 0…

David Gölzhäuser
- 3,525
- 8
- 50
- 98
0
votes
1 answer
How to Optimally Shift Large Arrays n Number of Incidences
I am creating my own version of a music visualizer that responds to the frequency of music; a common project. I am using 2 strips of Neopixels, each with 300 LEDs making a total of 600 LEDs.
I have written functions, shown below, that create the…

nverdo
- 53
- 7
0
votes
0 answers
Arduino serial pin is not receiving data
I am trying to run a Geeetech Voice Recognition Module to recognize my commands and change the color of Neopixels with them. The problem is, that my Arduino never receives the output from the voice recognition module. When connect it to my computer…

capkaempfer
- 1
- 2
0
votes
1 answer
Adafruit NeoPixel library doesn't work when addressing more than 7 LED strips
As of my last question on SO I'm working on an interactive 14x14 LED table which is being controlled by an Arduino Mega (for further information about the setup and code have a look here.
After fixing the problem with data arriving at the Arduino in…

Samaranth
- 385
- 3
- 16
0
votes
0 answers
Microbit Python Neopixel RGBW
I'm trying to use an RGBW NeoPixel strip from my MicroBit and it works using CodeBlocks but I can't get access to the white pixel using MicroPython (https://python.microbit.org). It looks like the version of the neopixel module is an old version…

Jim Hudd
- 47
- 10
0
votes
0 answers
Python 3 neopixel non-functional
import neopixel
import board
import sounddevice as sd
from numpy import linalg as LA
import numpy as np
def getvolume(indata, outdata, frames, time, status):
volume_norm = np.linalg.norm(indata)*10
with sd.Stream(callback=getvolume):
…

user11118205
- 1
- 1
0
votes
0 answers
WDT reset cause 4 after reinstalling Arduino
I try to control my LED strip with an Android app.
I reinstalled the Arduino IDE since I didn't like the Windows-store version. The serial monitor broke for whatever reason so I switched back to the Windows-store version.
But now I'm getting a WDT…

Anony
- 1
- 1
0
votes
1 answer
Code to change color on led strip not working switching from Arduino Uno to NodeMCU esp8266
I wrote code to switch color on a LED strip depending on a value that I set (code below).
When I tried to load the same code on a NodeMCU ESP8266, this code doesn't work anymore. I used the library Adafruit Neopixel, which I thought is supported by…

Domenico Vito Scalera
- 43
- 1
- 10
0
votes
1 answer
Control dc-motor using H-Bridge and neopixel together with Arduino UNO
I am working on a project to control a DC motor rotation in forward and backward with an H-Bridge. And light up an adafruit neopixel same time when circuit turns on.
I made both things working separately. Now I combined the code but its not working…

Nikko
- 67
- 1
- 10
-1
votes
1 answer
24-Bit color decoding help (python)
Working with led strips from my end I use function Color(0-255, 0-255, 0-255) for rgb, the function encodes to 24-bit color and is written below
Def Color(red, green, blue, white = 0):
"""Convert the provided red, green, blue color to a 24-bit…

HaZZar
- 11
- 2
-1
votes
1 answer
Arduino DigiSpark NeoPixel BlueTooth C++ Buffer Overflow
i was able to make the following code after about a week of desk head banging, it works, kind of. the problem is that it's not that responsive, most of the times i have to spam the buttons on my phone to send the same command over and over again…

RayShifter
- 15
- 6
-1
votes
1 answer
How do I control my neopixel Arduino lights via a html website
I am fairly new to programming Arduino's, I have created a Arduino script using esp8266 to take a query from its up and performing a command. This works and I can type in to my browser 192.168.1.66/?code=r0-50 which turns on all the leds numbered…
-1
votes
1 answer
Controlling Neopixel on Arduino using Bluetooth results in Flickering
I am currently creating an app, where my Android phone continuously sends a Color-Integer to my Arduino. After that, the single RGB-Channels are parsed and sent to the Neopixel. I get a horrible flickering effect. Thus, I get some "?" in my Serial…

jannis
- 1
- 2