This project is an improvement to my previous Lync status light, built back in May 2016. It worked fine, but it only had three 5 mm LEDs. People who knew about the module noticed, but many people didn’t, so it did not have the effect I was looking for. That’s why I decided to upgrade it, and this time use bigger and brighter lights!
I found a pair of maritime navigation lights on eBay that were small enough to fit on the top of the enclosure. They are much harder to miss than the LEDs :) I still use the same Arduino firmware and bridge software as before, just upgraded the hardware.
The yellow LED only uses about 20mA, so this can be connected and powered directly from the Arduino board. It does a need a resistor, the size of this resistor depends on the LED. I used 150 ohms.
The navigation lights, however, use too much current for the Arduino to handle, so it needs a little help. The Darlington ULN2003A driver can handle 500mA on each output, and it has a 2.7 Kohm resistor on the inputs, which makes it perfect for this kind of application. Just connect the output of the Arduino to the input of the Darlington driver, and ground for the load to the Darlington outputs.
The Arduino itself and the yellow LED is powered through the USB connection; this is not a problem as long as the total current is below 400 mA. However, the navigation lights use 12 volts, so for that, we need an AC adapter. I chose a 330 mA adapter since my red and green lights are not lit at the same time, if they were I might have to get a bigger one.
I did not do any changes to either the Lync bridge nor the Arduino sketch. Here is what I originally wrote about the software on the previous Lync lights post:
Now; we need to let this device know about our Lync status somehow. Otherwise, it’s not going to do much good. Luckily and thanks to the power of open source; someone had done a lot of the job for us already. I found a project on GitHub that used a blink(1) to show the Lync status. That made my task a lot easier; I love open source!
- D3 Green LED
- D5 Yellow LED
- D6 Red LED
I used these output because they are PWM, pulse-width modulated, meaning that the brightness of the LEDs can be controlled. Because the navigation lights are so bright, I chose to turn down the green one to about 5%. It’s still plenty bright enough, the red one however I am keeping at 100% to maximize the visibility.