Questions tagged [led]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
46 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 ...
0
votes
1answer
46 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
45 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
48 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
49 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
49 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
38 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
80 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
39 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
70 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
114 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
78 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
19 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
30 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
30 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
38 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
17 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
56 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
66 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
88 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
32 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
33 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
88 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
90 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
38 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
100 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
240 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
32 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
62 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
55 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
42 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
63 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
26 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
92 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
209 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 ...
0
votes
1answer
69 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 "...
0
votes
0answers
70 views

Raspberry Pi controlled RGB LED strip very dim

I have followed this tutorial https://dordnung.de/raspberrypi-ledstrip/ to hook up my raspberry pi zero w to a 12V rgb led strip. The lights come on and are able to be controlled using pigpiod, ...
1
vote
1answer
113 views

lighting up LEDs from suricata security alerts

so I am a Python newbie attempting to write a script that will light up a different LED based on the priority level of the latest security alert added to a log file generated by the Suricata Intrusion ...
0
votes
1answer
65 views

How to use this IR Sensor as LIRC receiver for Rasberry Pi [closed]

So, recently I went to an electronics store to buy an IR Sensor, so they gave me the next one: IR Phototransistor NPN Then I went online to check how to build this, and to my surprise, I've found ...
2
votes
0answers
57 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 ...
0
votes
0answers
101 views

Adafruit Neopixel 60LED RGBW Strip showing up with wrong RGB color

We are currently using the Adafruit Neopixel RGBW 60 pixel LED strip with our project, and are currently trying to control it. The strip, however, is displaying incorrect colors when trying to ...
2
votes
1answer
35 views

Raspberry Pi with touchscreen - screen turns white and pi restarts when trying to use LEDs

We currently have a Raspberry Pi 3B+ with touchscreen hooked up to a PCB, and are trying to run adafruit neopixel 60led strip but, when we try and send data using their library, the screen turns white ...
1
vote
1answer
587 views

Driving a WS2815 (12V, addressable) LED strip

I am trying to plan what I need to drive a 12V addressable LED strip with the Raspberry Pi (4, likely, or zero, but I want Ethernet connectivity). I am not sure I understand the WS2815 datasheet (PDF)...
2
votes
1answer
174 views

LED only works when plugged in backwards

My LED only works when it's plugged in "backwards" like the following example: https://pi4j.com/1.2/images/gpio-control-example.png My understanding is that the longer pin on the LED should go ...
0
votes
1answer
548 views

Dimming a 0-10v dimmable light

I've raspberry pi 4 and I'm building a project that simulate sunrise and sundown. I've found that LED - WYZM HBL-100W that get 220AC AND DC 10V, I can dim it by lower or increase DC voltage level. ...
0
votes
1answer
105 views

How to wire a button

O have tried to do this so many times, so many websites, so many books, and it just won't work. I do not know how to wire it so that the LED lights up when I press the button. I'm pretty sure that I ...
-1
votes
2answers
391 views

Is it possible to power IR light module from 3.3v GPIO

Welcome, i've got a question that is bugging me for quite some time lately. I've got RaspberryPi zeroW with ZeroCam camera module (without IR filter). To get it to work in dark I bought IR LED ...
0
votes
1answer
203 views

Piezo Buzzer Driven By Rpi GPIO Problem

I'm trying to light up an LED and play a buzzer noise at the same time. Here is my code so far: Import RPi.GPIO as GPIO Import time GPIO.setmode(GPIO.BCM) GPIO.setup(7, GPIO.OUT) while True: ...
2
votes
2answers
808 views

AC mains dimmer dimming 7W LED lamp problem (RpiZero + MPDM V4.1)

I'm trying to dim a 7W LED with a Raspberry Pi Zero for home automation. However it doesn't work as expected. I followed this tutorial : https://www.youtube.com/watch?v=wqY4-gHqvZI . I have the exact ...

1
2 3 4 5
8