Intelligent control of home lighting

The analog analog acquisition of the 8031 ​​and ADC0809 converters should be performed after A/D conversion. The M3 converted signal is sent to the bus port, M1 port or expansion port, and is equipped with corresponding A/D conversion control signals and address lines. In this system, the analog signal is mainly optical signal, so in this system, the optical sensor with high precision, high resolution, good reliability and strong anti-interference ability is adopted. The commonly used models are GD-3, GD-5 photoelectric. tube.

The application system can control the output based on any of the input conditions or internal operating results. There are many ways to control the output of the digital output, or timing switches, logic switches, signal switches, etc. Usually, the switching quantity is converted by M)â–¡ or extendedâ–¡ via the D/A converter DAC0832.

The analog output control is usually servo drive control, and the output signal is converted by IVA and then sent to the servo circuit output.

Keyboard wet circuit This device is equipped with buttons. In addition to the power and reset buttons, the display, modification and output are controlled by 8 (B1 P1.CTP3.0. The display is composed of LEDs, which mainly display the working status, which is convenient for us to fault. Detection. The key display circuit has a simple structure, complete functions, and convenient human-machine dialogue.

The application software is modular in design, which brings great flexibility to add and modify system functions, and it is also convenient to debug the program. The software system consists of a main program and some correspondingly controlled subroutines.

This part of the main program is the main line of the software system. The main function is to complete initialization, call and connect subroutines.

Self-test subroutine This program tests the main chips in the system. When the chips are intact, the system goes into normal operation; if a chip has a fault, it indicates that the chip is faulty, which is beneficial to the failure of the instrument.

The sampling subroutine completes the analog input, A/D conversion, and sends the conversion result to the memory.

4- Data processing subroutine performs numerical calculation and processing on the sampling result, and analyzes the sampled value and signal. Each control module program is transferred to the corresponding control subroutine module according to the input of the signal, and the result is to control the corresponding device.

The design of the keyboard/display subroutine will directly affect the living atmosphere of each family room. The characteristics of various lamps should be correctly mastered. Combining the interior decoration, furniture and color tone, the ideal effect will be received. . In short, modern living room design is a science and an art.

make

Sweatshirt

It's very easy to wear it. If you don't have time to get up in the morning, then this Pullover suits you very well

SHAOXING LIDONG TRADING CO.,LTD , https://www.suejiangarments.com