Yes, operating system will allow you to find and connect to nearby networks, but how about add-ons? What if you need to have detailed information on all the Wi-Fi networks around you, need to fix problems with your network, turn your laptop into a portable Wi-Fi hotspot, or stay safe in public hotspots? Windows won't help you with all of this.

That's why we've found six apps for you. They do everything Windows can't and more. Five of the six apps are free, while the sixth is not expensive at all.

From MetaGeek is an excellent tool for searching and collecting information on Wi-Fi networks in the area where your computer is located. The program is also useful in solving problems with your own Wi-Fi network.

For all found Wi-Fi networks, InSSIDer shows the MAC address of the router, the manufacturer of the router (if the program can determine it - usually it can), the channel in use, the SSID or public name of the network, the type of security, network speed, and the like. In addition, the program shows the current signal strength of the network.

How would you use the program to solve problems with your wireless network? If you see that a nearby network with a strong signal is on the same channel as you, you would change the channel of your network (most routers allow this) to avoid potential conflicts.

The program also allows you to identify "dead zones" in your area, where there is no sufficiently reliable Wi-Fi signal. To do this, just walk around your home or office with InSSIDer turned on. In the future, you can either avoid these places or try to rearrange your router.

Whether you're looking to fix problems with your network or find Wi-Fi hotspots to connect to, InSSIDer is the program you'll want to download and try out.

Price: Free
Compatibility: Windows XP, Vista and 7 (32-bit and 64-bit)
Download InSSIDer

Here's another one great program to search for Wi-Fi networks and provide information on them, such as their distance from you. The radar-like screen shows all nearby hot spots. A separate panel offers detailed information on all found hotspots, including signal strength, network type (for example, 802.11n), router manufacturer, transmission channel, etc.

Next to the radar, the panel provides even more detailed information about the network you are currently connected to, including your personal IP address, external IP address, DNS, gateway information, and more.

Why use Xirrus Wi-Fi Inspector over MetaGeek InSSIDer? For example, because the simpler and more understandable layout of Wi-Fi Inspector simplifies the presentation of information on hot spots. The program also shows the relative physical distance of you from the hot spot. And, probably, no one will deny the usefulness of the radar itself.

However, InSSIDer is better than Xirrus Wi-Fi Inspector in terms of getting more detailed information about surrounding Wi-Fi networks.

Price: Free
Compatibility: Windows XP SP2+, Vista and 7
Download Xirrus WiFi Inspector

- it's beautiful free program, which allows you to turn a Windows 7 computer (the program only works with Windows 7) into a Wi-Fi hotspot, which can then be used by nearby devices - like a smartphone, or colleagues' tablets.

Of course, the computer itself, which you would like to turn into a Wi-Fi hotspot, must be connected to the Internet and support Wi-Fi. At the same time, the Internet connection does not have to be wired at all (although it does not hurt), because the computer's Wi-Fi card can perform a dual function - on the one hand, act as a Wi-Fi receiver, and on the other, as a transmitter.

Setting up a hotspot is simple: once connected to the Internet, launch Connectify, give your hotspot a name, and set a password. After that, your computer's Wi-Fi card will start broadcasting a Wi-Fi signal that other devices can connect to. It is worth noting that your computer will work on the Wi-Fi protocol under which it was created. In addition, it will also support older protocols. So, for example, the 802.11n signal will allow you to connect devices with 802.11b/g/n.

Setting a password will restrict access to the Internet by strangers. The hotspot signal itself is protected by WPA2-PSK encryption.

Connectify you can even use to install local network without external connection to the Internet. Run the program as a hotspot and nearby devices will be able to connect to its network, even if you don't have Internet access. This can be used, for example, to transfer files within working group or for multiplayer games.

It's worth noting that connecting my Mac to a hotspot based on a Windows 7 computer and Connectify caused me problems. However, other computers and devices connected without problems.

Hello, dear readers and guests of the Electrician's Notes website.

In my past publications, I introduced you to and touch, controlled both manually and from the control panel.

But today I would like to draw your attention to the Sonoff relay (switch) of the Basic version with the ability to control directly from mobile phone via a Wi-Fi network or the Internet.

The Sonoff Basic relay is a small device (88x38x23 mm), which can be placed behind the ceiling space, in a building niche, or in the bowl of a chandelier or lamp without any problems.

Its cost at the time of publication of the article is a little less than 300 rubles. As you understand, this is quite acceptable money, moreover, for such a modern device. I got it on the well-known trading platform Aliexpress (link will be at the end of the article).

The kit included two protective covers with mounting screws, but, unfortunately, there were no instructions.

Sonoff relay has the following specifications, some of which are displayed directly on its body:

  • maximum controlled load current 10 (A)
  • supply voltage from 90 (V) to 250 (V)
  • standard wireless communication 802.11b/g/n
  • security protocol WPA-PSK/WPA2-PSK
  • operating temperature from 0°С to 40°С
  • weight about 50 g

Sonoff Basic Relay Capabilities:

  • load management via Wi-Fi
  • Internet load management
  • load control according to a given timer, both with direct and reverse countdown
  • load management from multiple mobile phones

These are the possibilities the Sonoff relay has. It can be safely used in systems smart home and for various other needs and requirements.

First, I will tell you how to connect Sonoff, and then we will check all its declared control methods in practice.

So let's go.

Installation and connection of the Sonoff relay

For the Sonoff relay to work, it needs a supply voltage of 220 (V), which means that it can be installed without problems in a place convenient for you, for example, in a chandelier bowl or right under a stretch ceiling, as well as directly in a junction box if there is enough space.

The relay has two mounting holes to mount the relay to a surface.

The Sonoff relay wiring diagram is very simple.

On the terminals (L) and (N) from the side (Input-Input), the phase and zero of the supply voltage 220 (V) are connected, respectively. Naturally, when connecting, do not forget about.

Please note that the wires to be connected must have a cross section of no more than 1.5 sq. mm. But I still tried to connect wires with a cross section of 2.5 sq. mm. As a result, a rigid (single-wire) wire can still be connected without problems, but a flexible (stranded) wire is already inserted into the terminal with great difficulty, so it was even necessary to flatten and deform it a little.

For example, I used a power cable of the PVS brand, which just the same has a cross section of 2.5 sq. mm. At the other end of the cable there is a plug, which I will later plug into any outlet with a voltage of 220 (V).

On the terminals (L) and (N) from the side (Output-Output), the phase and zero load are connected, respectively.

For the convenience of connecting the load, I connected a socket to the relay output.

By the way, terminal covers carry not only protective function, but also play the role of clamps for power wires or cables.

This is how it all turns out nice and neat. Sonoff relay connected.

As a load, I connected led lamp, about in one of his articles.

Here is a simple example of a Sonoff relay wiring diagram for a group of luminaires.

By the way, it is not necessary to use only a lamp or a group of lamps as a load. Any other load that does not exceed the rated current 10 (A) can be safely connected to the output terminals. And if you still need to control a load that has a current value above 10 (A), then it can be connected to a contactor, and with the help of a relay you can already control the coil of this contactor.

In this regard, we can add that when using a contactor, you can control at least a single-phase load, at least a three-phase one, at least alternating current, though constant.

It will look something like this.

Thus, the scope of the Sonoff relay is very wide and varied. It can be controlled by at least one light bulb, even a powerful single-phase electric heater, even a three-phase electric motor, etc. It all depends on your needs and requirements.

And now let's look at all the possibilities of controlling the Sonoff relay in more detail.

I will not open the relay and look at its device, there is already enough information on the Internet on this subject - look at the relevant electronics resources. And judging by the reviews, the performance of the relay is quite decent. By the way, who is interested to know, the relay is assembled on the basis of the well-known Chinese microcontroller ESP8266.

Load management via phone via Wi-Fi network

Before I talk about controlling the relay via Wi-Fi, I will say that it can also be controlled manually. To do this, on its body there is a small recessed black button. So, with one short press of it, the relay turns on, and when it is pressed again, accordingly, it turns off. Moreover, for this it is not necessary that the relay be connected to a Wi-Fi network - it will also be controlled in Offline mode.

But in addition to this, the button also carries other functionality, which I will discuss below.

To implement the ability to control the load via Wi-Fi and the Internet, you need to install on your phone mobile app eWeLink. This app is available for both Android and iOS devices. To facilitate the search for the application, you can use the necessary QR codes on the package.

For devices with android application eWeLink can be downloaded for free from Google Play and install it on your phone without any problems. The program interface supports Russian.

For iOS devices, this app is available in App Store. I have not tried to download and install this application on an iPhone or iPad, so if you have tried this application on iOS devices, please write in the comments about the results.

After installing the eWeLink application, you will need to immediately register, indicating the country and your email address. In this case, the phone must be connected to the Internet.

After that, a verification code will be sent to the mail (valid for 30 minutes), which must be entered in the corresponding line "Email code". On the same page, you must enter a password to enter your future account (at least 8 characters).

By the way, letters reach the mail services Mail.ru and Mail.yandex.ru (Yandex-mail) without problems. But as far as I am aware, Post service Gmail.ru (Google mail) letters from verification code do not always reach, so keep this in mind.

Then it is necessary to pair the relay and the router by holding the same button on the switch body for a long time (for 5 seconds), after which the relay blinks green LED. Put a tick on the first connection mode and click "Next".

Now you need to select our Wi-Fi network from the list and enter a password from it. In order not to enter a password each time, you can check the "Remember password" box. Click "Next", after which the search for our device and its registration will begin (in time it took me no more than 2-3 minutes).

After successful pairing, the relay automatically transfers data to the Chinese cloud (Amazon AWS or Coolkit), which makes it possible to control it via the Internet. But I will return to this a little later.

As you can see, our relay is now displayed in the list of all devices (so far it is the only one in the list, but others will appear very soon).

When the relay is online (on the network), the green LED on its body is always on. As soon as the LED starts to blink, it means that the connection with the router or the Internet is lost. Just by this indicator, it is convenient to determine whether the relay is in the network (Online) or not (Offline).

While I was testing this device, I did not notice problems with the loss of the network. The device is always online and responds stably to control commands.

Now you can try to turn on the relay through the phone. To do this, click on "Relay 1". Immediately, a red inscription appeared stating that it was necessary to update the eWeLink application, although Google play update not displayed.

We go into the device settings (three dots in the right corner) and see that the application has current version 1.5.2 and more available a new version 1.5.5. Click on the "Download" icon and the application update begins. After the update, the red inscription disappears, and in the settings we can see a new current version 1.5.5.

Remember!!! The main condition for the operation of the relay is the availability of Internet access.

If Internet access suddenly disappears, then the green LED on the relay case will flash, and the application will display the Offline mode on its tab, i.e. not available for management.

So, to turn on our "Relay 1", you need to enter it and click on the round virtual button in the center of the screen. Moreover, you can control the relay from the general list of all devices by clicking on the corresponding small button (on the left). In general, whoever likes it.

When the relay is off, the button is white with a gray background around it. When the relay is on, the button changes its color to green, and the background around it turns blue.

In addition to the banal principles of control, you can set the time to turn on or turn off the relay by timer by setting the appropriate date and time for its control.

Moreover, I was surprised that the relay is triggered by a given timer even when it is offline (Offline), which means that all the specified timer programs are stored directly in the relay's memory.

Click on the "Add timer" button and go to the timer settings page. Each timer is configurable to either turn the relay on or off. There are two options for setting the timer:

  • single (single operation on a given date and time)
  • repeated (periodic triggering on a given date and time, including specifying specific days of the week)

In addition to the countdown timer, there is a countdown timer. Very necessary functionality for certain purposes. It is configured similarly to a direct timer, only with the possibility of a single operation.

In addition to the forward and reverse timers, there is a cyclic timer in the "Settings" tab (three dots in the right corner).

In this tab, you can configure various options for relay operation cycles. I will not talk about this in detail, because. everything here is simple and intuitive.

The total number of configured timers, including the cyclic timer, can be no more than 8. And be careful, because. if different timers are superimposed on each other, none of them may work!!!

Also in the settings you can specify in which position the relay will remain if the 220 (V) power is suddenly turned off from it. There are three options here. By setting the appropriate checkboxes, you can choose that when the 220 (V) power reappears, the relay can either turn on, or turn off, or remain in original state.

By the way, this is a very handy feature. Just remember the nuance, which, when the 220 (V) power disappears and reappears, for some reason always turns on, and even when it is in the off state. And imagine that you are not at home, the voltage in the network “blinked” a little and the controller turned on the chandelier on its own. Here such an incident will not occur, because. in this case, everything can be customized to your needs.

In addition to the above, all your connected devices in the eWeLink application can be grouped together and combined in various scenarios.

Is it possible to control the relay from several phones at once?

Can! Naturally, at the same time, the eWeLink application must be installed on each phone.

There are two options here. The first option is to log into the eWeLink application with the same name and password with different phones and control the relay.

True, if you enter the application on one phone, and then at the same time enter the application under the same login and password, but on another phone, then an error will occur on the first phone and the application will automatically exit. At the same time, the second phone remains in the application and can be used to control devices.

At the same time, I would like to note that when the relay is controlled from one phone, its status is displayed almost instantly on all phones that are connected to it.

Internet load management

In addition to controlling the relay via a phone via a Wi-Fi network, it can also be controlled via the Internet from anywhere in your location, i.e. absolutely from anywhere in the world where there is Internet access.

So, to control the switch via the Internet, you need to log in to the same eWeLink application using your username and password that you specified during registration. And then everything by analogy. The same application, the same settings, the same control buttons, etc., the only difference is that you are not at home within the range of your WiFi networks, and at a distance of hundreds and thousands of kilometers from home.

A little about the cloud.

But still, you will not be able to control the relay without the Internet, because. control is not through a local network, but through the Internet, i.e. the same Chinese cloud that I mentioned above. And it doesn’t matter if the control is via Wi-Fi or via the Internet, the control always goes through the cloud, and access to the cloud requires Internet access.

In this regard, various craftsmen have already figured out how to untie this device from the Chinese cloud or make it control only through the local home network. Who cares then this information can be found on certain resources.

By the way, if you need a similar device, but with additional function radio remote control, you can order the Sonoff relay RF version.

If you want to control the load where there is no Internet at all, then you can use the Sonoff version G1 relay (GSM / GPRS with SIM card support). Also, this manufacturer has available relays with temperature and humidity sensors Sonoff ТН10/ТН16 and two-channel (for controlling two independent loads) Sonoff Dual relays.

In general, the manufacturer Sonoff has a lot various devices, I will tell you about some of the most interesting and significant on the pages of my site, so subscribe to the newsletter so as not to miss interesting releases.

You can buy the Sonoff relay here:

  1. Sonoff Basic: https://goo.gl/jXyNm3
  2. Sonoff RF (with radio control): https://goo.gl/TRPqN6
  3. Sonoff G1(GSM/GPRS with SIM support): https://goo.gl/EkpTdp
  4. Sonoff ТН10/ТН16 (temperature and humidity sensor): https://goo.gl/MWAL5p
  5. Sonoff Dual (dual channel): https://goo.gl/a7rV56

And already by tradition, a video based on the materials of the article, where you can more clearly see the configuration and control of the Sonoff relay:

The age of progress and high technology is already persistently knocking on every home. Already today, every home has a computer, as well as a bunch of mobile devices: tablets, smartphones, netbooks, transformers (netbooks with a removable touch screen or tablets with docking stations) and other devices. It is not surprising that many people already have the opportunity to control various devices through. From lighting to other household electrical appliances. Such installations are called « Smart House» and were already known in the early 2000s, but became widespread among ordinary users only these days when wireless technologies made available to a wide range of users.

Some general information

It is immediately worth noting that to control the light, TV, refrigerator, air conditioner, microwave oven or any other electrical appliance, we need a special station or relay. They are different types, with different features and functions. For example, the cheapest devices are made in the form of a socket with a remote control. remote control. That is, you insert the "Wireless socket" into a regular socket (to connect to the power supply). In a wireless device, turn on the pond compressor (for example, sunsun aco review, etc.), and using the remote control, you can turn it off or on. Everything is very easy and very simple!

But there are more expensive and advanced devices that allow you to control household appliances through special applications on tablets and smartphones. In this case, the connection can occur both in the local network and remotely via the Internet.

As you understand, it is simply impossible to describe everything in one article, so we will analyze only two types of Smart Home devices. Manage computer functions via Android via Bluetooth.

"Wireless" socket

The word "wireless" here means that you can connect to it via Wi-Fi and control its operation. Consider how such gadgets work, using the example of a device from Edup. This is a Chinese company, but it produces quite high quality products.

How to use this outlet?

  1. We connect the device to the power supply network (into a regular outlet).
  2. There is a button on top of the device. Press and hold it until the Wi-Fi indicator starts flashing (if you hold the button, but another icon is constantly flashing, then release the button and press again briefly). Thus, we switched the device to the mode of searching for Wi-Fi networks in order to bind to the router.

Now let's move on to a tablet or smartphone (which will be used for remote control). In our case, the app is called Edup Wi-Fi. After installing the application on your tablet, you will have to register.

After that, go to the application under your login. But now there will not be a single device in it: the fact is that you need to add equipment manually, so we exit the application.

Now open the settings of the smartphone (tablet) and go to the "Wi-Fi" section. Turn on the adapter. When the system offers a list of devices available for connection, find your "wireless" outlet and connect to it. The connection we need is called "Wifino1". After we have connected to the device, we return to the Edup WiFi application.

Here you need to click the "Settings" button, which is located at the very bottom of the screen on the right. Next, click "Initialize Device". Information about the connected device will be displayed at the top: and the name.

Below you will need to enter the name of your Wi-Fi network in the field. You need to enter exactly as indicated in the router, with all characters, uppercase or lowercase letters, and so on. The name must match exactly. And, accordingly, enter the password for your Wi-Fi network.

After that, press the "Start" button. The phone will start sending the necessary commands to the Wi-Fi socket. You just have to wait for the pairing to be completed. When this happens, the indicator on the outlet itself, which was blinking before, will stop blinking and will be constantly on.

Now, when you log back into the Edup WiFi app, the "Devices" section will contain your wireless socket connected to the router. Opposite the name there will be a button, when pressed, the device will turn on or off. As you can see, controlling your household appliances via Wi-Fi is a fairly simple and quick process.

"Wireless" relay

The second gadget that will allow you to control the light in the house via Wi-Fi is a relay. This equipment is more powerful, which can withstand higher loads. At the same time, everything works directly. That is, the relay itself distributes Wi-Fi, to which you need to connect and then launch the corresponding application and already in the program control the operation of the relay.

No special settings need to be made. The relay comes with setup instructions and a disk with the necessary software. In fact, the relay is practically no different from the outlet. But if you can control the outlet via the Internet, then the relay requires a direct connection via Wi-Fi or Bluetooth.

There are other Smart Home options with which you can set up control of all household electrical appliances at once. But the cost of such equipment will be appropriate and accessible to few.

Management and WiFi setup in his house Kashkarov Andrey Petrovich

1.11. Wi-Fi signal distribution via laptop

All possible options implementation WiFi sharing from a laptop or PC, including how to set up standard means Windows 10, as well as with the help of specialized programs, cannot be considered within the same book, so let's turn to the most popular options that have stood the test of time.

Option number 1. Wi-Fi sharing can be done using command line and the built-in netsh command in Windows 7.

Requirements: computer 1 – Internet connection (LAN, WiFi, 3G…), Wi-Fi module, installed Windows 7 and above, and a second computer with built-in Wi-Fi module. In this case, a relatively simple network (ad-hoc mode) in point-to-point mode is not suitable for connecting to devices that do not support ad-hoc networks (for example, a tablet or phone based on Android OS). The use of this network is necessary mainly for data exchange between PCs in the absence of the ability to use an access point. The essence of the method consists in several practical steps.

1. Open Start? Control Panel? Network and Sharing Center? Set up a shared connection or network.

2. Choose: Setting wireless network computer-computer, press Further. Set the network name and security key in Latin, click Further.

3. Open Start? Control Panel? Network and Sharing Center? Change adapter settings.

Select a network with Internet access and go to Properties. Then go to the tab Access and enable command to public access. On another computer, we look for the network we created and connect.

Option number 2. Distribution wifi signal using the command line and the Windows 7 built-in netsh command to connect a computer-device network with Wi-Fi.

Requirements: computer 1 – Internet connection (LAN, WiFi, 3G…), presence of a Wi-Fi module, the drivers of which support Virtual Wi-Fi, installed Windows 7 Ultimate or Windows 8 R2, a second PC or (other devices) with the presence of the module .

Allows you to connect devices through an access point (Access Point-AP) based on Virtual Wi-Fi software technology. This technology is based on a software access point (Software Access Point - SoftAP), to which you can connect a laptop, phone (supported by OS Android), camera, printer and other devices.

1. Click Start? enter in the search bar cmd ? open command prompt as administrator.

2. Enter the following line into the command line:

netsh wlan set hostednetwork mode=allow ssid="HomeWi-Fi" key="123qwe123456" keyUsage=persistent, where ssid="Home Wi-Fi" SSID– network identifier (network name), in our example: home wifi; key="123qwe123456"– security key (password), in our example: 1 23qwe123456". Next click Enter.

3. Then we start the network with the command (also enter into the command line) netsh wlan start hostednetwork, then in the list network connections the newly created HomeWi-Fi network is visible.

In order to provide Internet access to other devices connected to our created network, it is necessary to follow the procedure of step 3 described in the “alternative” option (No. 2).

AT this option there is a feature that when you turn off the distributing laptop or go to sleep, you will need to start the network from the command line again. In order not to do this every time, just download given file start WiFi. bat and drag it to .

Thus, we set up the distribution of Wi-Fi from a laptop to other devices.

Option number 3. Using a program for distributing Wi-Fi from a laptop. Requirements: according to method number 2.

This option implements the possibility of creating an access point based on the described method No. 2, using only graphical program shells. Freely available great amount programs for distributing Wi-Fi from a laptop or PC, so it makes no sense to describe the settings for each.

Attention important!

It would be useful to purchase an autonomous Wi-Fi access point, which will save the user from many problems with connecting various devices. If the signal strength is insufficient, use an external Wi-Fi antenna with a high gain.

Wi-Fi routers: differences and features

Today, the router is one of the most popular devices among Internet users. The market offers a wide range of routers for every taste. Which router is better to choose for home use? It is rather difficult to give an unambiguous answer to this question. different types routers, the main factors that you need to pay attention to when choosing a home Wi-Fi modem are all those important aspects without which right choice difficult.

This text is an introductory piece. From the book INFORMATION TECHNOLOGY. SOFTWARE DOCUMENT MANAGEMENT GUIDE author author unknown

From the book Hydraulics author Babaev M A

From the book Instrumentation author Babaev M A

39. Distribution of speeds with uniform steady motion. Laminar film Nevertheless, despite the above and other features that are not mentioned because of their lack of demand, the main feature of turbulent motion is mixing

From the book Wave Energy by Ross David

40. Velocity distribution in a "living" flow section Modern hydrodynamics has managed to solve these problems by applying the method statistical analysis. The main tool of this method is that the researcher goes beyond traditional approaches and applies to

From the book Factor Four. Costs - half, return - double author Weizsäcker Ernst Ulrich von

46. ​​Distribution of shear stresses in uniform motion With uniform motion, the head loss over the length lhe is determined: where? is the wetted perimeter, w is the open area, lhe is the length of the flow path, ?, g is the density of the liquid and the acceleration of gravity, ?0

From the book Rockets and Space Flight by Leigh Willy

From the book Digital Steganography author Gribunin Vadim Gennadievich

10. Binomial and polynomial distribution laws. Uniprobable distribution. Eccentricity distribution law 1. Binomial distribution law. This law is mathematically expressed by the expansion formula for the binomial (q + p)2 in the following form where n! - read

From the BIOS book. Express course author Traskovsky Anton Viktorovich

40. Methods of signal conversion There are three ways of converting in measuring heads.1. The conversion mechanism contains only gear mechanisms.2. The transformation is carried out by lever-tooth-chat, i.e. both methods of attachment are used

From the book Electronic Tricks for Curious Children author Kashkarov Andrey Petrovich

Distribution of roles Props Plot. Sir Christopher Cockerell proposed a trio of articulated pontoons following the profile of the wave. When the front pontoon, like a float, moves freely up and down, the second swings with a phase shift, and the third? -? remains

From the book Video Surveillance Systems [Workshop] author Kashkarov Andrey Petrovich

Distribution of Savings Then another problem arose: for a variety of metering reasons (some of them subtle), utilities were no longer making as much profit from electricity savings as they could from increasing

From the author's book

Distribution of meteorites in the zodiacal light The phenomenon of zodiacal light is of great interest from the point of view of the distribution of meteorites. As is known, it is associated with the reflection of sunlight from a lenticular cluster of meteoric matter, the center of which

From the author's book

7.3. Embedding information by changing the delay time of the echo signal The same authors proposed a method of embedding information using an echo signal. This method allows you to embed data in the cover signal by changing the parameters of the echo signal. to the echo options,

From the author's book

Chapter 7 Resource Allocation This section contains options that are most critical to the stability of your computer. By changing the values ​​of these parameters, you can avoid the so-called device conflicts or, conversely, get them. DMA Clock The option allows

From the author's book

3.7. Operation with an old radiotelephone or unusual use of the base and handset of a radiotelephone in the home Sometimes it happens that home radiotelephone morally obsolete, ceases to please as before - after all, there are modern models that you want

From the author's book

2.3. Mobile video cameras for signal transmission over networks cellular communication 2.3.1. Mobile 3G video camera GC19 Mobile 3G video camera GC19 (Fig. 2.26) allows you to remotely monitor the room in which it is installed. The signal is transmitted over cellular networks. Device

Today I want to show you an interesting device with which you can control anything via the Internet using WiFi assistance ESP8266 module (ESP-01) and ATmega8A microcontroller.
In this bundle, the module acts as a controller WiFi networks and web server, and ATmega8A acts as a power node controller, receives a string via a simple protocol from ESP8266 and, having processed it, issues a command to open one or another relay through a shift register 74HC595 and transistor assembly ULN2003.

Device Diagram:

Referring to the specified IP address, by default: 192.168.4.1 , you can configure various modes and control the lighting in an apartment or house. The device has a web interface. Firmware for ESP8266 is based on "web dumps" from respected « PVVX". I just added a couple of three handlers in the file so that when a certain string is received from the web side, a 4-byte string will be sent to the UART interface - the command identifier. There are two such commands for each control channel, this is turn on and turn off. Also, there are two additional commands that can turn on and off all lighting channels at once.
And then, having written a simple web page, I easily control the lighting of the apartment.

The device works as follows:

From the web side: if in a simple way, then when you click on any of the buttons, a script is first called that changes the background of the button and changes variable value from 1 to 0 and vice versa with each press and then the AJAX handler is called, which is processed by the program in the ESP8266 and sent to the UART code corresponding to the AJAX command. And already ATmega8A , this line is received and processed.

From the microcontroller side: a string is received, processed, and if the string matches the check string, then the necessary actions are performed. Looks like this like this:

Void send_data() ( static char buff_data=0, rel_data=0; static char x=0; if(string_search("@1A00",rx_buffer)) // LIGHT ON kitchen ( rel_data|=0x81; printf("1CH ON\ r\n"); clear_buffer_rx(); x=0; if(demo<42000 && demo_off==0) demo++; } .................... .................... else if(string_search("@2A00",rx_buffer)) // LIGHT OFF кухня { rel_data&=~0x81; printf("1CH OFF\r\n"); clear_buffer_rx(); x=0; if(demo<42000 && demo_off==0) demo++; } relay_send(rel_data); }

This function compares the incoming string to yuart with a string that executes certain commands. If it matches, then the action is performed.

the yuart parser function is self-made, here is its code:

Char string_search(char *str1,char *str2) ( unsigned char addr=0,x=0,y=0; str1+=0; str2+=0; while(str1!=0) ( addr++; ) while(str1[y ]!=0 && str2[x]!=0) ( if(str1[y] == str2[x]) ( y++; x++; ) else ( if(y

The web page does not claim to be a premium, and looks like this:

When you press any of the buttons, the lighting turns on!

The settings web pages are hidden from the main one and open when you enter links. Below I will list them.

If desired, anyone can modify the main page by adding a button or link to it to go to the settings.

192.168.4.1/protect/wifi.htm
192.168.4.1/protect/setup.htm
192.168.4.1/protect/uart.htm
192.168.4.1/protect/upload.htm

For questions about updating the firmware, you can.

Photo of the mounted device:

Attention! The printed circuit boards were designed as universal (for general use) and boards were used from what was already manufactured, this is all due to the reduction of development time and savings in the cost of manufacturing factory boards. Therefore, some nodes are soldered not for the task of lighting control.