Questions tagged [led]

An LED, a light emitting diode, is a light source often used as an indicator.

Filter by
Sorted by
Tagged with
2
votes
4answers
41 views

Replace a red Led activation on RPI 4

I have a PI 4 and accidentally broke the red led. I don know how to identify it in order to get a replace piece and soldering Any idea or help, please?
0
votes
0answers
13 views

control Grove - RGB LED Ring/stick

Does someone have an idea how control Grove - RGB LED Ring (20 - WS2813 Mini) or Grove - RGB LED Stick (10 - WS2813 Mini) with Raspberry Pi 4, GrovePi and Python?
0
votes
0answers
30 views

How to power this LED array

I have this infra-red LED array that I took from an old game camera. I would like to be able to incorporate this into a Raspberry Pi project (home security camera). Specifically I would like to turn ...
0
votes
1answer
51 views

Raspberry Pi Python Script stops after some hours [closed]

i've read that it is a common issue, that some python scripts stops after about 3 hours. i have the same problem with mine. it is a script, that ligths up a LED strip like a fire. Unfortunately i'm ...
0
votes
1answer
103 views

Is it possible to connect multiple WS2812 LED Strips to a Raspberry Pi 3?

im new to the Raspberry Pi in general and followed this tutorial https://dordnung.de/raspberrypi-ledstrip/ws2812 to control a single LED Strip. I was wondering if it was possible two control a second ...
0
votes
0answers
27 views

Control LED strip with voice

I have a Raspberry Pi, an ADC microphone, and an LED strip. I would like to control the LED color by voice, e.g. say "red" and change the lights to red. I imagine it's possible because ...
0
votes
0answers
15 views

Raspberry PI connection to Matrix LED panel display issue

I have a Raspberry PI 4B 4GB, we have a Led Panel display (almost like a Matrix panel display), we use to have a Odroid XU4 with Ubuntu running our video display software but it broke, so we want to ...
0
votes
2answers
27 views

Should indicator LED's be wired in Series with active GPIO driving pins or on their own GPIO pins

I'm building a fairly complex Raspberry Pi project that includes several sensors and driver motors for a garden automation system. Ideally, I'd like to have LED's that indicate the status of sensors/...
1
vote
2answers
150 views

Controlling WS2812b LED strip produces inconsistent and uncontrollable output

Background I'm trying to control a single WS2812b LED strip from a Raspberry Pi. I've followed this tutorial from raspberrypi.com (with the exception of Prep & Installation step 4, because I ...
0
votes
0answers
34 views

Raspberry Pi Python Neopixel WS281x Script suddenly changes LED color

For my Python script I'M using this library. I try to set one single, permanent color to all my 60 pixels. As I'm using two LED strips (one strip at GPIO18 and one at GPIO 13), my code handels both of ...
2
votes
2answers
158 views

Do I need a base resistor for a transistor? [closed]

All I plan to drive a 51 ohm LED using the pi's 5v pin using a 2n2222 transistor connected to the GPIO. Do I need a resistor on the base pin of the transistor or can I connect it directly to a GPIO ...
0
votes
2answers
406 views

Pi 4 ethernet connector LEDs

My Pi 4 Model B - 2GB RAM SBC has an RJ45 ethernet connector. The connector itself has two inbuilt LEDs, one yellow, one green. On some devices such as network switches, the colours can indicate link ...
-1
votes
1answer
13 views

camera program gives error when run in /etc/profile but the program runs fine

This is the error I get : picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources import numpy as np import os from picamera import PiCamera from time import sleep from gpiozero ...
0
votes
1answer
27 views

Pin 16 not lighting up

First time actually using the hedears on my raspberry pi zero w. These headers were soldered on when I got it. When I connect my red lead to the 5v pin, it lights up, so the circuit's correct. When I ...
0
votes
0answers
68 views

I cannot make 7Segment 4Digit TM1637 to work

I bought 7Segment 4 Digit TM1637 And i wan to make it work with Raspberry Pi 3B However, it doesn't work I think i wired everything correctly, and i used this python lib https://pypi.org/project/...
0
votes
0answers
18 views

ltp305 Dot Matrix Python Library not allowing me to use display.set_character()

I am trying to display a number on a Dot Matrix ltp305 display that increases with each button press, enabled by the pressing of a normal button connected to the GPIO. I am sure everything is ...
0
votes
0answers
33 views

LED strip works through Arduino PWM, but not Raspberry Pi PWM

I've been stuck on this for a while. I'm following a simple tutorial for RPi-controlled LEDs. From this, my LEDs do random stuff and don't light up correctly. I've been trying strandtest from this ...
0
votes
1answer
37 views

Green LED always on, but everything seems to be normal?

Raspberry Pi 4 (8GB) Ubuntu 20.04 (booting from USB, no SD card) My green LED is constantly on, but everything seems to be running fine. I initially thought it may be because I'm seeding with Deluge, ...
0
votes
0answers
67 views

Raspberry Pi 4 with Adafruit HT16K33 LED Driver Breakout, 8x8 matrix starts at [1,0] instead of [0,0]

As stated in the question title, I'm using the RPi4 and Adafruit HT16K33 LED Driver Breakout (this is the board without any external LED matrices attached). Im trying to build an LED matrix for part ...
0
votes
0answers
289 views

AttributeError: 'NoneType' object has no attribute 'send' for my LED on off code through blynk

I am trying to run a cod for LED on and off through blynk app but every thime it is showing this error: AttributeError: 'NoneType' object has no attribute 'send' my code is import RPi.GPIO as GPIO ...
0
votes
0answers
32 views

Dimmable directional LEDs under GPIO control?

I'm wanting to source miniature 12V dimmable LED spotlights for control by the Pi. I've used IRLZ34N mosfets in a simple circuit and gpiod/pigs on the Pi before to control 12V "5050 RGB" LED ...
0
votes
0answers
45 views

Beginner question: Bad results with WS2812B and strandtest.py

I have a setup for testing my WS2812B led strip with the raspberry pi. I am following the AdaFruit best practice guide Including using the recommended level shifter after the pwm pin. I've included ...
1
vote
0answers
51 views

Rasberry Pi 4 LED.off() will not turn led off in a function

I have a simple circuit connected to my Raspberry Pi 4 with 3 push buttons and an LED. The buttons are connected to gpio2(pin 3), gpio17(pin 11), and gpio16(pin36), with the LED connected to gpio25(...
0
votes
1answer
499 views

How can Rpi Python PWM GPIO pins control and dim LED strips of 1W 350mA?

I'm trying to figure out my first RaspberryPi (3B+) project, where I'm going to manage 3-4 White LED Strips with following specifics for a single one: 350mA Constant Current (max 400mA) 39,6V Voltage ...
0
votes
1answer
85 views

Raspberry Pi + LED Video Processor and resolution issues

I'm working on trying to get a P6 LED screen (connected via a NovaStar TB2 video processor). I've been playing with various options in config.txt but I can't seem to get it to display properly. This ...
0
votes
2answers
243 views

How to control the brightness of an LED with or without additional hardware by setting a variable

I already know that using for example GPIO.output(led_pin, led_state) I can turn on and off an LED. What I would like to have, is to adjust the brightness of an LED, either by an absolute value (in ...
1
vote
1answer
239 views

Control single-light LED strip 24v with Raspberry pi and mosfet

I'm trying to make my LED strip fade-in and fade-out by using Raspberry-pi 4, unfortunately for me, I am not an electronic expert. Every tutorial I saw so far was for RGB LED strips and I have a ...
1
vote
0answers
98 views

How to use Rpi SPI MCP3008 ADC to read visual light LED's transmit and receive signals?

EDIT: Firstly I wrote it a bit confusing way. So let me summarize my problem. This is something like answer to comment bellow. (1) I am trying to make somethin like visible light communication based ...
-1
votes
1answer
43 views

Shutting down a LED when a script fails

I have a python3 script which is started by systemd automatically on boot. This script turns on a green LED to signal that the script has started. Now I want the LED to turn off if the script fails/...
0
votes
1answer
88 views

Power consumption of APA102C LEDs when turned off? (Pimoroni Blinkt!)

I have the Blinkt! Module for my Raspberry Pi (https://shop.pimoroni.com/products/blinkt) which from what I can tell features 8 APA102C LEDs (Datasheet: https://cpldcpu.files.wordpress.com/2014/08/apa-...
-1
votes
2answers
69 views

Transistor and 12V diode strip

I wanted to control my 12V diode strip with Raspberry, but I am not very confident in my circuit-creating abilities and I don't want to fry my Raspberry. So I created a basic circuit diagram: I want ...
0
votes
0answers
232 views

ws2811 LED lights powered by Raspberry pi 3B+ sometimes produced the wrong color

I am using a 3B+ pi to power Alitov 5V ws2811 LEDs. A link to the exact lights can be found here. To power the lights, I am using a 5V 10A power supply. To control the lights, I have connected the ...
-1
votes
2answers
237 views

LEDs not turning off after Raspberry Pi power down

I have a Raspberry Pi with six LEDs and button (also with LED) on the custom circuit board that is connected to GPIO pins. This RPi previously had an AdaFruit Neopixel with LEDs, but later my client ...
0
votes
1answer
39 views

Backlight control with 2.4 Inch display

I have 2.4 Inch display attached to a Raspberry Pi 3B+, it totally works, but I've noticed that when raspbian turn off the display, the backlight led is still on. There is a way to control the ...
0
votes
0answers
91 views

Raspberry Pi Neopixel LED WS2812 Custom animations

I have just finished creating a small Web app to control some LEDs around my room. I have been browsing the internet for quite some time until finally turning to Reddit. I am looking for ways to ...
0
votes
0answers
18 views

Looking for a "high resolution" LED strip

I'm trying to find a high density addressable led strip, mean as many LEDS crammed as close together as possible and their colors can be changed individually. I want to make a spinning blade of LEDS ...
-1
votes
1answer
42 views

Dim when not configuring any GPIO pins; why?

I am an absolute beginner with the Raspberry pi and also know only basic electronics, so please excuse me if this is a very basic question. I wired my Raspberry pi 4 like this to control an RGB LED. ...
1
vote
1answer
2k views

How do I connect a Raspberry pi to ws2811 LED lights through GPIO18 pin?

Before I start, I should note that I have never used a raspberry pi before, so my only experience is trying to get this project to work. I recently bought ALITOVE WS2811 12mm (5 V) LED lights in hopes ...
1
vote
0answers
64 views

WS2812B individual addressable lights too slow

I have an rpi-0-w that I use to control WS2812B strip (300 LEDs). With one strip everything is fine, but when I connect 2 more strips, obviously, update speed drops. Is there a way to increase the ...
0
votes
2answers
167 views

How to create unfazed pwm signals?

I have two pins with the same frequency (10Hz) and same duty cycle (50%) assigned to two different leds. How can I make the two leds blink alternatively? How can I put a delay of 50% in one of the ...
0
votes
1answer
137 views

gpiozero's LED.toggle() switches LED again after some seconds

I am using the gpiozero library to controll a LED strip and a relay connected to my raspberry pi 4. This is the way I connected the LED strip to the pins. I use a type SMD5050 LED strip similar to the ...
-1
votes
2answers
57 views

Inconsistency with recommendations for resistors for LEDs

I'm so confused. I've got a Pi operating obviously at 3.3v and I know I need to use resistors to avoid damage. However I cannot find any consistency in the tutorials for what value to use. I've seen ...
0
votes
0answers
25 views

Raspberry Pi Hosted, Network LED Manager

I have been looking for a while and I have not found an answer. I am looking for a vendor neutral, LED manager/server that would let me manage all of the wireless LED strips already in my network. ...
0
votes
0answers
73 views

How do I turn off the LEDs on the YWRobot ICE Box - RPI Fan V1?

I'm using the YWRobot ICE Box - RPI Fan V1 on my RPi stack. The Blue LEDs are annoying, does anyone know how to turn them off? Permanently? Thanks.
0
votes
1answer
122 views

Sending a NEC like signal via a GPIO

I'm trying to control an existing LED strip controller with a Raspberry Pi. The controller has an IR receiver to receive commands. I removed the IR receiver of the controller and added a connection to ...
0
votes
2answers
182 views

Driving an addressable LED matrix as a display

I'm spec'ing out a project to use a grid of addressable LED strips to build a pixel fireplace installation, and I'm working on how best to drive the fire graphics. I see there are python libraries for ...
1
vote
1answer
54 views

Unable to control GPIO from the code

I am using raspberry pi 4b along with Freenova kit. I am trying to make the LED blink however it does not blink instead it is ON of the time. I have tried different code (C,Python,Java) but none of it ...
3
votes
5answers
2k views

Turn off external LEDs on Raspberry Pi 3

I see there are quite a few posts about this already but none seem to work for me. I am running a pihole server on my RPi 3 and I would like to turn off the external power and LAN LEDs (green and ...
1
vote
2answers
878 views

Pi4 GPIO Control with Java

I am basically trying to turn on a led by using pi4j library. My code is pretty simple: public static void main(String args[]) throws InterruptedException { GpioController gpioController = ...
-1
votes
1answer
245 views

Detect when LED is on

I'm trying to get the status of a LED (being controlled from another Pi, but on the same breadboard). If the LED is on, to get the other Pi (GPIO 25) status to be on and vice versa. Here is the code ...

1
2 3 4 5
9