📜 ⬆️ ⬇️

Internet of Things on ESP8266

We have developed an interesting device - WI-FI relay MP3500 for 2 channels. The heart of this device is the most popular at the moment chip ESP8266. The first thing you thought about was “Internet of Things!”, Yes, you are absolutely right.



What is so interesting chip ESP8266 or, as it is called, "popular wi-fi"? In the photo you can see him, he is blue. The fact is that ESP8266 is one of the most highly integrated and inexpensive solutions for working with Wi-Fi and can easily be used as the “brain” of a future product. There are two main applications in the ready-made devices - providing Wi-Fi communications and organizing the home appliance control logic using the free resources of the built-in microcontroller.

')
The KIT master released the MP3500 module on a universal, in fact, "debug" board. It has a power source with a wide input voltage range, although, in the case of a relay, the board must be connected strictly to a 12 volt source. There is a connector for connecting an external microcontroller, for example, Arduino-compatible. The same connector can be used to reprogram the ESP8266 module. All you need is a USB-UART adapter.

In the near future, new Wi-Fi solutions will appear on the same board.

MP3500 will be a pleasant discovery for those who like to use Android gadgets. We made for the smartphone a demo program with an intuitive interface. Having connected the relay to electrical devices, we tested it in different conditions ... But about this we will write separate reports.



Consider the block itself closer:





Technical Features MP3500

Thanks to the screw terminal connection does not take much time, and the entire assembly and configuration takes only about 15 minutes.

Specifications MP3500:

Power supply: 12 V
Maximum current consumption: 450 mA
Power Type: Permanent
Number of Outlets: 2 pcs
Switching voltage: 220 V
Maximum permissible load current: 10 A
Module length: 75 mm
Module width: 38 mm
Module height: 20 mm
Weight, not more: 100 g

How does the module work?

There are two options for the module to work - this is distribution from our own WI-FI network and connecting the MP3500 to an existing home network. Included with the device is a clear instruction and a free program WIFI_2RELE.apk for Android, with which you can control each of the two relays installed on the board.

In addition to the presented program WIFI_2RELE, a system of embedded AT commands is also available, knowing that you can access the module control from your own applications, on any platform that supports the TCP / UDP protocol. With the help of the terminal utility HERCULES from the company HWgroup, which you can find on www.HW-group.com - you can clearly study the process of sending commands and receiving a response from the module at the protocol level.

Examples of module AT commands:

! SetR0_1 - turn off the relay 1
! SetR1_1 - enable relay 1
! SetR0_2 - turn off the relay 2
! SetR1_2 - enable relay 2

Possible applications of Wi-Fi relay:

The possibility of connecting 2 electrical devices through two outputs. You can apply the relay anywhere at home, the main thing is to observe the technical limitations on the capacity of the connected load. After the power supply is connected, the load is controlled via normally closed contacts. At power off - the state of the relay is not saved. The master kit recommends powering the load and the module from one phase of 220 V and through one automatic circuit breaker.

Application options:

1.) Projects "Smart Home"
2.) Control of lighting, ventilation, blinds, gates
3.) Connection of household appliances, for example multicookers
4.) Pet feeding

Solution example

Our employee lives at home rather obsessive cat that wakes her up in the morning, about five o'clock to feed him. I think the situation is familiar to many. Previously, a timer was used to solve. But the problem was that the programmed time did not always coincide with the cat's desire to eat. After connecting the relay to the trough and to the lighting in the kitchen - the problem disappeared by itself. Now in the morning, when the cat starts to wake her up, he presses the two buttons on the phone - the light comes on in the kitchen and the food is poured in the feeder, the cat is fed, and she sleeps further. And for their cheerfulness in the morning immensely grateful to this invention.

By the way, we will definitely describe the design of the feeder and the technical part in the next publication.

Let's sum up:

1. MP3500 is Master Kit's own development on an ESP8266 chip, representing two remote controlled relays.
2. Small size, and then I think there will be a “nano-version”
3. Easy to use
4. Attractive price of a turnkey solution
5. Fits different needs.

With the advent of such a module, even home developers of various arduino solutions of “smart houses” have the opportunity to connect their devices on a Wi-Fi network without any problems with microcontroller-level programming.

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


All Articles