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
1 answer
56 views

WS2812B LED strip problems

For starters, I'm using a generic 5 meter, 30 pixels/meter, 5V WS2812B LED strip. I've got a 5V/20A (100W) power supply as well. I'm using the adafruit-circuitpython-neopixel library, and my code I've ...
3 votes
6 answers
4k 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 ...
2 votes
1 answer
465 views

Error when sending second start command to Cylon.js to blink LED

Using Node.js, express and cylon.js, I'm getting a post request and blinking an LED using a raspberry Pi. I receive the first post request fine, the code runs and the LED blinks. However on the second ...
2 votes
2 answers
462 views

Issue running LED matrix with Fadecandy controllers in Processing

I have built an LED matrix using 2048 ws2812b leds. It is being controlled with 4 fadecandies and a processing sketch. I have it running fine on my laptop, but when I try to run the same sketch on ...
1 vote
1 answer
61 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 ...
2 votes
4 answers
121 views

Controlling and Powering 12v LEDs

Disclaimer: this is my first PI project, and at the moment I have only a basic knowledge of circuitry, so please be gentle. I'm looking to construct a device using a PI 3B+ that'll be housed outdoors ...
-2 votes
2 answers
588 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 ...
0 votes
2 answers
26 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
1 answer
24 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-...
3 votes
4 answers
4k views

'Zoom out' on 3.5 inch LED screen

I bought a 3.5" LED screen that is on my Pi, however it is nearly impossible to use because edges of windows are clipped off etc. How can I 'zoom out' so that all the windows are really tiny? ...
2 votes
1 answer
113 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 ...
1 vote
1 answer
356 views

Button isn't triggering in python script

Software guy here, first time doing hardware. Here is my breadboard setup (yellow is GPIO-8, green is ground): Here is my Python: import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO....
1 vote
2 answers
771 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 ...
1 vote
1 answer
534 views

Can I control 5050 RGB Strips with the Raspberry pi?

I have purchased 5 meters of a 5050 RGB Strip yesterday. I bought it for my PC case, but of course I don't want to use 5 meters in my case. I want to do some smart lighting in my room and a bias ...
1 vote
1 answer
41 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 ...
7 votes
5 answers
11k views

Are there other act_led_trigger options besides "mmc" and "heartbeat"?

/boot/overlays/README has this text: act_led_trigger Choose which activity the LED tracks. Use "heartbeat" for a nice load indicator. ...
1 vote
2 answers
354 views

7 color flash sensor does not blink

I have a raspberry pi 2 Model B v1.1 and 7 color flash sensor. I want to flash the led to get my hand into practice. This is my first program with raspberry pi and unfortunately i failed to flash the ...
2 votes
1 answer
2k views

controlling rgb led strip via spi and node js

I recently purchased a pi and a string of individually addressable rgb led lights from shenhzen kapata (actually amazon, but they're the ones who sell it) and I'm trying to control it with my ...
0 votes
1 answer
251 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
0 answers
28 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
398 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
49 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
2 answers
99 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
63 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
2 answers
5k 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 the ...
1 vote
0 answers
89 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 votes
2 answers
59 views

Power indication

I have build a musicbox with an rpi 3+ and added a power button and 2 buttons to turn the volume up and down. The buttons have LED lighting, I have connected them to GPIO pins but this results in ...
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
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 ...
1 vote
2 answers
674 views

Lots of LEDs in a chain

I need to control about 90 LEDs with a Raspberry Pi. I am thinking of doing with with 3 chains of 30 LEDs, so I can control each set of 30 LEDs independently (turn 30 on and off at a time) and change ...
0 votes
2 answers
941 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
40 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 ...
3 votes
2 answers
2k views

Connecting WS2801 LED strip to my Raspberry Pi

I'm new to the Raspberry Pi community and to working with electricity, so I'm looking for some advice. I've brought the WS2801 LED strip from eBay (but I think it's the same as this: https://www....
2 votes
2 answers
1k views

On-board LED connection to GPIO

I stumbled on this tutorial: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/ok01.html Unfortunately this is only made for the B rev2 board, whereas I got a B+ board and the board setup is ...
0 votes
0 answers
53 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) ...
3 votes
2 answers
673 views

External FDX and LNK LEDs

I'm making a project where the Raspberry Pi will be mounted inside a closed box, with buttons and LEDs on the front panel. Is it possible to have panel-mounted LEDs that replicate the status of the ...
0 votes
1 answer
206 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
325 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
246 views

anode RGB LED to raspberry Pi

I have wired up a common anode rgb led to my raspberry Pi. I dont understand why its not lighting up. My setup is this: 5v to rgb anode rgb to pi pins ( 5,6,26) My code is const Gpio = require('...
0 votes
1 answer
39 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 ...
-1 votes
1 answer
68 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
1 answer
674 views

How to turn off pin 23 correctly? SSH connection crashed

I am a newbie to the Raspberry Pi and as the title says, I was connected to my RPi through SSH protocol and the session suddenly was terminated due to a 'FlowSocketReader' error or something. My LED ...
-1 votes
2 answers
1k views

LEDs do not turn off after the Raspberry Pi powers down

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

Red LED on the Camera is not turning off?

The red LED on my Pi Camera is not turning off. Does this mean the camera is still on even after the camera.stop_preview() command is executed? def setup_camera(): camera = picamera.PiCamera() ...
2 votes
0 answers
49 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 vote
1 answer
543 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
0 answers
47 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
113 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
36 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 ...
6 votes
4 answers
6k views

Connecting blue LED (3.3V)

I've recently started doing basic diode connections (red and green diodes). I've also got blue diodes, but there's one thing that prevented me from connecting them already, namely - the specs say they'...

1
2 3 4 5
10