1. Overview
The smart home lighting system belongs to a subsystem in the smart home and can also be used alone. The smart home lighting system can control various lighting effects in different living areas and occasions to easily solve the problem of home energy saving and improve the quality of life. In life, such a problem is often encountered. When watching TV or reading in the living room, you don’t need too strong lighting light, so you have to turn off the living room headlights and turn on other lamps with relatively dim light to meet the needs of watching TV or reading. In order to meet the lighting requirements of different occasions, it is necessary to install a variety of lamps, which brings great inconvenience to the control of lamps. The smart lighting system can easily solve this problem. Just press the remote control in your hand to change the scene lighting.
The solution for the control method of the smart home lighting system is divided into wired and wireless methods. Wired methods include X-10 and CEBUS of power line carrier, HomePNA of telephone line, IEEE802.3 of Ethernet, LONWORKS and IEEE1394 of dedicated bus, etc. The advantage of using power line as the transmission medium of network information is that it does not need to lay cables separately, which reduces the difficulty of construction; the disadvantage is that the transmission rate is only 300Kbps, which is difficult to meet the transmission of video and audio signals, the confidentiality is poor, and the access equipment is expensive. Wireless methods include IrDA of infrared method, IEEE802.11 series of wireless LAN method, HomeRF of home radio frequency technology, IEEE802.15.1 of Bluetooth, IEEE802.15.4 of ZigBee, etc.
The wireless method solves the wiring problem and can also meet the transmission of video and audio signals. This article introduces a smart home lighting system based on 2.4G radio frequency technology.
2. System solution
The system solution block diagram is shown in Figure 1. This solution uses STC12C5A08AD as the MCU controller. STC12C5A08AD is the latest generation of single-chip microcomputer of Hongjing Technology Company. It adopts the 6th generation confidentiality technology. The program cannot be decrypted after burning, which enhances the confidentiality function. The speed is 8~12 times faster than the ordinary 8051 single-chip microcomputer, with 4 built-in 16-bit timers and relatively low power consumption. The control signal of MCU controls the brightness of the lamp through the optocoupler to control the thyristor. A current detection loop is added to the strong current control interface to detect the size of the strong current for detection feedback. The communication method uses a 2.4G wireless communication module, which does not require wiring, reduces costs, has flexible control methods, a wide remote control range, and fast communication speed. This solution can control a total of 12 lamps and is suitable for home lighting control.
Figure 1 System solution block diagram
3. 2.4G module
Common general-purpose chips used for 2.4GHz communication include the nRF2401 wireless chip module of Nordic Company of Norway and the RFW102 wireless chip module of RFWave Company of Israel [5]. Based on design requirements and cost considerations, this design uses the nRF2401 of Nordic Company for wireless data transmission.
The nRF2401 is a single-chip wireless transceiver chip that operates in the 2.4GHz ISM band and fully integrates power synthesizer, power amplifier, crystal oscillator and adjustment circuit. It uses QFN24 5×5 mm package and the application circuit uses few peripheral components (see Figure 2); it uses FSK modulation and 125 channels to meet the needs of multi-frequency and frequency hopping; the transmission rate is as high as 1Mbps, with high data throughput; low power consumption, the power supply voltage of 1.9V~3.6V meets the needs of low power design; the chip is equipped with a special voltage regulator circuit, and it has good communication effect when using various power supplies including DC/DC switching power supplies.
Figure 2 2.4G communication circuit
4. Lighting control
Common dimming methods include: pulse width modulation (PWM) dimming, dimming by changing the supply voltage of the half-bridge inverter, pulse frequency modulation dimming, pulse phase modulation dimming and thyristor phase-controlled dimming. The thyristor phase-controlled dimming method has the advantages of small size, reasonable price and wide dimming power range. This system finally uses thyristor phase-controlled dimming to adjust the brightness of the lamp.
Applying the thyristor phase-controlled principle, by controlling the conduction angle of the thyristor, a part of the sine wave voltage input from the power grid is cut off to reduce the average value of the output voltage, so as to control the supply voltage of the lamp and realize dimming. Thyristor phase-controlled dimming has a fast voltage regulation speed for the lighting system, high dimming accuracy, and the dimming parameters can be adjusted in real time in different time periods. Since the dimming circuit is mainly composed of electronic components, it is relatively small in size, light in weight and low in cost.
The thyristor phase-controlled dimming circuit is shown in Figure 3. The control signal of the microcontroller is inverted by 74HC04 and sent to the optocoupler MOC3023. After photoelectric isolation, it is input to the control electrode of the thyristor T16C6F to control the conduction angle of the thyristor and realize dimming.
Figure 3 Thyristor phase-controlled dimming circuit
5. Conclusion
The smart home lighting system based on single-chip microcomputer control has the advantages of low cost, short development time, convenient installation and maintenance, and easy to meet the different needs of customers, and has broad market prospects. At present, China's consumption level is not high, and there is not much demand for high-end smart homes with large systems. However, the low cost of smart home lighting systems is increasingly widely used in the home market. The smart home lighting system based on single-chip microcomputer control introduced in this article has certain market promotion value.
Previous article:Design of 16×32 dot matrix LED Chinese character display screen based on Protues
Next article:LED industry reshuffle accelerates domestic market, becoming a difficult point to overcome
Recommended ReadingLatest update time:2024-11-17 04:43
- 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
- Hardware outlet] RK3399 realizes dual network ports
- Lora rate comparison table
- RS485 communication interface problem
- Summary of the Beginner's Guide to 28335
- Matlab Machine Learning (English and Chinese subtitles)
- 【NXP Rapid IoT Review】+Preparation for Data Download
- [ST60 short-distance test] Part 3: Analysis of obstacles and application scenarios
- C2000 MCU implements some strategies for motor control using the execution software stack
- 10 common basic knowledge of MCU
- I am 31 years old, I have been coding for 10 years, and I will retire tomorrow!