Controlling Color Lights With ZigBee – How Hard Can It Be?

How hard can it be to control color LEDs using ZigBee?  It may sound simple, but it’s fraught with hidden difficulties.

ZLL network

ZigBee is a low-power, low-data rate wireless standard for control and monitoring that allows us to control large numbers of lamps with battery-powered remote controls and also to link into internet connected control devices such as smartphones.

There are two ZigBee profiles that give us control of color lamps – ZigBee Light Link and ZigBee Home Automation, both designed to control large numbers of lamps in the home. To allow us to control many bulbs and to give good battery life on a remote control, the amount of wireless data that can be sent has to be limited. So, for example, to move from one color to another, it is impractical to send messages defining every color step on the way, the control protocol has to allow some intelligence in the lamp itself. ZigBee enables this by providing several ways that color can be represented.

Color wheel

The smartphone provides a great user interface where you can pick colors from a photograph or picture, or use a color chart to choose colors. It’s a lot harder for a simple remote control with limited functionality. In this case, a color display is not available and the simplest approach of mixing Red, Green and Blue is highly unintuitive for setting the right color. Defining color and brightness with Hue, Saturation (“Colorfulness”) and Brightness gives us an easier way to represent most colors on a simple remote control.  A color wheel provides a way to access a wide range of colors with a simple circular user interface. You can also provide a color loop command where the bulb will continually traverse around the color wheel. Brightness and saturation can be set by simple up/down commands.

I’ll be discussing this and other issues related to controlling color lights with ZigBee at the European ZigBee Developers’ Conference next week in Munich.  If you’re there, and you’d like to join, it’s on Thursday 7th November – Session 6 on “ZigBee Light” – and I’ll be presenting at 12.00 CET.

If you’re interested in Wireless IoT technologies for the home more generally,  I’m also at the Wireless Congress in Munich on Wednesday 6th November, during Session 1 – “Wireless Internet of Things” – where I’ll be presenting at 10:30 CET.

Or, feel free to drop me a line in the comments below!

NXP
NXP
At NXP, innovation is always now, but our focus is always the future. Our dedicated team of experts is united by a passion to make everyday life more remarkable through technologies that continually redefine life as we know it.

2 Comments

  1. Avatar John Moran says:

    Hello Colin

    Unfortunately, I will not be able to attend either of your events. However, I am interested in the Zigbee solutions you mention briefly above. Is it possible to get transcripts of your presentations or any other application literature that is available please?

    I look forward to your reply.

    With Kind regards – John

  2. Avatar Paul Hunter says:

    Hello Collin, good luck with your presentations, I wish I could be there but unfortunately will not be able to attend. If you video the presentations and upload to You Tube I’m sure there are many engineers who would love to view your presentations. Good luck kindest regards Paul

Buy now