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
0 answers
12 views

Connecting LEDs via Joy-IT ProtoShield+ GPIO

I am starting my first Raspberry Pi project and want to start with controlling some LEDs. I bought a Joy-IT ProtoShield+ (https://joy-it.net/en/products/RB-Proto+) for prototyping but I do not ...
user avatar
  • 101
0 votes
0 answers
35 views

Turn on LED using pi4j and Raspberry pi 4

I am so new to Raspberry Pi. I want to use pi4j 2 to flash a led that is connected to a raspberry pi. This is my code but the led does not turn on at all: import com.pi4j.Pi4J; import com.pi4j.io.gpio....
user avatar
-2 votes
1 answer
24 views

hi i have a problem with dht11 and LED

I want to record data from dht11 and turn on the LED in the same code the dht11 work good by separate code the led also work well by separate code the problem is when I make it one py code problem ...
user avatar
  • 3
2 votes
1 answer
84 views

Raspberry Pi 4: exchange power LED with activity LED

the default situation with the two LEDs on my Raspberry Pi 4 is as such: [situation now] Green LED: read and write activity of my SD card Red LED: Power I would like to change the the LEDs to: [...
user avatar
0 votes
2 answers
81 views

How do I diagnose GPIO issues?

I was soldering LEDs in an extended line the other day when I accidentally forgot to shut my Raspberry Pi 4 off. I continued to solder and soon enough shorted my Pi out. It rebooted quickly and all ...
user avatar
-2 votes
2 answers
142 views

12V LED/switch - where to insert resistor to connect to PI GPIO

Hoping someone can help me with connecting my 12V push button LED circuit to a PI GPIO. I want to be able to sense when the button is pressed and the LED lights up using python. From what I've read I ...
user avatar
  • 371
0 votes
0 answers
16 views

minecraft server led ring changinfg color when server is on

am pretty new to pi stuff i manage to install minecraft server and it work fine now i would like to make my led ring work with the server like in the part 6 of this guide https://www.instructables....
user avatar
  • 1
0 votes
1 answer
24 views

Obtaining a constant audio signal independent to volume

Sorry if this is a silly question but Is there a way to have an independent gain audio signal from a Raspberry Pi that does not vary with the software volume control? I am trying to get a constant ...
user avatar
  • 1
0 votes
1 answer
128 views

Bare metal LED access on RPi 4

I've been playing with the Baking Pi tutorials, getting assembly code to work on the [bare metal] Pi 1 (BCM2835). I'm now interested in adapting the code to work on the Pi 4 BCM2711 but I'm struggling ...
user avatar
  • 178
0 votes
3 answers
64 views

Connecting LEDs with least pins and wiring

I want to connect 5 leds (red, blue, green, yellow and white) to my raspberry Pi. Only 1 led will be lit at a given point in time. Is it possible to connect them all to a single GPIO port and using 1 ...
user avatar
  • 111
-1 votes
1 answer
71 views

What mosfet should i use for controlling a 24V 48W RGB ledstrip with a Raspberry Pi?

I am trying to control multiple 24V RGBWW (6-vein) ledstrips with my raspberry pi 3b+. The ledstrip is 2 meter (24W p/m) long, and will be cut into 3 pieces. I want to control each piece (~67cm) ...
user avatar
2 votes
4 answers
71 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?
user avatar
0 votes
0 answers
56 views

control Grove - RGB LED Ring/stick

Does someone have an idea how to control Grove - RGB LED Ring (20 - WS2813 Mini) or Grove - RGB LED Stick (10 - WS2813 Mini) with Raspberry Pi 4, GrovePi and Python?
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 127
0 votes
1 answer
131 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 ...
user avatar
0 votes
1 answer
271 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 ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
0 votes
2 answers
28 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/...
user avatar
  • 1
1 vote
2 answers
296 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 ...
user avatar
  • 121
2 votes
2 answers
244 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 ...
user avatar
  • 23
0 votes
2 answers
1k 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 ...
user avatar
-1 votes
1 answer
14 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 ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
  • 109
0 votes
0 answers
100 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/...
user avatar
  • 101
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
53 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 ...
user avatar
0 votes
1 answer
44 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, ...
user avatar
0 votes
0 answers
308 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 ...
user avatar
1 vote
0 answers
56 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(...
user avatar
0 votes
1 answer
722 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 ...
user avatar
  • 119
0 votes
1 answer
130 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 ...
user avatar
0 votes
2 answers
620 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 ...
user avatar
  • 27
1 vote
1 answer
357 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 ...
user avatar
  • 111
1 vote
0 answers
128 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 ...
user avatar
  • 11
-1 votes
1 answer
47 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/...
user avatar
0 votes
1 answer
108 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-...
user avatar
  • 1
-1 votes
2 answers
92 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 ...
user avatar
0 votes
0 answers
290 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 ...
user avatar
-1 votes
2 answers
453 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 ...
user avatar
0 votes
1 answer
46 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 ...
user avatar
  • 149
-1 votes
1 answer
59 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. ...
user avatar
  • 21
1 vote
1 answer
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 ...
user avatar
1 vote
0 answers
78 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 ...
user avatar
0 votes
2 answers
252 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 ...
user avatar
0 votes
1 answer
184 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 ...
user avatar
  • 3
-1 votes
2 answers
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 ...
user avatar
  • 61
0 votes
0 answers
27 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. ...
user avatar
  • 1
0 votes
0 answers
85 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.
user avatar
0 votes
1 answer
146 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 ...
user avatar
  • 3

1
2 3 4 5
9