3228

Intelligent lighting controller based on ambient light and time

Intelligent Lighting Controller Measures Ambient Light and Tracks Time

 
Overview

Add Digital Brains to a Basic Luminaire

Outdoor lighting is usually switched on or off manually with a mechanical switch. Suppose, however, that you do not want to illuminate an area for the whole night. In that case, it would be advantageous to control the illumination more precisely so you can automatically switch the lighting off/on at a prescribed time.

A controller can sense ambient light, turn lights on when it gets dark, track a time interval, and automatically turn the lights off at a specified time. In the morning, the process can be reversed. If the ambient light level is under a preset lux threshold at a predetermined time, the system will turn on the light. It will turn the light off when the ambient gets bright enough to surpass the same lux threshold.

It is not difficult to design an intelligent lighting controller that senses and measures the ambient light level with an ambient light sensor (ALS). Equipped with a real-time clock (RTC), the controller also knows when to turn lighting on or off at specified times. The system presented here can be used to control all luminaires that are mains supply operated. The controller's lux-level threshold is fully programmable in single-lux steps. Controller software is provided in hex format.

Integral System Components

The lighting controller in this design needs to measure the ambient light level, which is done with an ALS. There are two different kinds of ALS products in the market today: one outputs the analog voltage proportional to the ambient light level, and the other gives the output in digital format. This system uses the ALS with the digital output.

The controller needs to know the exact time, so a real-time clock (RTC) is used. To anticipate possible power loss, the time information needs battery backup.

A user interface is needed for setting time and other parameters. The user interface here consists of two 7-segment LED displays and one pushbutton. With a short button press, the system displays time and other parameters. With a long button press, the time and parameters can be adjusted.

The system has an auto/manual switch to enable switching the light on or off manually.

System power comes from the mains supply. Electricity to the luminaire is switched on/off through a relay. The digital portion of the system is isolated from mains supply.

The system block diagram is shown in Figure 1.

Figure 1. Lighting controller system.
Figure 1. Lighting controller system.

Figure 2 further illustrates the system wiring to the mains supply voltage and to luminaire(s).

Figure 2. System wiring to the mains supply voltage and to luminaire(s).
Figure 2. System wiring to the mains supply voltage and to luminaire(s).

When the system is used in manual mode, the auto/manual switch must be switched to manual. In manual mode, the relay is continuously on and the luminaires are switched on/off using a standard wall light switch.

When the auto/manual switch is in auto mode, the standard wall light switch must be switched on so the controller can function. If that wall switch is not on, the controller cannot switch the luminaires on.

One system can contain multiple luminaires.

Documentation
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-11 12:49:34
  • MPEG4 video codec SoC (FIC8120)
  • Help. VS 2005 and WINCE can't connect..
  • 【Good news! 】Download points and chip coins can be circulated!
  • How to create project files from Makefile, such as wpj project?
  • Wavecom call answering problem
  • (1) Unpacking and setting up the IAR environment

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号