Closed 2812user closed 6 years ago
Randomly one of the LEDS will flash at full brightness during strandtest
That suggests that the data signal might not be coming through properly. A few things you could try:
I've seen transistor level shifters do horrible things to the waveform. The rise time is often too slow so longer data pulses make it but shorter pulses come trough as too short.
Do you have some 74hct (not 74hc) chips lying around ? These make great level shifters
@sschroe I will scale down the LEDS to a lower voltage and see if its any different . Dont have any arduinos handy ,might get one to test this exact scenario. What throws me is parts of strandtest seeming to work fine .
@penfold42 The transistor is 2n3904 ,should have enough BW to do the trick . Im going to add another shifter in series to see if that helps . Im thrown by the Led_invert though ..All Transistor theory and code says that the led_invert should be set to 1 in my use case ,but that completely fails .If I set to 0 (and use the NPN invert) then first few bits of strandtest seem to work.
In this thread, they recommend a few more blacklists , going to try them . https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=151460
Create a kernel module blacklist file that prevents all the sound drivers from loading:
blacklist snd_bcm2835 blacklist snd_pcm blacklist snd_timer blacklist snd_pcsp blacklist snd
Now give your code a try and see if that helps...
Bandwidth isn't the only parameter.
As you're switching you need to look at delay and storage times.
Assuming an open collector inverter the rise times are always going to be terrible because of the pull up resistor and the cable and transistor capacitance.
An HCT is the simplest way to get a nice push pull output stage combined with 3.3v and 5v input thresholds
Hello, First off, Thanks for creating this library . I was able to get things going pretty easily without delving much into code.
I have some led strips- MCM -25-7522 (says its a SK6812 RGB) that Im trying to get to work correctly http://www.mcmelectronics.com/content/ProductData/Spec%20Sheets/25-7522.pdf
Setup _ Model B Pi - Transistor Level Shifter - Led Rope . Twin 5V Supplies . Both are grounded properly. Raspian - Tried with Latest & 03/18/16
I have had to disable the HDMI audio via Config (prior to this strandtest would blink leds randomly at full power) .
CURRENT issue ..