New answers tagged

0

They make devices called 1 wire LED WS2812B. Look at this link, it shows how to connect to an Arduino with power, ground, signal: https://www.arrow.com/en/research-and-events/articles/protocol-for-the-ws2812b-programmable-led. There are examples online on how to program this device.


1

Is it possible to connect them all to a single GPIO port and using 1 resistor? Yes, but without additional hardware, when one is lit, they will all be lit. Which is the same thing as saying, "When the GPIO is ON, it is ON, and when it is OFF, it is OFF." Charlieplexing is interesting, but strikes me personally as an esoteric solution looking for a ...


1

No, it s not possible. You need 5 GPIO.


1

Since you did state if all the colors were in one strip I will assume one LED strip for each color. There are many choices for the MOSFET. Since I do not know your resources or skill set I can only give you some guidelines to purchase them. The simplest interface would be to switch the LEDs (Low Side) with a N-Channel MOSFET. You need to connect the Drain ...


1

Note that you don't have to rework the PCB for this if you don't want to. You can get a LED+resistor assembly which can be soldered to either GND/5V pads some place convenient, or even fitted with jumper cable ends and connected to 5V and GND pins on the GPIO connector: The GPIO solution has the benefit of flexibility: if your Pi works, you can just ...


0

I came here because I had the same issue. @joan's answer and package fixes the issue but @joans answer doesn't give some specifics on how to get it working (without looking at the page and/or documentation). On my installation (Rasbian buster), pigpio comes pre-installed, you just have to enable it: systemctl enable pigpio systemctl start pigpio Here is a ...


0

A broken red LED (the "Power LED") need not be a concern. Some people (incl. myself) consider the "Power LED" a nuisance, and prefer that it be disabled. The subject of the "Power LED", and in particular how to disable it has generated a huge amount of discussion over the years. 1, 2, 3 Instead of taking on the time, effort &...


0

You could replace with practically any LED, but frankly is difficult unless you have the right equipment. There is also little point. The LED indicates the presence of 5V but is hardly essential and attempting to restore it risks damaging your Pi. Incidentally "accidentally broke" usually means ripped a component off and almost invariably this also ...


1

I assume you are referring to the PWR led on the board. Just a heads-up, the full BOM isn't provided for the Raspberry Pi, so this is just my best guess based on what is available. Looking at the schematic here, the LED in in series with a DSS13UTR protection diode, and a 1kOhm resistor. The protection diode from its datasheet will drop 0.5V when in forward ...


0

I found the wait for edge is only good for digital signals, not buttons... Similar to Jaime Cox, I implemented some "consistency" logic... Relative to the OP, this is actually triggering on the release. To find the rise, you would count inside the range loop. import os import RPi.GPIO as GPIO import threading from time import sleep pins=(17, 27, ...


0

FYI: I use a IRLZ34N without resistor. Works so far. GPIO is connected directly to Pin1 (left), Pin2 (middle) to LED GND and Pin3 (right) to Camera-Board GND. Very nice, because now i can control IR-Filter and IR-LED trough GPIO. Edit: Now you can also "dimm" the LED using pigpio -> pigs p GPIO-PIN 0-255


Top 50 recent answers are included