Updated programmable ring light with native white LEDs

In this article, I am continuing the development of my programmable ring light. Previously, I showed a working version of it and tested it by shooting macro videos. In this upgraded version, I am going to demonstrate two different ring lights with two different LEDs. Recently, I discussed the SK6812 LEDs. One with RGB-W, and another with WWA capabilities. While the RGB-W is very similar to the WS2812 LED that I used in the previous ring light when it comes to the RGB part, it also has a fourth LED, which is a native white LED. The WWA version is a white-only LED, but it combines a cold and a warm white LED, plus an additional amber one to allow adjusting the warmth of the illumination. So, in this article, we will see if these LEDs solve the issue of the previous ring light, which was not able to illuminate the subject with true white colour, but only with a “fake white” which was created by using the red, green and blue LEDs simultaneously. I will also discuss a few things that occurred while I was assembling my PCBs. I have a few tricks and tips to share.

 

Introduction

A brief reminder of the ring light and its principles:

The first version of the ring light is based on the WS2812 RGB LEDs. They have individual red, green, and blue LEDs, each drawing around 20 mA. The LEDs are arranged into three rings (inner, middle, outer), and the total number of LEDs is 48. Since the total current consumption of the LEDs is close to the maximum current that the 5 V can deliver (3 A, ~15 W), I negotiate 9 V (3 A, ~27 W) from the USB power supply and locally convert it to 5 V using a high-performance buck converter based on the TPS564242 chip. The USB voltage negotiation is done by a CH32X035G8U6 chip that also takes care of the control of the LEDs via SPI, the handling of the rotary encoder and the control of the OLED display.

The circuit is built on a white PCB. The PCB is shaped as a ring with a rectangular lobe on its top. The hole in the centre is designed so that I can mount the ring light on a camera lens. The rectangular part contains the circuitry that controls the LEDs.

The circuit also received a 3D-printable enclosure and a very thin opaque diffuser.

The circuit is driven by a custom software that I specifically developed for this application. It does the USB-PD power negotiation, it handles the rotary encoder and the display, drives the LEDs, and even controls the buck converter, so it only starts when the 9 V is successfully negotiated with the USB power supply.

The next step was to build two circuits: one with the RGB-NW LEDs and another with the WWA LEDs. As I discussed in my SK6812-introducing article, the RGB-NW, as its code suggests, has an additional LED inside the package. This is a natural white (NW) LED. This LED allows us to shine a clear white light on the subject and tune its tone by adding red, green or blue colour contribution using the three other LEDs.

The WWA is a “white-only” LED, so it can not produce red, green or blue colours individually. This LED is more focused on producing as smooth as possible white light. This is achieved by two different, a warmer and a colder, white LEDs and an amber LED inside the package. As I demonstrated earlier, the difference between the warm and the cold white LEDs is in the amount of blue intensity they produce. The cold white, obviously, produces more blue colour; therefore, it appears colder. I used my recently assembled spectrometer to show the composition of the different white lights.

Then, the thing I haven’t mentioned until now is the fact that the SK6812 LEDs can be basically treated as a drop-in replacement for the WS2812 LEDs I used in the initial ring light build. Just a little tweaking of the code allows me to drive the SK6812 LEDs with the same circuit (and nearly the same code). This is a huge advantage because I don’t need a new circuit for these LEDs, and the code does not need dramatic changes. Since the RGB-NW LED has 4 colours, I have to treat the additional white LED accordingly. The WWA is simpler because the LED has three colours; they are just different from red, green and blue. So, it is just more or less changing the naming conventions.

 

Original ring light with 48 WS2812B RGB LEDs

New boards with the SK6812 RGBW (left) and SK6812 WWA (right) LEDs

 
 

PCB Assembly

After I placed the order for my PCB at PCBWay, I got an email from their online services team that something is not right with the design. If you remember the previous board, then you know that the PCB design had some issues with the pad and track separation around the microcontroller. The pads and tracks were too close to each other, and the white solder mask does not like such tight tolerances. Back then, I redesigned that part on the PCB, and the order went through, and the PCBs turned out to be great.

I sent those files to PCBWay again, but a new issue popped up around the buck converter chip. The spacing between the pads is less than 0.19 mm, which, according to them, is too tight, and they can not ensure that there won’t be any solder bridging. They proposed that I either remove the mask in that area or redesign the pads so the distance becomes at least 0.19 mm. I told them that the last PCBs were manufactured based on the exact same design files and they were perfect, so I am willing to take the risk and just proceed with the board manufacturing. They mentioned again, just to be on the safe side, I guess, that the pads might be damaged, but I took the risk. The boards, as usual, turned out well.

So, the PCBs arrived within about 5 days, and I could start the assembly process. For those who are interested in assembling their SMD component-based circuits at home (maybe even my PCBs!), the coming section might be useful and interesting. I usually source all my components from the same supplier. A little exception is the CH32 microcontrollers because I source them directly from the manufacturer’s AliExpress, and in this case, I also sourced the LEDs from AliExpress. Once I have everything ready, I use the interactive BOM generated from my KiCAD files to see what component goes where on the PCB. I use a pristine PCB, without solder paste applied to it, and by following the BOM, I place all the components in their place. This allows me to populate the board that has solder paste on it very quickly because I just pick the component up from the donor board and then place it in the same location on the board I am populating.

I carefully put the populated board aside, and I picked up a new board that is going to receive the solder paste. This board was a bit particular because of its shape. First, I carefully aligned the stencil and the board in my jig, and then I started to apply the solder paste. I could not use a too-large spatula to spread the paste because there was a chance that I would bend the stencil where it is not supported by the board, and that could smear the already applied paste. So, I just went with a small spatula and went nearly component-by-component. The solder paste I used was a bit too dry. It is an old paste, and there was barely anything left in the syringe. But I tried to be resourceful, so I used the last bits of the paste. It was a bit difficult to apply it, and I had to go through the board a few times to ensure that all the pads were covered. As we’ll see later, some pads needed some fixing.

Once the paste was applied, I reached for the already populated donor board and started to pick and place the components. The driving circuitry went quickly. They were placed along a rectangular grid; it was easy to place them. However, the LEDs and their capacitors were a bit more cumbersome because, for each component, I had to slightly rotate and align the board. Don’t forget that I also had to record footage of the whole process, so I even had a camera and its field of view that I had to consider.

Anyway, once everything was placed, I put the board on a hot plate and waited until the board’s temperature reached the melting temperature of the solder paste. When the solder started to melt, I closely watched each component, and if they started showing tombstoning or started to drift off their pads, I bumped them with the tip of a tweezer so they returned to their place. It went fairly well, and I did not burn the board or the components.

Once the boards were done, I inspected each part, especially the chips where the pins can easily short together if there’s too much solder paste applied. One board got a little too little solder paste applied on the microcontroller’s pad. So, I added some extra solder paste with the syringe and some flux, and then used my soldering iron with a thin tip to solder the microcontroller properly. I also fixed a few other components, especially some capacitors around the LEDs that drifted off their pads. This was a bit more difficult because I had to be careful not to fry the LEDs right beside the capacitors. In some cases, I could see that the plastic housing started to melt and form blisters, but luckily I did not damage them. Just a little aesthetic damage.

Since I applied a lot of flux, I had to clean the residue off the board. I see a lot of people on Reddit struggling with this part, so here’s a tip for them. Isopropyl alcohol itself does not do a good job of removing it. It just helps smear it further, unless you bathe the board 10 times in IPA. In very non-scientific terms, this is because IPA just loosens the flux, but it does not properly dissolve it, so it can not really be washed off the board. However, if you apply some IPA to a wet wipe, and then rub that wet wipe against the area with flux using a brush, then you will be able to soak up the flux with the wet wipe. My immaculate white boards are good proof of this method.

 
 

Testing and results

Once the boards were cleaned, I ran a few tests. I took the same camera and subject arrangement, and I just replaced the lights. I filmed a circuit board with some components on it using different lighting. I even tested my old ring light so it could be used as a reference. I fixed the white balance to see the difference between the different light sources and their tones. I also observed the ISO values achieved while using different lights. I recorded the close-up footage with a GoPro camera and a macro lens, so a lower ISO is a sign of more light bouncing back from the subject, and it is good for the footage from a noise perspective, especially when using cameras with a relatively small sensor. I also went through all the individual colours and noted down the power consumption of the whole board using a USB power meter.

First, let’s look at my old ring light. Since it has a polarising filter attached, I rotated the filter until I could reach the highest brightness (lowest ISO) in order to avoid misleading conclusions due to the light being blocked by the filter. I could achieve as low as ISO 234 while recording.

Then, I switched to the WWA ring light. I did a lousy job because I did not note down all the ISO values, but at least I have it for the more notable settings, plus I did not touch the footage, so you can also make your subjective observations on the noise level and clarity.

Cold white produced an ISO 398 value. The circuit drew 9.1 V, 0.34 A, 3.1 W. I could achieve the same power consumption with the neutral white lighting, but I forgot to note down the ISO. However, this is a bit of a different setup, because I produce a neutral white by turning on both the cold white and the warm white LEDs at the same time, but each is running at 50% brightness only. Then, the warm white is just the warm white LED on full brightness. Same power consumption still, and I forgot to note down the ISO. The amber LED also takes up the same amount of power, and I forgot to note down the ISO. Finally, I turned all LEDs on at maximum brightness, which produced 9.1 V, 0.96 A and 8.77 W power consumption. A bit lower than the sum of the three individual LEDs; interesting. The achieved ISO level is 218.

Then, I also tested the same scene with the RGBW LED. Red, green and blue drew the same power: 9.1 V, 0.23 A and 2.1 W. There is nothing extraordinary about these settings, and since I fixed the white balance on the camera, the footage looks quite interesting under the different lights. After testing the individual LEDs, I turned on all three at the same time to produce the fake white colour. As I showed on my spectrometer earlier, we can’t achieve the same spectrum with three individual LEDs as with a native white LED, yet our eyes are tricked into believing that we see white light. More or less. The three simultaneously driven LEDs took 9.1 V, 0.66 A and 6.0 W of power. Slightly lower than the sum of the individual values, but very close. The achieved ISO was 342, and in my opinion the footage looks a little green+blue-ish. Switching on all the native white LEDs at the same time achieved a lower ISO: 300, while the whole circuit consumed significantly less power: 9.1 V, 0.46 A and 4.2 W. It is interesting, but not really unbelievable. White LEDs are just blue LEDs with a phosphor coating. So, instead of three individual LEDs, the circuit used one. Based on the values, twice as large as one individual blue LED because the consumption is exactly the double of the blue (or the other individual) LED.

Finally, I turned on all the possible LEDs. This achieved the lowest ISO: 194 while consuming 9.1 V, 1.11 A and 10.1 W.

 
 
 

Final words

We could see that the native white LEDs can produce better illumination. Both from a colour reproduction perspective and a light intensity perspective. I especially liked the effect of the mixture of natural white and RGB white (SK6812 RGBW) LEDs. Very bright and eye-pleasing tones. With the individual red, green and blue channels, we could very precisely tune the tone. On the other hand, the other LED, the SK6812 WWA, produces a more “straightforward” white colour. Its cold white colour is almost indistinguishable from the SK6812 RGBW’s RGB white + neutral white illumination. So, we also have wiggle room by being able to add warm white and amber colours to the mixture. So, if you are after as much illumination as possible, probably the RGBW LEDs are a tiny bit better. But if you are after a bit more easy-to-produce white, then WWA is the go-to choice.

Also, I want to mention that just because I initially designed these boards to become my new camera ring light, it does not mean that they can only be used for this purpose. If you are a bit inventive, you can design some nice translucent enclosure around it, and you have a roughly 10 W LED to play with. These are programmable LEDs, so you can come up with any pattern and color combination and run it on the microcontroller. You don’t even need a fancy power supply for it because any modern USB adapter can provide 9 V and 3 A via negotiation. So, this gadget could even be your next mood light. You can replace the rotary encoder with three buttons and hide them somewhere in the enclosure, and you can even get rid of the OLED display and connect a different i2C device instead to make the light more interactive. It is up to your imagination.


Get the PCB from PCBWay!

PCB from PCBWay

Get the relevant gadgets using my affiliate links!

SK6812 RGBW/WWA LED

USB power meter

Tweezers

Stencil jig

Solder paste

 

If you found this content useful, please consider joining my YouTube channel’s membership or leaving a donation.

Also, please consider using my affiliate links when buying relevant gadgets.

Next
Next

DIY or BUY? FNIRSI DPS-150P digital power supply