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 collages 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.
Table of content
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! You can find the Arduino code and Lync bridge software under the source code section.
- 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.
Set blink(1) and Arduino light based on Skype for Business or Lync presence state. Last pushed 2 days ago.
Show Lync presence status with three simple LEDs. Last pushed 2 days ago.
|1 ea||Arduino Uno R3, ATmega328P, A000066||Elfa, eBay|
|1 ea||Enclosure, plastic (1591 FL), 120x65x40mm, flange||Elfa|
|0.1 m||Heat-shrink tubing, 2.4 mm, 2:1, clear||Elfa|
|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%||Elfa|
|2 ea||Resistor, carbon film, 0.25W, 150 Ω, 5%||Elfa|
|4 ea||Rubber foot, adhesive, SJ-5012, Ø12.7x3.5||Elfa|
|4 ea||Spacer, round unthreaded, 3mm, Ø6mm, Delrin||Elfa|
|7 ea||Straight pin header, male, Single row, 2.54mm||Elfa, eBay|
|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|
- Mood light using 3W Prolight RGB LED
- Night light using 1W Prolight LED
- Alarm disabling unit for production equipment
- Created May 04, 2016
- Last modified 1 month ago