📜 ⬆️ ⬇️

Another smart home. Part Four - connect the intercom

image
As I already said, the project does not stand still, but gradually develops. Therefore, meet the fourth part. In it, I will tell you about the intercom connection.

I will briefly describe how it was done initially. Outside, an ordinary intercom call station with a camera is installed. All entrails related to the audio path were removed, the camera was connected to the video recorder, the call button and the electromechanical lock were connected to their controllers. Everything worked, everything suited. A letter arrived that they rang the doorbell — someone looked at the recording. But I wanted more, namely, the possibility of dialing on mobile, and talking on it with those who came.

It turned out that there is such a class of devices as “GSM dialer” - it is included in the gap between the call panel and the intercom, when you press the call button, after a certain time it dials the number and allows you to communicate via a mobile phone. I am not particularly fond of repeating finished products, so I just bought it. But another problem arose - the call panel is now untied from my controller. Therefore, we must somehow link two different systems.

After analyzing the operation of the intercom with the call panel, the following became clear. The panel is connected by 4 wires: + 12V, "Audio", "Video" and common. Power is supplied to it only at the moment of pressing the call button, and after a certain time it is removed. The video signal comes directly from the camera, but both the camera and the backlight are connected to the power supply that comes from the doorphone, and it is served only at the moment the button is pressed. So you need to decouple the power of the camera from the power of the audio path, because it must also be connected to the recorder.
')
On the line "Audio" in the inactive mode there is about + 3V. When you press the call button - this line is attracted to the ground, when you press the button to open the electromechanical lock - + 12V is applied to it.

Thus, it is necessary to make a device that would turn on between the call panel and the intercom, provide the camera and dialer with power and, in normal form, issue commands for my controller. A video splitter is also needed, because as practice has shown, if you simply connect the video intercom and recorder video inputs in parallel and connect them to the camera output, then everything works fine, but this is wrong and there are no guarantees that it will work normally on a cable 20 meters long. -thirty.

image

In a nutshell I will describe what is on the diagram. The video splitter is assembled at the AD812 op amp. Pressing the call button detects the Q1-Q2-Relay3 circuit; pressing the lock open button - chain D5-Q3-Relay 2; when power is applied to the call panel - Relay 1 is activated.

We draw a payment, we poison, we collect.

image

Mounted.

image

The logic of operation is as follows: when the call button is pressed, power is supplied to the call panel, relay 1 is activated, which in the lighting controller turns on the light in front of the wicket. Also, while the button is held down, relay 3 is triggered, which captures the time and number of the event on another controller. When you open the lock from the intercom - the relay 2 is triggered, which opens the electromechanical lock through the lighting controller. In addition, for convenience, a two-channel remote control receiver is connected in parallel, allowing you to open the lock on the gate, or turn on the light at the entrance.

The signal from the camera, through the video splitter is fed to the intercom and video recorder, which then goes to the web interface.

image

Schematic files (TinyCAD) and PCB layout (Sprint-Layout) - here .

Links to previous parts:

Source: https://habr.com/ru/post/367111/


All Articles