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
10 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
22 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
61 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
28 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
41 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
41 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
29 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
52 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
23 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
30 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
43 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
54 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
34 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 ...
1
vote
3answers
263 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
202 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
49 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
53 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
94 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
55 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
54 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 ...
0
votes
1answer
83 views

writing to GPIO [closed]

Is there a way using python (Raspberry PI 4) to write a nibble to the GPIO in one write operation. I have done a project which would benefit from that. Project details here. https://sites.google.com/...
0
votes
2answers
43 views

Red Led flashing

I have a PI 4, WHEN using a 3.5A USB power measured 5.1v supply, the red LED is constantly on. When using a power supply which was rescued from a DVD player, checked supply 5.1v I get a flashing red ...
1
vote
1answer
105 views

Connecting 12V LED to Raspberry Pi GPIO (3.3V)

Currently I am working on RPI GPIO with a breadboard, some LED's and buttons. My next step is to add a bigger button and LED to de GPIO. I would like to connect an Eaton 216557 LED-module to the GPIO ...
3
votes
1answer
175 views

Editing heartbeat LED trigger

I am trying to edit the timer of heartbeat trigger on RPi Zero. I have found original .c file of kernel driver here https://github.com/raspberrypi/linux/blob/rpi-5.4.y/drivers/leds/trigger/ledtrig-...
1
vote
1answer
174 views

Running video on a DIY LED strip matrix

I've created a 600 LED wall using WS2811 addressable LED strips wired in series, but I have found it quite difficult to find a tutorial or article on how to get it to project video (or any animation ...
0
votes
0answers
40 views

How to make a Led Visualizer with USB audio input

I've been trying to figure how to get this to work or a while now, I've found a GitHub for a led strip visualizer called ledvis and it supposedly works with audio input, but the depository is very ...
0
votes
1answer
34 views

Can an RGB LED reproduce the colours as we see on a PC monitor? [closed]

The RGB LED I bought is a cheap one. It seems that even though it has 3 colour components (R,G,B), It cannot really reproduce such colours as I see on a PC monitor. For example, setting the same low ...
0
votes
1answer
86 views

What values for PWM to set intensity from 0 to 255?

I am using hw-479 that looks like the picture below. I cannot find much of information for it but the Alibaba page says The RGB LED module is made of a plug-in full-color LED. The PWM voltage input ...
0
votes
1answer
49 views

Controlling LED using PWM

When I run this code I’m expecting to get a led that brightens but I get a led that dims. import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setup(11,GPIO.OUT) dc=0 LED=GPIO.PWM(11,...
0
votes
0answers
18 views

Can't get to toggle leds with WiringPi library in C

So I got my python code to run that basically just toggles the LED, but now I tried enabling the GPIO via WiringPi library in C but it doesn't work. Considering python code runs, there isn't really ...
1
vote
1answer
67 views

DIY power indicator LED stays half-on when system is off; shared GPIO conflict?

This is my first foray into Raspberry Pi (and these kinds of electronics in general) as well as asking questions about it here. My goal: Attaching a power indicator LED along with a fan (Pimoroni Fan ...
0
votes
1answer
76 views

problems lighting up LED on pi 3

HI i am new tp pi and python and wanted to create something that simply turns on and off a led. It does not seem to work and not sure why? here is the python script: from gpiozero import LED, ...
1
vote
1answer
118 views

Issue with a 12v switch via GPIO output

I am a beginner when it comes to electronics so I would appreciate your help with a simple project I am working on and have been struggling with for several days. The idea is that I have a PIR Sensor ...
0
votes
0answers
49 views

Control LED as traffic lights from web using Apache server and PHP

Hi I am a newbie on this kind of projects and now I am starting with a project where I control 3 LEDs from web.It works to control each one, but now I want to make something like traffic lights, ...
1
vote
0answers
64 views

NeoPixel library slow with large number of WS2812B LEDs (Raspi3)

Noob here, I am currently working with a 10m long strip of 144LED/m density LEDs. The problem is with such a high number of LEDs loops (like a color wipe for example or filling LEDs one after another) ...
2
votes
2answers
134 views

Can't Make IR Led Turn On

I'm trying to get my raspeberry pi to control a floor fan via IR. I'm stuck on getting the IR codes to be emitted through the IR LED. I'm not able to get the IR LED to turn on at all. I'm checking ...
0
votes
0answers
26 views

Flashing of LED

This is my first post here so HELLO and sorry if I'm posting in the wrong place. I had assigned a time limit of 40s for led blinking. Can I pause the blinking of this led and make another led to blink ...
0
votes
1answer
112 views

Increase sleep interval for LED sequence whenever button is pressed. (Python)

This is the code: #!/usr/bin/python3 from time import sleep from gpiozero import LED, Button from threading import Thread from signal import pause, signal, SIGTERM LEDs = [5, 17, 22, 19, 26] LIGHTS ...
0
votes
1answer
67 views

RFID and LED Script disables RFID reader until reboot

I have two simple scripts, which work individually. One simply lights an LED, the other reads RFID. Now I want to put them together, but seem to fail. Once this runs, I can't read RFID anymore until ...
1
vote
2answers
193 views

RGB Led flickers when controlled by GPIO Raspberry

I found a python script to control an RGB LED with GPIO output pins from a raspberry. I connected a common cathode LED to the GPIO Pins and added a 300 ohm resistor to the ground pin. When I run the ...
0
votes
1answer
665 views

Running a python script from a webserver

I made a Webserver using my Laptop and a few PHP-HTML-Javascript programms. Right now i am able to connect to these pages and everything works just fine. My problem is that i want to run a Python ...
1
vote
1answer
37 views

8x8 Matrix (max7219): Half of the LEDs permanently on

I am trying to hook up an 8x8 LED matrix to my Raspberry Pi 4B. I connected it to SPI1 because I am already using SPI0 for another device. Here are the pins I am using: CLK - GPIO 20 CS - GPIO 16 DIN ...
0
votes
0answers
79 views

Controlling LED Matrix display with TF-S6UW0

I am using Rasberry pi 4 (4GB RAM version). What I am trying to do is be able to set the text of the matrix screen using a command or by calling a script (preferably in python). I am using a P10 ...
1
vote
0answers
59 views

How would I go about writing a program(python) to mimic the use of an AND Gate using Raspberry Pi

How I set up my breadboard: Placed SN74LS08N (AND gate) on a breadboard. Connected IC pin 7 to GND and IC pin 14 to 5 V for IC to get powered. Connected GPIO pin 16 to IC pin 13, Connected GPIO pin ...
2
votes
1answer
44 views

Need Help with Controlling Some LEDs with a Raspberry Pi

I'm mainly trying to follow this guide here in order to connect some LEDs to a Raspberry Pi. I've read other guides as well, but this link is where I got the majority of my setup done. I've never used ...
2
votes
1answer
70 views

Traffic Light Led Change During NOAA Satellite Script?

I have the following script that downloads and processes NOAA satellites. I'd really like some external LEDs to indicate the following; When the script is running, turn or blink red When the script ...
0
votes
1answer
36 views

Can the sleep() function take floating point values?

If I try to have my code sleep for an arbitrary non-integer value it appears that the sleep() function rounds to the nearest integer. For example: GPIO.output(LED, GPIO.HIGH) sleep(0.3) GPIO.output(...
1
vote
0answers
104 views

Malfunctioning Raspberry pi 4, red and green led on all the time

My Raspberry Pi 4 won't boot anymore, there is no picture on the monitor, and both LEDS (red, green) are on all the time, they do not blink. I formatted the SD card with SD Card Formatter and ...
1
vote
1answer
311 views

Powering LED strip off a raspberry pi zero - works but lights at end of strip fade

I am powering LEDs off my RPIZero to use as an Ambilight clone. My setup has the LEDs being entirely powered off the GPIO pin 2 (5v)but I have noticed that the far end of the strip seems darker and ...
1
vote
1answer
124 views

RAM Usage of Neopixels: How many can I power with a Raspberry Pi

I am building LED Matrix's with Adafruit Neopixels, and I read somewhere that the amount of pixels you can control is limited to how much RAM you have on your controlling device, in this case, a "...

1
2 3 4 5
9