Questions tagged [led]

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

72 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
560 views

LED strip PWM on GPIO18 + mono audio output

On the RPi 3 I would like to control a WS2811 LED strip with PWM (GPIO18) by keeping the audio working. It looks like for the RPi Zero (I'm unsure for RPI 3 though) left and right channels of the ...
2
votes
1answer
69 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 ...
2
votes
0answers
58 views

How do I power an IR LED signal that is 50 feet away?

I'm building an IR blaster with an LED that will be wired 50 feet away from the circuit. I'm going to use this 18 gauge wire to extend the LED connection. I'm using a GPIO pin connected to a BC547b ...
2
votes
0answers
175 views

Need help with Controlling WS2812B LEDS

I have made a 5 x 5 WS2812B RGB LED matrix to work with my raspberry pi. I'm trying to figure out how to run several tests from this tutorial: https://tutorials-raspberrypi.com/connect-control-...
2
votes
0answers
394 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 ...
2
votes
2answers
429 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 ...
2
votes
1answer
434 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
0answers
398 views

Led - Manual control of WS2801 chip

I'm wondering if there's a way to manually control a multicolour LED strip powered by a WS2801 chip, i.e. being able to type a bash command from raspbian or any kind of software control, something of ...
2
votes
1answer
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 ...
2
votes
0answers
2k views

Unable to control 5V LED strips

Using this addressable LED strip: WS2801 Led Full Color character string matrix screen point source 12mm 5V WS2801 IC Chip, Addressable Color, need for controller. Identify IC every led light, Red- ...
1
vote
0answers
58 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 ...
1
vote
0answers
103 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
0answers
24 views

LED Strip on Raspberry Pi Check if its On - Neopixel

How can I check if the one pixel is on or not? Is there any function for that. I've googled but couldn't find anything helpful. import board import neopixel pixels = neopixel.NeoPixel(board.D18, 17) ...
1
vote
0answers
1k views

A PWM object already exists for this GPIO channel

I have a bit of a dilemma. I am currently using BCM GPIO 14, 15 and 18 to control an RGB status LED using PWM. I have configured my raspberry pi 3 to pull down pin 14 (red) on boot, to indicate the ...
1
vote
0answers
251 views

How to get maximum GPIO output speed in Kernel module?

I'm writing a Linux kernel module on RPi2 to push an array to RGB Led matrix, so I want to have maximum speed of GPIO to reduce the 'flick' when it run Bit Angle Modulation. According to this site, ...
1
vote
0answers
298 views

GPIO in /sys/class/leds/

I am doing a project with Raspberry Pi and OpenWrt. I need to attach indicator LEDs. Basically, I need to modify the DTS for bcm2710 and add additional GPIOs in the led section such that it gets ...
1
vote
0answers
125 views

Raspberry Pi 3 B+ LED Light Blink not working

I am trying to get my LED to blink once, but it is not working. I connected the brown wire to pin 6 (Ground), and the red to pin 7 (GPIO 4). I watched a tutorial on connecting the circuit but it is ...
1
vote
0answers
515 views

Ethernet Indicator led on pi 3B+ not glowing

I am a newbie to Raspberry Pi and recently bought Raspberry pi 3 B+. I first downloaded and burn the minibian on sd card as some course suggested minibian. But whenever I connect pi with power, only ...
1
vote
0answers
228 views

Cannot lighten up 12V LED strip with Raspberry pi 3

Bought a 12V 5M RGB LED Strip a 12V 5A power supply 6 IRLZ44N mosfets. i am trying to light up the led strip with PiGPIO. followed the https://dordnung.de/raspberrypi-ledstrip/ tutorial. and the led ...
1
vote
0answers
607 views

Red camera LED fails to turn off

I am using Raspbian 4.9.35-v7+ (3B+) and the camera: https://www.adafruit.com/product/1567. This may be flagged as a duplicate to previous questions under similar titles; however, none of their ...
1
vote
0answers
417 views

Hardware setup for LED with external power supply

I am looking for help to use a raspberry pi 3 as a multiple LED switcher. The setup should be: 6 LEDs at 3W, 9.6V and 300mA (each!) a external power supply for the LEDs a breadboard to put everything ...
1
vote
1answer
168 views

Problem with LED blink program on Pi

I am completely new to RPi and stuck unexpectedly. I am trying to create a simple python program to make my LED blink. Here are the two programs which are giving same outputs on terminal when I ...
1
vote
0answers
184 views

WiringPi can only turn on 8 LEDs

On my RPi 3 I have a PHP website to control 10 LEDs. Each is wired to a separate GPIO pin and 220 ohm resistor. Here is the code: <html> <head> <title>LED Control</title>...
1
vote
0answers
24 views

Lighting Issue On Snapshots

I'm creating a proof of concept project for my Pi 3. The concept is to take a photo using a USB webcam when a button is pressed. That part was simple using OpenCV. However, the lighting is fairly ...
1
vote
1answer
298 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
0answers
1k views

How can I get my raspberry pi 3 to work with SK6812 LEDs without a screen?

I have a raspberry pi 3 and am trying to get it to run the SK6812 LEDs with no screen. When I have my ASUS monitor connected, the LEDs work fine, and when I disconnect the screen and reboot, the LEDs ...
1
vote
0answers
128 views

After power on Rpi3 RED led steady but green continuously blinking. what could be the problem?

i brought new Rpi3 and boot 16gb card with 2017-03-02-raspbian-jessie when power on red led steady and green blinking is there any problem in booting process of pi? HDMI not showing anything neither ...
1
vote
0answers
350 views

Problem with SoftPwm from Microsoft.IoT.Devices.Pwm

I'm new here, started working with RPI and Windows Core month ago. Currently I'am trying to control RGB Led Strip ( set light, turn on/off, dim) from RPI. To achieve this I use RPI 2 model B V1.1, ...
1
vote
1answer
6k 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() ...
1
vote
0answers
47 views

House switches light the RPI led strip

I'm having an issue with my LPD8806 led strip. My RPI and led strip are both located inside a lamp, both being powered by a multi output source (not the best one). Before this I was powering the led ...
1
vote
0answers
2k views

Green LED never lights up

When I power up my Raspberry Pi 3, the red LED lights up and stays red until I unplug it. The green LED always stays off no matter what: - I tried 3 different 2A chargers - I tried 2 different SD ...
1
vote
0answers
249 views

Blinking LED - start and stop

This is my first post here so HELLO and sorry if I'm posting in the wrong place. Do you know a simple bit of Python that will set a LED blinking indefinitely until it's told to stop? Control will be ...
1
vote
0answers
134 views

SenseHat; Random Pattern using FrameBuffer: No Error?

This Raspberry Pi Post talking about the SenseHat gives the following example to fill up the LED matrix with random colours: cat /dev/urandom > /dev/fb1 This works: but also generates the ...
1
vote
0answers
161 views

Synchronize Pi Camera and LEDs

I have a Pi Camera (NoIR) and two sets of LEDs, A and B. The two sets of LED are different in position and wavelength. I want record video with the Pi Camera so that any consecutive frames be lit by ...
1
vote
0answers
410 views

How can I set up a chain of these RGB Smart Neopixel LEDs?

I have these LEDs with me. At the end of the day, I need to connect around 100 of these together, with each one being individually programmable. I was testing connected the four of them I have ...
1
vote
0answers
182 views

Why wont my LEDs display when Brightness is turned down using Hzellers library?

I have 4 16x32 Led matrixs chained to display output from my Raspberry pi using Hzellers led matrix library. Link: https://github.com/hzeller/rpi-rgb-led-matrix. I want it to display at 25 percent ...
1
vote
0answers
312 views

Increase Performance of 4x4 LED Matrix (Multiplexing with pi4j)

I have coded a Display-Class to drive a X by Y LED-Multiplexing-Matrix with pi4j. However, I when driving a 4-by-4-Matrix I cannot get the framerate beyond roughly 30 fps, which still produces a ...
1
vote
0answers
57 views

Half size breadboard problem

I purchased the Raspberry Pi YouTube Workshop Kit from Buy a Pi.com a few days ago. I have a B+. But when I completed tutorial number two, LEDs On and Off, only the LED on the right turned on. Then I ...
1
vote
0answers
399 views

Spi and WS2801 problem on the raspberry pi

I have bought a couple of these led strands from adafruit. http://www.adafruit.com/products/322 they use WS2801 chips. I have a raspberry pi B+ running raspbian I have been having problems ...
1
vote
0answers
454 views

controlling 12 V RGB LED strip with raspberry pi

We are trying to control a RGB led strip with a 12 V power supply. The servoblaster does not work. Can you please suggest some other software we can use?
0
votes
0answers
21 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
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 ...
0
votes
0answers
22 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
27 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
0answers
39 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
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 ...
0
votes
0answers
47 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, ...
0
votes
0answers
60 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) ...
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 ...