This post is part of the Lync Status Light series.

When I am at work, I use headphones; a lot. About half the time I am listening to music, the other half I am talking with someone on Lync (Skype for Business). That made it difficult for my colleagues to know whether I am available or not, so I get interrupted when I’m on the phone. I needed a way to communicate my availability!

Lync already does a pretty good job with this; it’s red when I am in a meeting, on the phone or just do not want to be disturbed. Yellow when I’m away; I don’t think the away part is a problem, when my chair is empty I am usually away… And green: come on in! Enter the Lync presence light, or busy light if you will. Yeah, there are some you can buy, but where is the fun in that? So I made one using an Arduino board.

I’ve later added bigger and brighter lights to this project, read about that here.
Table of contents
Lync status light in use on my desk at work
Arduino UNO board mounted to plastic enclosure lid

LEDs

I used three LEDs, but you can use an RGB LED instead. Each LED has a resistor in series, the size of this resistor depends on the LED. I used 100 and 150 ohms. The outputs on the Arduino has a maximum current of 40 mA, now that is the absolute maximum, so it’s best to stay a bit lower than that. A typical LED is 20 mA, so that is no problem. However, if you want to drive bigger, more powerful LEDs, you need a transistor between your Arduino and LED. Another thing to keep in mind is that the total current on all output pins must not exceed 200mA, but not a problem for our three 20mA LEDs.

LEDs in chromed LED holders, mounted in plastic enclosure
LEDs in chromed holders, mounted in plastic enclosure, wired to Arduino UNO

Power

Cutout for USB port in plastic enclosure

As long as the total current is below 400mA, the Arduino can be powered by the USB connection. This is perfect for our device, as it has to be connected to the computer anyways. One less wire, and adapter, to worry about 🙂

Software

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!

I/O

Output pins

  1. D3 Green LED
  2. D5 Yellow LED
  3. D6 Red LED

I used these output because they are PWM, pulse-width modulated, meaning that the brightness of the LEDs can be controlled. So you can do cool things like softly blink them by fading up and down.

LEDs connected to PWM GPIO pins on Arduino board
LED ground wires connected to GND on Arduino board

Schematic drawing

Schematics with Arduino UNO, LEDs and resistors

Parts used

  • 1 × Arduino Uno R3, ATmega328P, A000066
  • 1 × Enclosure, plastic (1591 FL), 120x65x40mm, flange
  • 0.1 m Heat-shrink tubing, 2.4 mm, 2:1, clear
  • 1 × LED 5mm clear, Green, 3.4V, 20mA, 10.000mcd, 25°
  • 1 × LED 5mm clear, Red, 2.1V, 20mA, 7.000mcd, 20°
  • 1 × LED 5mm clear, Yellow, 2.1V, 20mA, 10.000mcd, 20°
  • 3 × LED holder 5mm, Chromed metal
  • 1 × Resistor, carbon film, 0.25W, 100 Ω, 5%
  • 2 × Resistor, carbon film, 0.25W, 150 Ω, 5%
  • 4 × Rubber foot, adhesive, SJ-5012, Ø 12.7x3.5 mm
  • 4 × Spacer, round unthreaded, 3mm, Ø6mm, Delrin
  • 7 × Straight pin header, male, Single row, 2.54mm
  • 0.3 m Wire, stranded, 0.22mm2, Black
  • 0.1 m Wire, stranded, 0.22mm2, Green
  • 0.1 m Wire, stranded, 0.22mm2, Red
  • 0.1 m Wire, stranded, 0.22mm2, Yellow

External resources

Last commit 2024-11-11, with message: Add lots of tags to posts.

Lync Status Light series
All posts in Lync Status Light series
  1. Making a Lync status light
  2. Making the Lync status light bigger and brighter