You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, Newstar is producing a new chip with the same footprint as the APA102C/HD107/HD107s. The special thing about it is: it can do 16 bit per channel! It is also superior to the (already pretty great) APA102C in two other ways: it has 27KHz PWM and it undestands 3.0V as logic level "HIGH", so you could drive it at 5V and have 3.3V logic voltage without any tricks.
16bit is probably a major change to FastLED, but I think it would be amazing to support this chip.
As a quick and dirty first step, one could implement the protocol but left-shift the 8 bit data and just ignore or duplicate the least significant 8 bits. But eventual full 16 bit support would be amazing.
Adding support for pixels with a higher number of bits per channel (and also support for RGBW) is definitely a future goal for FastLED. And as you correctly guessed these changes will require a huge code update/rewrite due to how FastLED was originally optimized.
Thank you for pointing out this new chip though and providing the details and datasheet link. It does sound great!
I loved their 2020 series also, but there is 4k MOQ, I really hope someone will add it to product line and distribute it in small quantity, it has great improvement comparing to APA102 2020
thanks for you work guys, I've got 100 HD108 chips coming from China for a custom project. Is it true (according to the buggy datasheet) that they don't require a decoupling capacitor? And can someone confirm the pinout (designing a PCB)?
I can't really tell you about the capacitors; i do not use any, but I also do not do product development with these (I only mess around with blinky stuff :-D ) and here it worked without caps nearby.
For the pinout: It is the exact same as APA102 or HD107. I am using them literally interchangeably with those (except for software, of course):
so:
____
Data IN 1 --| |-- 6 Data OUT
Clock IN 2 --| |-- 5 Clock OUT
GND 3 --| |-- 4 VCC
¯¯¯¯
Here, the label still says APA102, because I am still using its footprint in KicadPCB.
I can't really tell you about the capacitors; i do not use any, but I also do not do product development with these (I only mess around with blinky stuff :-D ) and here it worked without caps nearby.
For the pinout: It is the exact same as APA102 or HD107. I am using them literally interchangeably with those (except for software, of course):
Thanks @ccoenen. I since found that the Newstar datasheet (which is appallingly bad - I mean do they actually want to sell their product??) does mention capacitors, but you can't trust it, and the Rose Lighting one says you don't need them. I've also seen pictures of HD107 strips that don't have any. That's great but I wonder how they worked around that - from pictures of the chip it doesn't obviously seem to have an internal capacitor, but maybe it's directly integrated into the controller.
Shame HD108 hasn't caught on yet, 8bit is just awful the minute you dim or use gamma correction.
Has anybody found 2020's for sale at < 4000 MOQ yet? I've not seen them for sale anywhere.
@ccoenen, another Q for you. I don't have the HD108 5050 chips yet, but my PCB layout for them relies on the exact location of the RGB diodes inside the chip. A picture from an HD108 seller places them here:
as does the Newstar datasheet:
But the Rose Lighting datasheet shows them here:
which is correct? or could those be a real layout difference between the Newstar and Rose Lighting versions?
I got mine from aliexpress, so I couldn't even tell you who actually produced them. For previous types of LED (apa102/hd107..) I had different ones that were labelled the same. With that said: here's a photo of the ones I got a few months ago:
HD108 type LED:
The three chips are "between pins 3 and 4" - so like in your upper graphic. Sorry for the bad photo, I just took a magnifying glass to my smartphone :D
this is very similar to ones that were sold to me as APA102 (again: cheapest possible source, I have zero clue who made these or how I would get the exact same ones again :-D )
APA102 type LED
It's the exact same PCB layout as above, just with the older chip on it.
Perfect thanks. I got mine from AliExpress too (still in shipping). Several sellers there, but I bet they're all the same company so most likely the same as yours. Yours match the Newstar, down to the gold bond wires, so they're most likely Newstar.
I have see, some ask "why 16 bit color" it matters most if one is producing photographic images, in a video wall or spinning LED holographic fan. There's noticeable dark scene banding when gamma correction is applied to 8 bit LED images.
Examined 2 8-bit gamma tables, illustrating the loss of dark grays resolution:
Unique outputs bottom 128 out bottom 64 out
NewConvert.py 193 38 11
Adafruit Example 164 54 5 unique outputs
Here's a Gamma article that may be of interest to some
It references the 1993 paper: SMPTE93_Gamma.pdf
I believe there was a human perception table published in the 1930s
that may be a slightly better correction match than gamma.
Perfect thanks. I got mine from AliExpress too (still in shipping). Several sellers there, but I bet they're all the same company so most likely the same as yours. Yours match the Newstar, down to the gold bond wires, so they're most likely Newstar.
So mine are the same as yours. I asked the Ali seller if they were Newstar, and he said Newstar is actually just a distributor, and they both buy them from the same manufacturer. So they are 'Newstar' in the sense that are the same as theirs & their datasheet (sorta) applies.
Regarding color resolution..
I recall one video wall maker boasting of having 72 bit color resolution,
those LED panel bricks (getting down to 1 cent per pixel) rely on external
drivers to generate pwm dithering and multiplexing.
All that color resolution comes into the play in the darker part of the
color range, to reduce banding, etc. seen in darker scenes.
The issue is that the main developer of FastLED died in a freak fire accident and right now the main developer is mostly just mostly accepting pull requests from the community. A drastic change in the frame buffer format will touch a lot of code and this codebase is extremely hard to test for every platform. Actually it's worse than testing each platform, you also have to test each led type per platform using a real arduino. That's an MxN matrix that needs to be tested for this framebuffer change that's being proposed. If different settings are also tested then it's MxNxC.
That's just... intractable.
A driver change to specific NS108/HD108 chipset doesn't really carry any of those risks, because the code is localized to just this led type and the gamma correction can be done in the MCU either as a function or a lookup table.
And that's why I'm pushing back by offering a simpler solution of on the fly gamma correction for just this LED type. Not because I believe my proposal better, but because it's something that can be implemented in a day with little to no risk to existing users.
I'm not able to do that (most stuff is somewhere on the attic, because I moved). However, 256 steps stay 256 steps. Maybe you can improve distribution on the curve.
This whole interpolation thing only matters when you do very slow fades to black (like I do over several seconds). Most people use FastLED for disco type effects, for which 8 bit is perfectly fine.
Hello, I was hoping I could do some lightening for Christmas so i bought a bunch of the hd108 led. Turns out the fastled 3.10.3 doesn't officially support this led as the compiler returns an error "HD108 was not declared in this scope". It is clear fastled 3.10.4 is projected to add support for this led. Question is; when will fastled 3.10.4 be released? was hoping I could use this led for my Christmas lightening project in few days time
Hello, I was hoping I could do some lightening for Christmas so i bought a bunch of the hd108 led. Turns out the fastled 3.10.3 doesn't officially support this led as the compiler returns an error "HD108 was not declared in this scope". It is clear fastled 3.10.4 is projected to add support for this led. Question is; when will fastled 3.10.4 be released? was hoping I could use this led for my Christmas lightening project in few days time
Hello, I was hoping I could do some lightening for Christmas so i bought a bunch of the hd108 led. Turns out the fastled 3.10.3 doesn't officially support this led as the compiler returns an error "HD108 was not declared in this scope". It is clear fastled 3.10.4 is projected to add support for this led. Question is; when will fastled 3.10.4 be released? was hoping I could use this led for my Christmas lightening project in few days time
So our HD108 protocal was just a copy of the apa102 algo and it was out of spec. But it worked for some but not all. This has been fixed in master and it should now run everywhere.
Activity
ccoenen commentedon Jun 28, 2020
As a quick and dirty first step, one could implement the protocol but left-shift the 8 bit data and just ignore or duplicate the least significant 8 bits. But eventual full 16 bit support would be amazing.
marmilicious commentedon Jul 14, 2020
Adding support for pixels with a higher number of bits per channel (and also support for RGBW) is definitely a future goal for FastLED. And as you correctly guessed these changes will require a huge code update/rewrite due to how FastLED was originally optimized.
Thank you for pointing out this new chip though and providing the details and datasheet link. It does sound great!
sylvieuherkov commentedon Aug 12, 2020
Hmm, their HD109 16bit RGBW is coming soon also http://www.addressableledstrip.com/CompanyNews-9/25.html
I loved their 2020 series also, but there is 4k MOQ, I really hope someone will add it to product line and distribute it in small quantity, it has great improvement comparing to APA102 2020
machinaut commentedon Nov 8, 2020
I just brought up a strip with these, and basically found the same. In case its useful, here's another "brand" of the same LEDs, but the datasheet is worse/wrong in a bunch of places, which made bringup fun. https://www.rose-lighting.com/wp-content/uploads/sites/53/2019/11/HD108-led.pdf
marmilicious commentedon Nov 10, 2020
Thank you @machinaut
I'm going to link back to your reddit post about these too incase that's useful to anyone.
https://www.reddit.com/r/FastLED/comments/jq646t/debugging_new_16bit_strands_hd108_rgb_leds/
machinaut commentedon Nov 10, 2020
@braydenm was able to get it in Adafruit_DotStar here as an example of integration (though it's pretty apparent how to update 8bit->16bit). https://github.com/braydenm/ledstrip
gee-ell commentedon Jan 24, 2022
thanks for you work guys, I've got 100 HD108 chips coming from China for a custom project. Is it true (according to the buggy datasheet) that they don't require a decoupling capacitor? And can someone confirm the pinout (designing a PCB)?
ccoenen commentedon Jan 24, 2022
I can't really tell you about the capacitors; i do not use any, but I also do not do product development with these (I only mess around with blinky stuff :-D ) and here it worked without caps nearby.
For the pinout: It is the exact same as APA102 or HD107. I am using them literally interchangeably with those (except for software, of course):
so:
Here, the label still says APA102, because I am still using its footprint in KicadPCB.
gee-ell commentedon Jan 24, 2022
Thanks @ccoenen. I since found that the Newstar datasheet (which is appallingly bad - I mean do they actually want to sell their product??) does mention capacitors, but you can't trust it, and the Rose Lighting one says you don't need them. I've also seen pictures of HD107 strips that don't have any. That's great but I wonder how they worked around that - from pictures of the chip it doesn't obviously seem to have an internal capacitor, but maybe it's directly integrated into the controller.
Shame HD108 hasn't caught on yet, 8bit is just awful the minute you dim or use gamma correction.
Has anybody found 2020's for sale at < 4000 MOQ yet? I've not seen them for sale anywhere.
gee-ell commentedon Jan 26, 2022
@ccoenen, another Q for you. I don't have the HD108 5050 chips yet, but my PCB layout for them relies on the exact location of the RGB diodes inside the chip. A picture from an HD108 seller places them here:
as does the Newstar datasheet:
But the Rose Lighting datasheet shows them here:
which is correct? or could those be a real layout difference between the Newstar and Rose Lighting versions?
ccoenen commentedon Jan 26, 2022
I got mine from aliexpress, so I couldn't even tell you who actually produced them. For previous types of LED (apa102/hd107..) I had different ones that were labelled the same. With that said: here's a photo of the ones I got a few months ago:
HD108 type LED:

The three chips are "between pins 3 and 4" - so like in your upper graphic. Sorry for the bad photo, I just took a magnifying glass to my smartphone :D
ccoenen commentedon Jan 26, 2022
this is very similar to ones that were sold to me as APA102 (again: cheapest possible source, I have zero clue who made these or how I would get the exact same ones again :-D )
APA102 type LED

It's the exact same PCB layout as above, just with the older chip on it.
gee-ell commentedon Jan 26, 2022
Perfect thanks. I got mine from AliExpress too (still in shipping). Several sellers there, but I bet they're all the same company so most likely the same as yours. Yours match the Newstar, down to the gold bond wires, so they're most likely Newstar.
jake653 commentedon Jan 27, 2022
I have see, some ask "why 16 bit color" it matters most if one is producing photographic images, in a video wall or spinning LED holographic fan. There's noticeable dark scene banding when gamma correction is applied to 8 bit LED images.
Examined 2 8-bit gamma tables, illustrating the loss of dark grays resolution:
https://ledshield.wordpress.com/2012/11/13/led-brightness-to-your-eye-gamma-correction-no/
(One (not smart) LED Video Wall maker boasts having 72 bit color resolution for more natural images)
gee-ell commentedon Jan 31, 2022
So mine are the same as yours. I asked the Ali seller if they were Newstar, and he said Newstar is actually just a distributor, and they both buy them from the same manufacturer. So they are 'Newstar' in the sense that are the same as theirs & their datasheet (sorta) applies.
19 remaining items
jake653 commentedon Dec 15, 2022
zackees commentedon Dec 16, 2022
Right, I'm sure it helps.
The issue is that the main developer of FastLED died in a freak fire accident and right now the main developer is mostly just mostly accepting pull requests from the community. A drastic change in the frame buffer format will touch a lot of code and this codebase is extremely hard to test for every platform. Actually it's worse than testing each platform, you also have to test each led type per platform using a real arduino. That's an MxN matrix that needs to be tested for this framebuffer change that's being proposed. If different settings are also tested then it's MxNxC.
That's just... intractable.
A driver change to specific NS108/HD108 chipset doesn't really carry any of those risks, because the code is localized to just this led type and the gamma correction can be done in the MCU either as a function or a lookup table.
And that's why I'm pushing back by offering a simpler solution of on the fly gamma correction for just this LED type. Not because I believe my proposal better, but because it's something that can be implemented in a day with little to no risk to existing users.
kasperkamperman commentedon Dec 20, 2022
I'm not able to do that (most stuff is somewhere on the attic, because I moved). However, 256 steps stay 256 steps. Maybe you can improve distribution on the curve.
This whole interpolation thing only matters when you do very slow fades to black (like I do over several seconds). Most people use FastLED for disco type effects, for which 8 bit is perfectly fine.
Here some research I did (almost 10 years) ago on gamma/curves in relation to FastLED:
https://forum.makerforums.info/t/for-those-who-are-interested-in-dithering-and-smooth-long-tail-fades/64507
https://forum.makerforums.info/t/trying-to-get-slow-and-smooth-transitions-at-the-low-end-of-the-brightness/60608
Joshfindit commentedon Dec 20, 2022
Personally I’m using it for room lamps, and am very interested in the smoothest most stable light output, especially at low brightness.
kasperkamperman commentedon Dec 20, 2022
FastLED has already built in dithering, so it provides a smooth curve on low light levels.
However for slow fades from very bright to low brightness you need a chip with a higher range.
zackees commentedon Dec 20, 2022
Dithering is different from frame interpolation. The former requires no change to the frame buffer, the latter requires two frame buffers.
ccoenen commentedon Jul 31, 2023
Edit: nevermind, I mixed up two different projects.
zackees commentedon Apr 8, 2025
Follow up on this:
This chipset has 16 + 5 = 21 bits of brightness
This means we can do a full gamma correction curve on the uint8_t CRBG component.
We also have global brightness at 8bit. We can therefore get the full range of this LED.
vtjballeng commentedon May 24, 2025
Cross-linking this issue with #1885 for the same request.
banjostellar1-sketch commentedon Dec 23, 2025
Hello, I was hoping I could do some lightening for Christmas so i bought a bunch of the hd108 led. Turns out the fastled 3.10.3 doesn't officially support this led as the compiler returns an error "HD108 was not declared in this scope". It is clear fastled 3.10.4 is projected to add support for this led. Question is; when will fastled 3.10.4 be released? was hoping I could use this led for my Christmas lightening project in few days time
nomakewan commentedon Dec 24, 2025
https://www.reddit.com/r/FastLED/comments/1pu8avr/next_update_is_delayd_due_to_new_parlio_driver/
banjostellar1-sketch commentedon Dec 26, 2025
Thanks a lot
zackees commentedon Dec 31, 2025
#2119 (comment)
zackees commentedon Dec 31, 2025
So our HD108 protocal was just a copy of the apa102 algo and it was out of spec. But it worked for some but not all. This has been fixed in master and it should now run everywhere.