Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Automatic staircase lighting control with motion sensor. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Lighting

Comments on the article Comments on the article

The devices that control the lighting of the stairs in the house are not new and have been described many times in the literature and on the Internet. The author offers his own version based on the ready-made HC-SR501 module with a pyroelectric motion sensor.

There is enough information on the Internet about its characteristics, and often quite contradictory. In view of this, in order to obtain plausible information about the capabilities of the module, its characteristics had to be rechecked partly by experience, partly by analyzing the circuit. As a result, the author came to the following values (however, they can be confidently attributed to only one instance of the module that was tested):

  • Detection zone parameters Range adjustment limits, m .......3...8
  • solid angle, deg ....... 140
  • Operation modes ...... single, cyclic "Dead" time between alarms, s ....... 2...2,5
  • Alarm holding time adjustment limits, s ....... 5 ... 250
  • Alarm levels, V active ....... 3
  • passive ....... 0
  • Supply voltage, V......4,5...12
  • Own current consumption, mA .......0,06

The module has a "night" mode of operation, but for this you need to install a photoresistor in it.

On the Internet, you can find information about the operability of the HC-SR501 module at a supply voltage of 20 ... 30 V. This is not true, since an oxide capacitor with a nominal voltage of 16 V is installed at its power input. Therefore, it is reasonable to power it with a voltage of no more than 12 V .

The microcircuit used in the module generates an alarm signal at its output in three-volt logic levels. But a 1,5 kΩ resistor is connected between its output and the OUT terminal of the module, so the module's load capacity is very small.

In the single operation mode, after the first detection of an object moving in the sensitive zone, the logic voltage level at the module output becomes high and remains high for 5...250 s (the hold time is set during adjustment), other detections possible during this period are ignored. After the hold time has elapsed, the output level returns to low, but the next detection becomes possible only after the sensor properties are restored (this time is called "dead").

In the cyclic triggering mode, after the first motion detection, the output of the module is also set to a high level for the hold time, however, further triggers that occurred before the expiration of this time start its countdown again. As a result, the output level remains high until the duration of the pause between successive motion detections exceeds the hold time.

On the photographs of the module, which can be found on the Internet, the "MD" jumper is visible, by rearranging which the operation modes are switched. However, in the module that the author has, only the place for its installation is indicated, and the printed conductors are separated so that the module always operates in the cyclic operation mode.

Automatic staircase lighting control with motion sensor
Rice. 1. Motion sensor

The "night" mode of operation means blocking the operation of the module during daylight hours. This useful feature allows you to save both electricity and the resource of light sources. To implement it, it is necessary to solder a photoresistor into the holes marked on the module board as "RL" (Fig. 2). The author could not find any data on its characteristics and mode features, however, the installation of a GL5516 photoresistor with a dark resistance of about 500 kOhm gave a completely satisfactory result. The module stopped working during daylight hours, so further research in this direction was not carried out.

Automatic staircase lighting control with motion sensor
Rice. 2. Module board

The HC-SR501 module has greatly facilitated the creation of a staircase lighting control machine. Only a light source switch and a power node had to be added to it. It was decided to build the switch on a triac, which made the device more compact, reliable and silent compared to an electromagnetic relay. Considering that the own current consumption of such a device is small, a transformerless circuit was chosen for the power supply unit. This made it possible to reduce the overall dimensions of the device, the schematic diagram of which is shown in Fig. 3. It is powered by a 230 V, 50 Hz network, consuming mainly reactive, not counted by household meters, power of about 5 V-A, and is capable of switching lamps with a total power of up to 200 W.

Automatic staircase lighting control with motion sensor
Rice. 3. Schematic diagram of the device

The transformerless power supply unit (C2, VD1, VD2, c1) generates a constant voltage of 5 V. The lighting lamp switch is built on a triac VS1 controlled by a triac optocoupler Ul. The optocoupler, in turn, controls the output signal of the HC-SR501 module. But the module cannot directly control the optocoupler, since the minimum current of the emitting diode of the optocoupler, at which its phototriac opens, is 5 mA, and the load capacity of the module output is much lower. Therefore, the emitting diode is connected to the module through an emitter follower on the VT1 transistor, which provides the necessary current amplification.

The triac BTA1-08 used as VS800 can switch a much more powerful circuit than indicated above. But for this, it would have to be installed on a heat sink, the place for which is not provided in the author's version of the design due to the limited dimensions of the case.

All parts of the machine, with the exception of the HC-SR501 module, are placed on a printed circuit board measuring 58x28 mm (Fig. 4), to which the module is connected by three wires. The board is designed for the installation of resistors for surface mounting, size 1206. The rest of the parts are in the usual design. The oxide capacitor C1 is "laid" on the board and glued to it. Capacitor C2 - K73-17 with a rated constant voltage of 630 V or similar imported. Three-pin screw block X11 for connecting the mains supply and luminaire EL1 - DG301 -5.0-03P-12. The whole device, the appearance of which is shown in Fig. 5 is housed in a standard 515x66x66mm G30B case.

Automatic staircase lighting control with motion sensor
Rice. 4. PCB

Automatic staircase lighting control with motion sensor
Rice. 5. Appearance of the device

To implement the "night mode" (if necessary), remove the Fresnel lens from the module board (it is very easy to do this), insert the photoresistor leads into the "RL" holes and solder them, then install the Fresnel lens back. But the photoresistor should be soldered only after the adjustment and adjustment of the device is completed, otherwise these operations will have to be carried out in the dark, which is very inconvenient.

Since all elements of the described device are under mains voltage, when working with it with the case open, you must follow the rules of electrical safety.

It is advisable to turn on the device for the first time without the HC-SR501 module, which will protect this module from damage in case of incorrect operation of the power unit. After connecting the device to the network, first of all check the voltage on the capacitor C1, which should be within 5,1 ± 0,3 V. After 20 ... 30 s, disconnect the device from the network and evaluate the temperature of the VD2 zener diode case. It may be slightly warm. Strong heating of the zener diode case indicates an incorrect choice of capacitance or a malfunction of capacitor C2.

Next, connect a 1 V incandescent lamp to contacts 3 and 1 of the XT230 block. Plug the device into the mains and wait 20...40 seconds for the transients in the module to complete (at this time, the lamp may sometimes light up). Then bring a moving object into the module's sensitivity zone, for example, just wave your hand near it - the lamp should turn on. If this is the case, everything is working fine. If not, the reasons may be:

- the current of its emitting diode is insufficient to open the phototriac of the optocoupler U1. It must be at least 7 ... 8 mA and can be set by selecting the resistor R1;
- defective parts or installation errors.

After completing the test, use the trimming resistors of the HC-SR501 module to set the required detection range (right, according to Fig. 2) and the alarm hold time (left, according to Fig. 2). It is recommended to adjust the detection range by installing the device at its permanent location in order to take into account the possible influence of surrounding objects on its operation. After completing the adjustment, install a photoresistor in the HC-SR501 module, if necessary, to ensure its operation in the "night" mode.

PCB file in Sprint Layout 5.0 format: ftp://ftp.radio.ru/pub/2017/01/stairs.zip.

Author: A. Savchenko

See other articles Section Lighting.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

Wind power reaches record 1 TW 15.06.2023

An important achievement in the field of wind energy: the world's installed capacity has reached the mark of 1 terawatt (TW). After 40 years of efforts and development of the wind industry, we have reached this milestone in clean energy production. However, according to the forecasts of the Global Wind Energy Council (GWEC), we can expect to reach the mark of 2 TW in less than seven years.

In the early 1970s, Danish engineers began experimenting with wind power, and this research became the basis for the modern wind industry. Since then, the global wind power industry has developed rapidly and its growth has been enormous. According to Wood Mackenzie, by the end of this year, the global installed capacity of wind energy will exceed the 1 TW mark. However, GWEC notes that we have already reached this mark, and this is confirmed by completed projects in China, the USA, Europe and Morocco.

Despite an important achievement in wind power, Jonathan Cole, head of GWEC, notes that we are only at the beginning of what needs to be done to combat climate change. To avert the catastrophic effects of climate change on societies and ecosystems around the world, we urgently need to transform our economies and increase wind energy production.

The goal is to achieve an installed wind capacity of at least 8 terawatts by the middle of the coming century to achieve zero greenhouse gas emissions. There is not much time to solve this problem, so we can no longer linger.

Other interesting news:

▪ 6G data transmission record

▪ light from the asphalt

▪ The deadly danger of ordinary dust

▪ Cell like remote control

▪ Monkeys are like people

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Visual illusions. Article selection

▪ article Dual images. Encyclopedia of visual illusions

▪ article Where and when could you buy a rocking bath? Detailed answer

▪ article Silk knot. Travel Tips

▪ Article Cosmetics. Simple recipes and tips

▪ article Sim-Reader v.3. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024