Questions tagged [led]
An LED, a light emitting diode, is a light source often used as an indicator.
460
questions
0
votes
1
answer
23
views
how do i run a script when the cpu gets too hot [duplicate]
i need to send commands to my hats that control fans and a little warning LED if the cpu goes above or below a specified state of temperature
https://unix.stackexchange.com/questions/756721/raspberry-...
0
votes
2
answers
20
views
Where to find LED values of the Raspberry Pi Pico MicroPython Learning Kit?
I am getting started with a pico and I got the Raspberry Pi Pico MicroPython Learning Kit from waveshare (https://thepihut.com/products/raspberry-pi-pico-micropython-learning-kit-pico-included)
It ...
0
votes
0
answers
22
views
WS2812B addressable led does not turn on after a certain point
I control thousands of leds using WS2812B led with Raspberry Pi 3. But since I have two different led types (both ws2212b), I use two different pins. Logically, I connected a 5V 10A power supply to ...
0
votes
1
answer
201
views
Missing /sys/class/leds/led0 and /sys/class/leds/led1 directories on Pi3 Model B Rev 1.2?
I have two RPis one 3B Model 1.2 one 4B. I set up both as subnet routers for Tailscale and wanted to turn off both the Power/Activity and Ethernet LEDs (all the LEDs). I put PiOS 64 Lite (Bullseye) on ...
0
votes
0
answers
36
views
Control strip led 24v TM1814
I would like to control a rgbw led strip of hundreds of meters (due to its length, I need to work with 24v).
I'm thinking of buying these TM1814 LEDs, which can be cut every 6 LEDs/10cm and have a ...
1
vote
1
answer
28
views
Using MAX7219 Dot Matrix module with Luma.Led on different GPIOs
I have a MAX7219 dot matrix module (this one) that I'm trying to run on my Raspberry Pi 4 with the Luma.LED library. Its documentation suggests the following GPIOs/pins be used:
Board Pin
Name
...
1
vote
2
answers
53
views
ACT LED stops blinking, Raspberry Pi booting and reading from card as always
I couldn't find a similar situation. I noticed that the ACT LED on the motherboard of my Raspberry Pi 4 stopped working. I used to see it blinking while restarting the Pi, now it's gone. It is ...
1
vote
0
answers
58
views
RPi 3B not booting, only a stable red light
As I said in the title, my RPi 3B just wont boot and has a stable red light.
I have tried the following:
Re-flashing using balena etcher and raspberry pi OS flasher
Using multiple different power ...
1
vote
0
answers
73
views
Problems addressing WS2812B LED Strip with Raspberry Pi 3 A+
Hello!
I am currently having issues addressing my WS2812B LED-strip correctly with my RPi 3 A+. I have followed the following video guide:
https://forum.core-electronics.com.au/t/problems-addresing-...
1
vote
0
answers
32
views
I2C 1 light at a time`
i am currently using the NCP5623 (I2C LED Driver) to light up my 5V 1A (as written on the box) RGB LED strip.
i followed the sample connection as shown on the datasheet of the NCP5623 and when i ran ...
0
votes
0
answers
36
views
Led matrix with hole cut out
I'm a student artist with a decent background in robotics/cs working on a sculpture and was hoping to use a raspberry pi and a led matrix. I was hoping to cut out a section in the middle of the matrix ...
0
votes
0
answers
39
views
WS2811 LEd strip RPI3B+ flashing cloud
I want to build similar project like this https://youtu.be/EoGVQl3SjGY
but with use of RPI 3B+
I only need to code 20LEDs (one strip) to flash randomly in various intensity and colours from (80,0,150) ...
0
votes
1
answer
168
views
Pico W Grounding Problem
So im pretty new to hardware stuff and bought a Pico W.
I followed this tutorial and it kind of worked.
The blue cable goes from Pin 2 to the LED, the led to the resistor and the resistor over the ...
1
vote
1
answer
290
views
Controlling leds with potentiometer and a button on a raspberry pi pico
I am trying to control Leds with a button to change if one is on or off and a potentiometer to control the brightness of the Leds. I am using a Raspberry Pi Pico. Is there a way to do this.
0
votes
1
answer
36
views
LED In series with input pin
I was wondering if anyone here may be able to help me.
I currently have a C# program running on a raspberry pi, that detects the state of a toggle switch connected to pin 13, and ground. I have an LED ...
2
votes
0
answers
47
views
How can I get my python program that uses the requests library to run on boot via the crontab
I am working on creating a python script to retrieve data from a server using the requests library, and then display it on an adafruit led matrix using a raspberry pi. I have a program that functions ...
-1
votes
1
answer
62
views
signaling Raspberry Pi with PLC
I want to give signal via PLC to Raspberry Pi and when the raspberry pi gets that signal, it should run the python script and when the python script execute properly and cycle is completed, it should ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
95
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....
-2
votes
1
answer
34
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 ...
1
vote
1
answer
622
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:
[...
0
votes
2
answers
358
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 ...
-2
votes
2
answers
502
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 ...
1
vote
1
answer
58
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 ...
1
vote
1
answer
465
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 ...
0
votes
3
answers
81
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 ...
-1
votes
1
answer
333
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) ...
2
votes
4
answers
202
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
0
answers
53
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
1
answer
359
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
2
answers
795
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
0
answers
53
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
0
answers
28
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
2
answers
59
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
2
answers
724
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 ...
2
votes
2
answers
701
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
2
answers
3k
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
1
answer
26
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
1
answer
31
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
0
answers
184
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
0
answers
29
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
0
answers
147
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
1
answer
129
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
0
answers
378
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
...
1
vote
0
answers
81
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
1
answer
1k
views
How can Rpi Python PWM GPIO pins control PT4115 to 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
1
answer
233
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 ...
1
vote
2
answers
2k
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
1
answer
668
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
0
answers
195
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 ...