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). This has 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, and Lync already does a pretty good job with this; it’s red when I am in a meeting, on the phone or simple 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.
- Schematic drawing
- Image gallery
- Parts list
- External resources
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. But if you want to drive bigger, more powerful LEDs you will 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.
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 :)
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. This 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. So you can do cool things like softly blink them by fading up and down.
- 1 ea × Arduino Uno R3, ATmega328P, A000066
- 1 ea × Enclosure, plastic (1591 FL), 120x65x40mm, flange
- 0.1 m × Heat-shrink tubing, 2.4 mm, 2:1, clear
- 1 ea × LED 5mm clear, Green, 3.4V, 20mA, 10.000mcd, 25°
- 1 ea × LED 5mm clear, Red, 2.1V, 20mA, 7.000mcd, 20°
- 1 ea × LED 5mm clear, Yellow, 2.1V, 20mA, 10.000mcd, 20°
- 3 ea × LED holder 5mm, Chromed metal
- 1 ea × Resistor, carbon film, 0.25W, 100 Ω, 5%
- 2 ea × Resistor, carbon film, 0.25W, 150 Ω, 5%
- 4 ea × Rubber foot, adhesive, SJ-5012, Ø 12.7x3.5 mm
- 4 ea × Spacer, round unthreaded, 3mm, Ø6mm, Delrin
- 7 ea × 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