» Electronics »The simplest version of a Smart outlet, a budget option, the issue price is 180 rubles

The easiest option Smart outlet, budget option, the price of the issue is 180 rubles

Good day Dear friends, friends. First of all, Happy New Year! So that everything will come true this year, what have you dreamed about before.



Secondly and in the main, we’ll talk and try today to do this ... We will start in detail.
Nano technology affected not only the production of cars, robots and spaceships, but also slowly entered every home, in the form of household electronic new products. Not so long ago, such a concept as “smart home” appeared and it confidently entered into our everyday life.

American films often show a house that seems to live its own independent life. By light movement of the hand lights are lit. From the piercing gaze of the hero's movie, curtains or doors open. After the spoken code word, the music turns on ...

All this is the "smart home", that is, an intelligent electronic home control system. And today we will try to make the most simple device of this system. Namely, a "smart outlet." Which will be controlled through a remote control.

There are different types of control "smart sockets" - GSM, WI-FI, Infrared, etc. We will focus on the simplest version of a “smart socket” (we will not jump through the steps, we will start from the beginning, that is, the simplest one), namely, a socket controlled via an infrared signal transmitted at a distance via a control panel.

Two reasons inspired me to build this infrared “smart socket”. The main, absolute simplicity of manufacturing (read - accessible to everyone, or almost everyone). Second, the availability and low cost of components (for the manufacture of the device I purchased only an infrared remote control unit for 180 rubles (such a “smart outlet in the store costs about 2,000 rubles, including a decent amount of money)” on Aliexpress, a link to whom it’s interesting - 1 channel relay module for electronic devices .

I found the rest in the garage and dusty corners of the apartment. By the way, on Aliexpress I also ordered a smart soldering iron for 60 watts., With manual adjustment of the tip temperature and electronic indication, a link to the soldering iron - 60 W / 80 W Adjustable Temperature Electric Soldering Iron, and to brag to the end, I ordered there, the so-called "third hand", for soldering, device for fixing the circuit board, a common problem when soldering is missing one hand, in order for everything to be well soldered, a link to the "third hand" - Soldering iron stand “third hand”, magnifying glass, 2 crocodile clips, rotating 360 degrees)

Quite a bit about your health. The voltage of 220 volts is dangerous for your health and life! Today we will have to work with this voltage. Be careful not to measure it with your fingers, and even more so with the gentle pulp of your tongue. Please follow the safety precautions when working with electricity, other hazardous appliances and equipment. If you are serious about these rules, then to a very old age you will walk with a broad smile on your face, stepping on the ground with two legs ... :-)

So, let's begin.

The principle of operation of the infrared remote control unit is as follows: We have a remote control transmitter of infrared radiation, the declared range of 8 meters, is enough for a city apartment. The transmitter supplies an infrared signal to the receiver executing unit, an infrared sensor is installed in the unit, which also receives, through the electronic system, converts the signal into an electric voltage sufficient to turn on the executing relay. When the relay is turned on, the working contacts are closed, which include the necessary module in our case, through a closed relay contact, the supply voltage is supplied to the socket block, a voltage appears on the socket block. A smart socket has applied voltage to a consumer, such as a lamp.

Possible applications of our device homemade:
Turning the lights on and off, radio points, rebooting the router, heating appliances, turning the aquarium appliances on and off, turning on and off watering indoor plants (you can use them at the dacha too, but the scale there is different) and much more (good thoughts always come in time for you too , an interesting idea for using this device will probably come to mind).

To those who like to watch home-made eyes with their eyes, rather than reading, I present a video clip instruction that details the process of manufacturing a “smart socket”.

Video instruction for the manufacture of a socket with remote switching on of voltage supply to the working contacts of the device.



Instructions for the manufacture of "smart sockets" with remote control, do it yourself.

Tools for manufacturing a controlled outlet:

1. Drill or drilling machine.
2. Scissors.
3. Ruler, vernier caliper.
3. Pencil or felt-tip pen.
4. Abrasive skin.
5. Files or small file
6. Hacksaw or jigsaw.
7. Drills.
8. A soldering iron can be like this - 60 W / 80 W Adjustable Temperature Electric Soldering Iron
9. A screwdriver.
10. Clerical knife.
11. If possible and as desired - Soldering iron stand “third hand”, magnifying glass, 2 crocodile clips, 360 degree rotation

Consumables for the manufacture of the device:

1. Installation wires.
2. I ordered solder for soldering electronic modules here - Lead-tin solder rosin core
3. The infrared relay module with remote control is available here - 1 channel relay module for electronic devices
4. The power outlet, in my case, the old computer power supply for 5 outlets.
5. The power supply from the old telephone charging at 5 volts, to power our infrared relay module, or something similar that is at hand.
6.A small piece of plastic for sticking a regular magazine hole for the switch.
7. Glue for gluing plastic.
8. A little hot glue to fix the electronic components.
9. A switch, such as a toggle switch, or whatever will be at hand.

The process of manufacturing the outlet:













1. We disassemble the old, unnecessary phone charging, we will use the 220v electronic unit itself. - 5 in.
2. We solder the design according to the scheme, described in detail in the video clip.
3. We disassemble the socket block, free up space for our electronic blocks - a 220v power supply. - 5v., Infrared relay block. In the outlet case we make 3 holes - by switch, voltage indicator and infrared sensor.
4. Install the electronic modules in the socket housing. We collect the socket.
5. We check our device in operation, shown in the video clip.

Remark.
Infrared modules are produced with a relay for different supply voltages, in our case a power supply unit with an output voltage of 5V. Therefore, we take an infrared module with a 5 volt relay. Those. when choosing, proceed from the output voltage of your available power supply.



If your design does not fit in a standard outlet, you can make the outlet yourself, it is not difficult.

That's all for today. Interesting and necessary homemade goods to you!

5.3
5.7
5.8

Add a comment

    • smilesmilesxaxaokdontknowyahoonea
      bossscratchfoolyesyes-yesaggressivesecret
      sorrydancedance2dance3pardonhelpdrinks
      stopfriendsgoodgoodgoodwhistleswoontongue
      smokeclappingcraydeclarederisivedon-t_mentiondownload
      heatirefullaugh1mdameetingmoskingnegative
      not_ipopcornpunishreadscarescaressearch
      tauntthank_youthisto_clueumnikacuteagree
      badbeeeblack_eyeblum3blushboastboredom
      censoredpleasantrysecret2threatenvictoryyusun_bespectacled
      shokrespektlolprevedwelcomekrutoyya_za
      ya_dobryihelperne_huliganne_othodifludbanclose
56 comments
Author
Quote: vladimir_19.60
where in this outlet um

In the execution of the command - turn on s @ r @ for ... :-)))
I’m embarrassed to ask, where is the MIND in this outlet? As far as I understand, this is just a remote extension switch
Author
Quote: Guest Vladimir
TV-controlled lights

It’s almost the same thing, well done, that 10 years ago the brains worked on the idea ...
Guest Vladimir
Phenomenon,
In my house 10 years ago I made lamps controlled by TV remotes.
Author
Quote: Korolev
forced read

Just flip through ...
maximace,
but it is impossible to read
I feel sorry for reading under duress! yes
I don’t know how everyone wrote here, but it is impossible to read.
Author
Quote: Phenomenon
And here is the lamp

The article gives an idea of ​​the installation and the principle of operation of this device, then your fantasies, and if you decide to make a lamp, the article completed the task.
If the remote control stops switching the TV from the opposite wall and you want to direct it to the TV, then it makes sense to think about replacing the batteries ...
For myself, I don’t see any point in such a smart outlet. But a lamp with such an inclusion can be made (I’m just doing a sconce for my wife), or a chandelier (and it’s not necessary to climb into the switch, you can install it in the chandelier itself ...).
Author
Quote: Korolev
what people write about Soviet!

At the dacha, a refrigerator is born in 68, he rumbles still, old man

pogranec,
but why then a bunch of receiver / transmitter for all with different sensitivity.
Why - why, because Ketai! Read what people write about Soviet! You should understand that the radiation power of a photo emitter and the efficiency of a photodetector’s output strongly depend both on the quality of the photocells and on their spectral compatibility, and on their switching schemes too!
the beam from the wall will not reflect, and you will not be lit. And it will be reflected from the mirror.
The white ceiling for the IR is a mirror, although it seems that any color, we recall optical mice and rugs, and the question I asked was not about lighting myself, but about the ability to see the light (accept a command) due to the properties of refraction of wave processes! yes
Korolev,
Stick smart - whistle!
- it will give me the opportunity to go to the TV menu? And where to stick in the split?
IR - same light
- So I don’t dispute that it’s light, but for some reason the receiver / transmitter bundle is all with different sensitivity. You gave an example with a flashlight, so if you direct a flashlight to a wall in a dark room, the beam from the wall will not reflect, and you will not be lit. And it will be reflected from the mirror. Therefore, I doubt that from the ceiling, the wall. Maybe from a chandelier, an aquarium, a glossy surface ....
pogranec,
They are not smart
Stick smart - whistle!
Unless reflected of course
IR is the same light, only in a narrower range of the low-frequency component of the spectrum, and therefore has almost all the properties of ordinary light, including the ability to reflect, diffract, etc. ... ok

brnjh1,
I only have a small finger, the little finger on my left hand, and that's because picking nose worn out
Whoa, it is a shto! And all my life I thought why it’s my big nostrils and a nose with potatoes! scratch
Korolev
Your theoretical doubts
You have not fully read my comment
Unless reflected of course.

Today it’s not cool! Bind all the devices to the router and control not via IR, but via I-NET!

-What for? They are not smart. I can only control the on button. And modes, channels how to switch?

Eig,
radio relay is cool, but more interesting and more correct to do on LoRa.
- got acquainted. Interesting, I agree, but is it more correct to bother to turn on / off one pump? If the water had not been pumped out and the radio relay would not have been necessary. The crane closed - the pump turned off.
Author
Quote: ino53
from the remote

Yes it is
Valery,
... ..
I have not tried it.
......
Most likely so, and even the same type of remotes probably have some kind of variation in the power of the emitted pulses.
Author
Quote: Valery
About the ass?

Well, the fans of our business are getting better ... :-)))
Valery,
The air is not crystal clear. If you focus in a thin beam - in any weather twenty meters will be visible ....
No, I tried to hint that any point source of light, including infrared, should radiate a spherical wave. Well, all kinds of reflectors focus there, of course, but they do not cancel diffraction! That bent over! scratch
Quote: LeoBrynn
Korolev,
A normal flashlight will be visible. My beam can cut bread.

Of course it will be seen. The air is not crystal clear. If you focus in a thin beam - in any weather twenty meters will be visible ....
The example is not successful ... More precisely, it is outdated. (I mean, it would be correct when not a thousand lumens emitted flashlights)))))

Quote: brnjh1
Quote: Korolev
I don’t understand, is the finger small? Hussars, keep quiet !!!

I have only a small finger, the little finger on my left hand, and that’s because I wore it picking my nose. Rest all Big... .:-)))

About the ass?

ino53,
And Horizon, Vityaz and Philips do not listen to the same remotes? In kinescope it was like that ..
... I have three Samsung and five remotes to them. (Three is not enough! They are all in that room where the wife is!))))). Two - large (from "smart TV"). Three - smaller, another model. What is characteristic, without any system the “coverage” is different for everyone. One of the “big ones” hits, even if aiming over his shoulder ... The second one, the same one, is already “more modest, but you can also send it to the side. Small, two are about the same, one is more“ pointed ”... knows what it depends on ... I suspect that the big ones are “wider” due to the fact that the diodes are not so deep in them ... But this is “in general.” And why are they “different” among themselves ???
P.S. It doesn’t depend on the TV. Only from the remote control.
Author
Quote: Korolev
The supply of 220V to any input on the computer, except for the PSU, makes the entire computer unnecessary!

It’s necessary to record ... An old joke from the 90s. - Yesterday I reread the pager, I thought a lot ... :-)))
Korolev,
A normal flashlight will be visible. My beam can cut bread.
Leobrynn,
On HDMI it would be interesting
HDMI is the output of a video card, but we are not done with the inputs yet! xaxa
brnjh1,
For the one that is less needed ...
The supply of 220V to any input on the computer, except for the PSU, makes the entire computer unnecessary! xaxa

pogranec,
I can control a TV, set-top box, split from my phone via IR
Today it’s not cool! Bind all the devices to the router and control not via IR, but via I-NET! yahoo
brnjh1,
I am embarrassed to ask, and on which, actually, the input should be supplied with 220 Volts, AUDIO? VIDEO?

On HDMI it would be interesting. xaxa
pogranec,
- I doubt
Your theoretical doubts are refuted by my (and not only) practical experience. Or so you claim that I am lying? Turn on the flashlight in the outstretched hand in the sky, your eye will see that the flashlight is on? smile
Author
Quote: Korolev
I don’t understand, is the finger small? Hussars, keep quiet !!!

I have only a small finger, the little finger on my left hand, and that’s because I wore it picking my nose. Rest all Big... .:-)))
Author
Quote: Korolev
I am embarrassed to ask, and on which, actually, the input should be supplied with 220 Volts, AUDIO? VIDEO?

For the one that is less needed ... :-)))
pogranec,
radio relay is cool, but more interesting and more correct to do on LoRa. Then you can not think about batteries. On LoRa soon, the entire IoT will be transferred. The simplest RFM69CW module costs 100 rubles, but you need to be able to solder it, and do the strapping. And it is clear that they will need at least two.
Eig,
That's the control from your smartphone extension cord from anywhere in the world via the Internet
- I can control a TV, set-top box, split from my phone via IR. Honestly, it’s easier to take a full-time remote than turn on the phone, launch a program, etc.
If within the room, then probably IR is easier. I have a radio relay on the watering pump. On and off from any point in the garden. Not much did not finish - lengthened the antenna.
Author
Quote: Korolev
grandfather

Yeah ... before sugar was sweeter and the sun was shining brighter, and the phones were with the correct melodies ... :-)))


brnjh1,
catches the march - Farewell of the Slav
And in my “grandfather's phone” “Farewell to Slavyanka” - the default ringtone did not change the ringtone! yes
Author
Quote: Korolev
And where can I get such a song

A march catches me trembling knees - Farewell of the Slav. When he served, from a divorce on guard under this march walked ...
brnjh1,
the song helps us to build and live ...
And where can I get such a song ... (Olga Voronets, if anyone remembers) scratch
Author
Quote: 24film
Aftar with Humar

the song helps us to build and live ... :-)))
Quote: pogranec

[b] Korolev
,
I will not venture to assert categorically, but I personally came across systems in which the remote control, at least direct the ceiling, will work! - I doubt it. There, the signal is not by a radio wave, but by a beam. Of course, the angle can change, but I doubt the ceiling. Unless reflected of course.
Three TVs at home. You need to aim at Samsung, and even pull your hand towards it. Philips - so that the remote control looks towards the TV approximately. Horizon - direct the remote control in any direction, it will work, however, the kitchen is smaller. The fourth, kinescopic Vityaz, is not taken into account, but like Horizon.
Author
Quote: pogranec
Unless reflected of course

From the opposite wall I had a signal reflected twice, it dislikes obstacles ...
Author
Quote: Korolev
remote control even direct to the ceiling, it will work!

In the 90s, I got a Malaysian Panasonic TV signal from the opposite wall

brnjh1,
Well, if one consumer is connected to it, then it’s understandable.

Korolev,
I will not venture to assert categorically, but I personally came across systems in which the remote control, at least direct the ceiling, will work!
- I doubt it. There, the signal is not by a radio wave, but by a beam. Of course, the angle can change, but I doubt the ceiling. Unless reflected of course.
Author
Quote: Korolev
I came across systems in which the remote control even direct to the ceiling, it will work!

This is true!
brnjh1,
You still have to get your finger, it's a little ...
I don’t understand, is the finger small? Hussars, keep quiet !!! xaxa

pogranec,
the main disadvantage, the need to "aim" at the receiver
I will not venture to assert categorically, but I personally came across systems in which the remote control, at least direct the ceiling, will work! yes
Author
Quote: Korolev
Too shy to ask

I'm shy to answer, at the input of the power supply ...
Dmitrij,
of course USB
No, USB is a port, and input and output. smile
Author
Quote: Korolev
with a calculator it will be easier, you can poke it with one finger!

You still have to get your finger, it's a little ...
Korolev,
of course USB
Author
Quote: pogranec
I wouldn’t embed it in the carrier. All advantages overlap with the main disadvantage, the need to "aim" at the receiver. Slightly moved the carrier and that's it

I do not fully understand you. The assembly is assembled in the outlet block, which usually stands quietly on the table or on the floor, the remote control in the hand, during testing, never missed from 4-5 meters. Regarding the application, it was originally thought to be installed in a room light switch, but it was lazy to delve into the switch box ...
brnjh1,
to supply voltage 220 volt at the entrance computer ...
I am embarrassed to ask, and on which, actually, the input should be supplied with 220 Volts, AUDIO? VIDEO? scratch
For some kind of narrow task it’s normal, but I wouldn’t embed it into the carrying. All advantages overlap with the main disadvantage, the need to "aim" at the receiver. Slightly moved the carrier and that's it.
Author
Quote: Korolev
Compliant Wi-Fi outlet

An old joke came to my mind about Petka pulling the Antenna on the roof ... :-)))
brnjh1,
here without a trouble calculator ...
Well, with a calculator, it will be easier, you can poke it with one finger! xaxa

We advise you to read:

Hand it for the smartphone ...