The role of wireless transceiver module in smart home control
[Copy link]
The wireless remote control switch system can realize a design of long-distance lighting control, which consists of two parts: the transmitting system and the receiving system. The system uses a wireless transceiver module to form a radio frequency transmitting and receiving circuit. The transmitting part is mainly composed of a key addressing circuit, an encoding circuit and a transmitting module; the receiving part is mainly composed of a receiving module, a single-chip control circuit and a load circuit. The transmitting system is powered by 2 18650 batteries and can be controlled by a remote control. The receiving system can also be powered by batteries. The microcontroller is powered by a DC power supply. The power system is energy-saving and easy to control. 1: The transmitting circuit of the wireless switch system can be controlled by the DW-H1 handheld remote control. Wireless transmitting system circuit: It is mainly completed by the PT2262 chip. The circuit PT2262 encodes the key signal and can control 7 channels. When the key is pressed, the key voltage is added to the corresponding data end, and the data end information is transmitted through the crystal oscillator. PT2262 will encode according to the address code setting and the input data, and output the encoded pulse from pin 17. Wireless communication is controlled by coded pulses. When the pulse at pin 17 is "1", the oscillator composed of V1 works, generates a 433MHz high-frequency signal and transmits it; when the output pulse at pin 17 is "0", the oscillator composed of Vl stops working. 2: The receiving circuit of the wireless switch system can use the DW-J41 series transceiver controller. Wireless receiving system circuit: The receiving system circuit is mainly composed of a receiving module (including a radio frequency module, a chip PT2272 and peripheral circuits), a relay circuit and a load circuit. The decoding address terminal can be set to three states: "high level" (this pin is connected to 5V), "low level" (this pin is grounded), and "suspended". The setting of the decoding address corresponds to the address code of PT2272. When the signal enters the single-chip microcomputer, the single-chip microcomputer analyzes it and makes corresponding control. If the first signal received is high level, the digital display tube controlled by the single-chip microcomputer will display "11" (the first "1" indicates the first signal, and the second "1" indicates that the signal is high level). At the same time, the single-chip microcomputer sends a high level to the relay circuit, the relay is energized, and the load circuit works; when the high level is received for the second time, the corresponding port level is set to zero through the single-chip microcomputer; when the high level is received for the third time, it is set to 1 again, and so on; when the digital tube displays "11" (the first 1 indicates the first signal, and the second 1 indicates that the signal is low level), the single-chip microcomputer sends a low level to the relay circuit, the relay is disconnected, and the load stops working. Flexible control and clear display can be achieved by using relays and external digital tubes.
|