At present, the main form of lighting control is to manually control all lamps one by one, which is not only troublesome but also inefficient and does not meet the standards of modern comfortable life. Therefore, designing an intelligent lighting system that can conveniently control functions such as lights is not only of practical value, but also has broad market prospects. Intelligence is not a synonym for expensive and impractical, but convenient intelligent lighting control, which can control various lamps in different living areas and occasions. In this paper, the original fixed mechanical switch is changed into a wireless remote control switch by using ST series single chip microcomputer, and the wireless remote control technology is used to send signals. In this way, a wireless remote control combined with a controller can control the opening of indoor lamps, which is not only beautiful but also practical and very convenient to use.
1 Overall design of control system
This system consists of three parts: wireless transmission module, wireless receiving module and switch power supply control module. The system structure is shown in Figure 1.
The wireless transmission module is responsible for sending the on and off instructions for a certain load circuit, and the receiving module is responsible for receiving the instructions from the transmission module, and then handing the instructions to the processor of the switching power supply control module. After the processor parses the instructions, it controls the opening and closing of the relay of the switching power supply module, thereby achieving the purpose of intelligent control of the load power supply.
2 System Hardware Design
2.1 Design of Wireless Transmission Module
The transmission module is mainly composed of HS1527 wireless code chip, surface acoustic wave filter, indicator light and filter circuit, etc. The transmission module is operated as a remote control, and the circuit diagram is shown in Figure 2. When different buttons K are pressed, the code chip will send different codes through the antenna, and the codes are sent to the receiving module through the antenna. The receiving module will hand over the codes to the control module for parsing and processing. The power supply voltage of the transmission module is 12 V, which is powered by a battery.
2.2 Design of wireless receiving module
The wireless receiving module consists of two parts. The power supply part consists of LNK304DN and peripheral circuits. This circuit can convert 220 V AC voltage into 5 V DC voltage to power the processors of the receiving module and the control module respectively. The circuit diagram is shown in Figure 3.
The wireless receiving part is mainly composed of a superheterodyne receiving module consisting of a decoding chip SYN500R, a crystal oscillator and peripheral circuits. The receiving module is responsible for receiving the code from the sending module and then passing the code to the processor for processing. After the processor processes the signal, it amplifies the signal through an amplifier and then controls the opening and closing of the relay. The circuit diagram of the receiving part is shown in Figure 4.
2.3 Control module design
The control module is mainly composed of a processor microcontroller, relays and peripheral components to form a switching power supply. The con end is connected to the AC lighting power, AC-L and AC-N are connected to the AC live wire and neutral wire respectively, and the OUT end is connected to the load. This system can control multiple loads. In the experiment, the control module is connected to a relay to control one load. The control module circuit diagram is shown in Figure 5.
3 Software Design
The software design adopts a modular structure. The main program workflow software development adopts ST Visual Develop development environment and uses C language modular programming, which brings great convenience to system debugging.
After the microcontroller is powered on, each module is initialized, including clock initialization, port initialization and variable initialization. After the initialization is completed, the program enters the main loop and executes the remote control decoding program and the key judgment program. When no button is pressed and there is no remote control data, the remote control decoding program and the key judgment program are executed cyclically. When there is an operation, the program enters the mode judgment state, and the microcontroller stores the remote control key data in the internal EEPROM to achieve the purpose of not losing data when power is off. When a matching remote control button is pressed, the corresponding lamp is turned on or off. After the operation is completed, the program
enters the main loop again to execute the remote control decoding program and the key judgment program. The flow chart is shown in Figure 6.
4 Conclusion
This smart home control system was tested in the laboratory. The controller was connected to two 100 W lighting lamps as loads for preliminary debugging. Two relays controlled the two lamps respectively. The remote control was used to control the on and off of the two lamps. The signal reception was good within 20 m in the open space indoors. The experiment achieved the expected effect and provided a basis for the next step of research. The current smart home wireless remote control technology is still in the process of continuous development and improvement, and has also encountered some problems in practical applications. For example, due to the interference of current wireless network signals, transmission bandwidth and stability limitations, some higher-level functional applications such as high-quality moving image transmission are still difficult to achieve. However, with the gradual construction of China's communication network, these constraints will be broken, and home intelligence and wireless remote control technology will be further developed.
Previous article:Wireless smart home control system based on switching power supply
Next article:What is FTTH Technology
Recommended ReadingLatest update time:2024-11-17 03:01
- Popular Resources
- Popular amplifiers
- Microgrid Stability Analysis and Control Microgrid Modeling Stability Analysis and Control to Improve Power Distribution and Power Flow Control (
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- New Energy Vehicle Control System Inspection and Maintenance (Edited by Bao Pili)
- Intelligent Control Technology of Permanent Magnet Synchronous Motor (Written by Wang Jun)
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- FPDLINK Spark Interference Optimization
- Namisoft's design report on labview spectrum analyzer
- [Iprober 520 current probe] Calibration and use in PCB mode
- EEWORLD University ---- STM32CubeMX and STM32Cube HAL basics
- [TI mmWave Radar Evaluation]_3_AWR1843BOOST Corridor Ranging Test Environment
- [NXP Rapid IoT Review] + Mobile Synchronizer
- Install Debian 8 system
- CC2640 CC1310 high and low temperature test
- STM32MP157A-DK1 Evaluation + IIO and ADC (6)
- 【Qinheng RISC-V core CH582】 5 Bluetooth routine initial evaluation and environment construction