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

Radio controlled outlet. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Clocks, timers, relays, load switches

Comments on the article Comments on the article

A simple device is described that allows you to remotely turn on and off the voltage in a power outlet. The control takes place over a radio channel, and specialized microcircuits for the encoder and decoder of commands are used, which made it possible to do without microcontrollers.

A simple radio control system using ready-made radio modules was described in [1]. The encoding and decoding of commands in it was performed by microcontrollers. Meanwhile, to solve this problem, there are inexpensive specialized chipsets. In particular, encoder PT2262 [2] and decoder PT2272 [3] or their analogues from another manufacturer - SC2262 [4] and SC2272 [5].

To transmit a command, an encoder of this type generates a code word, shown in Fig. 1 . It contains 12 information bits and ends with a synchronization bit. Each of the information bits can have the value of not only the usual zero and one, but also the third "floating", corresponding to an unconnected output of the microcircuit.

radio controlled socket
Rice. 1. Code word

The decoder used in the proposed device considers the first eight bits of the code (A0-A7) to be addressable and accepts the command transmitted by the bits D0-D3 only if the received address matches its own, given connection of the corresponding pins of the microcircuit.

For transmission over a radio channel, the values ​​of the bits of the word are encoded in accordance with Fig. 2. The duration of the transmission of each bit is 32T, where T is the pulse repetition period of the internal clock generator of the microcircuit. It is usually set to 50...100 µs. A discharge with a value of zero is a twice repeated sequence of a pulse with a duration of 4T and a pause with a duration of 12T. When transmitting a unit, the sequence is reversed - pulses with a duration of 12T are separated by pauses with a duration of 4T. The "floating" state corresponds to the sequence: pulse 4T, pause 12T, pulse 12T, pause 4T. The transmission of the codeword ends with a 4T clock pulse followed by a pause of at least 124T.

radio controlled socket
Rice. 2. Encoding

The reliability of reception is achieved by the fact that the transmission of the same code word is repeated several times, and the receiver considers the information reliable, having received the same thing several times in a row (usually at least three).

The address inputs of the encoder (in the transmitter) and the decoder (in the receiver) must be connected in the same way. They can have three states. Those that correspond to zero in the code word are connected to a common wire, to which a unit corresponds - with a plus of power, the rest (floating) are left free. The oscillation period of the internal clock generator depends on the resistance of the resistor connected between pins 15 and 16 of the encoder chip.

In the same way, this period is set in the decoder. But for the encoder and decoder, this period is the same (which is necessary for proper operation) with resistors of different resistances.

On fig. 3 shows a diagram of a remote control system encoder on a PT2262 chip (DD1). When you press any of the SB1-SB4 buttons, the supply voltage is supplied to this microcircuit through the opened diode from among VD1-VD4. It generates at its output DOUT a code word of the format discussed above, in which bits A0-A7 have the values ​​specified by connecting the inputs of the microcircuit of the same name. The value of one of the bits D0-D3, which is connected to the pressed button, is equal to one, and the rest - to zero.

radio controlled socket
Rice. 3. Scheme of the encoder of the remote control system on the chip PT2262 (DD1)

The signal from the DOUT output controls the transmitter. A high level on this output turns the transmitter on, and a low level turns it off. This is the so-called amplitude keying (English OOK - on / off keying).

In the sets of radio control equipment sold, the transmitter is usually made in the form of a small-sized remote control, to which, for example, a keychain with keys can be attached (Fig. 4). On fig. 5, eight contact pads for setting the address are visible on the transmitter board.

radio controlled socket
Rice. 4. Control panel

radio controlled socket
Rice. 5. Transmitter board

A schematic diagram of the decoder of the radio control system with the control unit of the actuator (socket) is shown in fig. 6. Here, a ready-made receiver module XD-YK04-M4-315MHz (Fig. 7) from the purchased kit is used. It has a decoder chip SC2272-M4 (a complete analogue of PT2272-M4). Of the elements available in the module, the diagram shows only this microcircuit (DD1) and connector X1, with which the module is connected to external circuits.

The address inputs of the decoder must be wired similarly to the address inputs of the encoder in the control panel, only in this case the decoder will be able to recognize the command sent to it. The reliability of the received command confirms the high logic level at the output of the VT decoder.

radio controlled socket
Rice. 6. Schematic diagram of the decoder of the radio control system

radio controlled socket
Rice. 7. XD-YK04-M4-315MHz receiver module

The index M4 in the name of the microcircuit means that it interprets the values ​​of the four most significant digits of the received 12-bit code as a command and does not remember them, outputting them to the outputs D0-D3 only for a short time. Upon completion of the reception of the code message, the levels at these outputs become zero. Such microcircuits are the most common, but there are also microcircuits with the letter L in the suffix. They store the received code on the outputs until the next command is received. To get the same effect with a microcircuit with the index M, a latch on the DD2 microcircuit had to be added to the described device.

Pressing the SB2 button on the remote control (see Fig. 3) sets a high level at the D1 output of the DD1 decoder, which is later confirmed by the same level at the VT output. As a result, a low level at the output of element DD2.2 switches the trigger on elements DD2.3 and DD2.4 to a state with a low level at the output of element DD2.3 and high at the output of DD2.4. This opens the transistor VT1. Relay K1 is energized by supplying ~230 V to socket XS1. The trigger and the entire device remain in this state even after the command completes.

When you press the SB1 button on the remote control, a high level will appear at the output D0 of the DD1 decoder. The trigger on the elements DD2.3 and DD2.4 will be transferred by this to a low level state at the output of the element DD2.4, which will close the transistor VT1. Open contacts K1.1 will turn off the voltage from the socket XS1. An indicator of this state is the off LED HL1.

The power supply unit of the receiver and the actuator from the ~230 V network is made according to a transformerless circuit with a capacitor C1 that dampens excess voltage. The zener diode VD5 limits the voltage at the output of the bridge rectifier on diodes VD24-VD1 to 4 V. Resistor R1 reduces the charging current of capacitor C1 at the moment of power-up. Resistor R2 is needed to discharge this capacitor after the device is disconnected from the mains. The relay installed on the used board is SHD-24VDC-FA.

The receiving part of the radio control device is assembled in an electrical box with dimensions of 100x100x50 mm, on the cover of which a conventional network socket for open wiring XS1 is installed. There are three boards inside the box. The pin part of the X1 connector located on the board of the receiver module is inserted into its socket part, installed on the breadboard with a trigger on the DD2 chip. The board with transistor VT1, relay K1 and power unit - from a faulty motion sensor DD-009, on which the originally installed integrated stabilizer 78L09 was replaced by 78L05. In the diagram (see Fig. 6), the parts on this board are located below the dashed line. The appearance of the structure is shown in Fig. 8.

radio controlled socket
Rice. 8. Appearance of the structure

Practice has shown that the reason for the unstable operation of the device may be the insufficient capacitance of the quenching capacitor C1. For example, when the capacitance of this capacitor is 0,33 μF (such a capacitor was installed in the motion sensor) and the relay K1 is activated, the voltage on the zener diode VD5 drops below 5 V, and it should not be less than 7 ... 8 V. Therefore, the capacitor must be replaced with another , larger capacity.

The current consumed by the device does not exceed 20 mA. To reduce it, you can replace the K555LA3 chip with a more economical 74HC00. You can refuse to use the HL1 LED. If it is not possible to purchase ready-made modules, then the parts used in the design can be found in the wireless doorbell.

The receiver does not have any controls. The high frequency nodes are already configured by the kit manufacturer. It is only necessary to set the same addresses on the pins of the encoder chips in the control panel and the decoder chips in the receiver module.

The remaining unused two buttons on the remote can control other devices. For example, by adding a second trigger to the receiver, similar to the one assembled on the DD2 chip, and another actuating unit with its own socket. The radio control system will become two-channel.

Literature

  1. Pakhomov A. Radio-controlled network extension cable. - Radio, 2014, No. 7, p. 31 - 34.
  2. PT2262 Remote Control Encoder. - URL: princeton.com.tw/Portals/0/Product/PT2262_5.pdf.
  3. PT2272 Remote Control Decoder. - URL: princeton.com.tw/Portals/0/Product/PT2272.pdf.
  4. Remote Control Encoder SC2262. - URL: sc-tech.cn/en/SC2262.pdf.
  5. Remote Control Decoder SC2272. - URL: sc-tech.cn/en/SC2272.pdf.

Author: A. Pakhomov

See other articles Section Clocks, timers, relays, load switches.

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

Bacteria-powered nanorobots 27.03.2016

Scientists from Drexel University (USA) have taught microrobots to bypass obstacles in a liquid medium, guided by an electric field.

The robots used in the experiment were microscopic cubes made of light-sensitive polymer material. Since the bacteria had a negative charge, the robot's movement could be controlled by an electric field that set the direction of movement. In the process, the researchers could change both the voltage and the orientation of the field.

The main goal of the scientists was to create an algorithm that takes into account the interaction between the field around the particles and the motion generated by the bacteria.

The fact is that obstacles on the way introduce distortions into the orientation and strength of the electric field, which affects the movement of microrobots. To control them and avoid collisions, the model calculates and controls the particle trajectory, taking into account the influence of obstacles. As a result, bacterial robots can move around in an environment filled with many similarly sized particles.

Such robots, according to scientists, can be used in promising biological projects. Gram-negative bacteria of the serration marcescens species were applied to their surface, which moved the cube.

Other interesting news:

▪ Acer Halo Swing smart speaker

▪ Cold blooded poisoners

▪ Asia will be the first to suffer from global warming

▪ Sun dimming to combat warming

▪ Dueple media player

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Encyclopedia of radio electronics and electrical engineering. Article selection

▪ article Systemic circulation. History and essence of scientific discovery

▪ article Can butterflies remember events that happened to them in the caterpillar stage? Detailed answer

▪ article Injuries of the spine. Health care

▪ article Quartz filter matching. Encyclopedia of radio electronics and electrical engineering

▪ article Advanced switching power supply in a matchbox, 9 volts 1,1 amperes. 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