Questions tagged [led]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
19 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
14 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
23 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
1answer
43 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
19 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
119 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 ...
1
vote
2answers
86 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 ...
0
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
33 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
17 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
30 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
31 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
37 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
275 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
29 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
35 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
341 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
59 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
84 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
165 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
61 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 ...
0
votes
1answer
35 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
60 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
51 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
133 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
131 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
34 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
56 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
17 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
37 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
506 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
52 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
110 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
89 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 ...
0
votes
0answers
38 views

voltage drop in LEDs (data pin and power) and maximizing efficiency

I am looking to set up a group of 1m LED strips (as many as possible). my power supply is 5V 15A, and I want to use it to power both the Raspberry Pi zero w and the LED strips. The first issue that ...
-1
votes
2answers
54 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
67 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
101 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
144 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
51 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 ...
0
votes
5answers
1k 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
659 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
133 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
vote
2answers
81 views

Breadboard circuit with LED going through 2 circuits doesn't work as expected

I have the resistor, GPIO24, and the LED anode connected along the same row of a breadboard. The signal from GPIO24 works as expected, but any signal from GPIO23 is lost and the LED will not light. I ...
0
votes
1answer
352 views

5V Relay module working but LED not turning on - How to wire? [closed]

I'm trying to control a relay from Raspberry Pi that will switch an LED on/off. The relay is working (lightning up and clicking), but the LED doesn't turn on. Here is how I wired everything: VCC - 5V ...
1
vote
2answers
69 views

Another illuminated LED button question

I am completely new to Raspberry Pi and electronics so please forgive my lack of knowledge but I am trying really hard to learn something new. I have tried searching the forum but things said in any ...
1
vote
1answer
82 views

RGB LED - Only first color activates when multiple colors are called

I have one RGB LED (common anode type), and while I can get every color to light up independently I am seeing some bizarre behavior when trying to combine colors. This is my first project involving ...

1
2 3 4 5
9