Translate

2019年9月8日星期日

APA102 LEDs have problem At 24 MHz? You can try NS017S LEDs

  NS107S LEDs don't any trouble at 24 MHz.
  According to Paul Stoffregen's Articles on December 6, 2017December 7, 2017, we know the APA102 LEDs strips have the problem at 24 MHz, usually after 150 to 250 LEDs.  But why?  Here’s his attempt to investigate:

  One tempting explanation is signal quality problems due to horribly messy unterminated wiring carrying high speed signals, as in this photo!  But it turned out to be a more fundamental timing problem.

In this test, a Teensy 3.2 runs the FastLED “Cylon” example with this line:

 LEDS.addLeds<APA102,11,13,RGB,DATA_RATE_MHZ(24)>(leds,NUM_LEDS);

NUM_LEDs was set to 160, and I connected a strip of 144.  The oscilloscope traces are the signals which arrive at the end of the 144 LED strip.

First, I set the clock speed to only 2 MHz to see the “normal” waveforms output by the last APA102 LED.
  
  The main thing to observe here is the APA102 output changes its data line (blue) at the falling edge of the clock (red).  You might notice a slight delay from the falling edge of the clock to the change in data, but it’s tiny relative to the slow 2 MHz clock cycle.

At 24 MHz, the delay is much more significant.  In this case I measured approximately 15 ns delay from clock to the data changing.

  
  You might also notice the red trace doesn’t look like the 50% duty cycle SPI clock signal.  I believe this, together with the data delay, is the main cause of APA102 issues on long LED strips.
Here’s another measurement of the clock.


  Each APA102 LED is supposed to regenerate the clock signal.  Ideally this is supposed to allow a very long LED strip.  But it appears each APA102 lengthens the clock high time and shortens the clock low time slightly.  This might be internal to the APA102 control chip, or it could be simply due to the clock output driver having a faster fall time than rise time, causing the following APA102 to receive a slightly different clock high time.  Perhaps the APA102 controller chip has a better N-channel transistor for pulling the clock output low than the P-channel transistor for driving it high?

After 144 LEDs, the clock low time on this strip has shrunk from 20.83 ns to approximately 18 ns.

With the data output delayed 15 ns after the falling edge, this leaves only 3 ns before the next APA102 LED captures the data on the rising edge of the clock.  As the strip gets longer, each APA102 reduces the clock low time, until it’s shorter than the clock to data delay.

FastLED defaults to 12 MHz SPI clock for APA102 LEDs on Teensy 3.x, which should allow for several hundred LEDs before this clock duty cycle change becomes a problem.

This test was just one APA102 strip I purchased about a year ago.  The Chinese semiconductor manufacturers making these LEDs have a history of changing the silicon without any notice.  I also only tested at room temperature, using only 1 example program which doesn’t drive the LEDs anywhere near 100% duty cycle (more heating).  I powered the 144 LEDs with 5V from both ends, but didn’t make any measurements of the voltage near the middle of the strip.  Power supply voltage might matter.  In other words, your mileage may vary.

But hopefully this helps with understanding what’s really going on, why short APA102 LED strips work so well with the fast clock speeds, but fail when using very long strips, even though the LEDs are supposed to regenerate the clock and data as they pass it down the strip.

Newstar

2019年9月6日星期五

SK6812 3535 RGBW P6 Addressable LED chip

This is Newstar's newest development sk6812 rgbw addressable led chip with 3535 size. before only have sk6812 5050 rgbw addressable led in the market. 
SK6812 3535 RGBW pixel leds will be widely applied.


Product Overview: 
  SK6812-3535RGBW is a smart LED control circuit and light emitting circuit in one controlled LED source, which has the shape of a 3535 LED chip. Each lighting element is a pixel, and the intensities of the pixels are contained within the intelligent digital interface input. The output is driven by patented PWM technology, which effectively guarantees high consistency of the color of the pixels. The control circuit consists of a signal shaping amplification circuit, a built-in constant current circuit,and a high precision RC oscillator.
  The data protocol being used is unipolar RZ communication mode. The 24-bit data is transmitted from the controller to DIN of the first element, and if it is accepted it is extracted pixel to pixel. After an internal data latch, the remaining data is passed through the internal amplification circuit and sent out on the DO port to the remaining pixels. The pixel is reset after the end of DIN. Using automatic shaping forwarding technology makes the number of cascaded pixels without signal transmission only limited by signal transmission speed.
  The LED has a low driving voltage (which allows for environmental protection and energy saving), high brightness, scattering angle, good consistency, low power, and long life. The control circuit is integrated in the LED above.

Description:
● Top SMD internal integrated high quality external control line serial cascade constant current IC;
● control circuit and the RGB chip in SMD 3535 components, to form a complete control of pixel, color mixing uniformity and consistency;
●built-in data shaping circuit, a pixel signal is received after wave shaping and output waveform distortion will not guarantee a line;
●The built-in power on reset and reset circuit, the power does not work;
●gray level adjusting circuit (256 level gray scale adjustable);
● red drive special treatment, color balance;
● line data transmission;
● plastic forward strengthening technology, the transmission distance between two points over 10M;
●Using a typical data transmission frequency of 800 Kbps, when the refresh rate of 30 frames per sec

Mechanical Dimensions:
PIN configuration:

Recommended dimensions for PCB:


General description of product naming
more details, please check the datasheet.

Newstar

2019年7月17日星期三

the difference of NS107S HD107S LC8823

NS107S HD107S LC8823 LEDs are same with each other, all with same IC but different factory make the LEDs, IC provided by Newstar.