Counter with data transfer via the Internet. Wireless electricity meter "a1" with radio module "strizh", single-phase. Why are electronic meters beneficial when transmitting readings for light

  • 06.12.2019

Product in stock! Prices 2019

Terms of ordering and delivery of adapters for communication with Mercury meters
(e-mail requests [email protected] or call 8-909-283-34-16)


1) Automation unit - WiFi router (model VR-007.4) The cost is 5000 rubles. Buy. Miniature USPD for querying lists of Mercury counters via any of the connected USB-RS485/CAN/IRDA/optoport interfaces. It can independently interrogate 10 three-phase Mercury meters, or create an end-to-end tunnel through itself for polling an unlimited list of meters by external programs.

2) The cost is 3300 rubles. Buy. A complete hardware device for data transmission between an Ethernet local area network and a wired RS485 interface. It is widely used to automate the taking of readings from metering devices, including Mercury electricity meters. Works with all kinds of TCP/IP protocols in server and client modes. It can be displayed on the Internet for remote monitoring of ASKUE accounting objects.

3) The cost is 1950 rubles. Buy. Interface converter for electricity meters Mercury-230, 231, SE-102 containing IRDA interfaces. To connect to the electric meter does not require opening the terminal box.

With the introduction of the law on the independent transfer of data on the resources consumed by the management company, residents were faced with the need to monthly rewrite the readings of electric meters (as well as other metering devices), call or personally visit the offices of service organizations. But it happens that there is no time for this or a person forgot to transfer the data. Then, without paying a penny, you will have to deposit double the amount next month, which is inconvenient when the budget is calculated. However, this will not happen if you install an electric meter that transmits readings to the management company on its own. Today we will talk about the pros and cons, as well as the design of such equipment.

Read in the article:

Features of electricity meters with remote reading

The difference between transmitting electricity meters and simple ones is the presence of a microcontroller and a data transmission system that enable energy sales companies to remotely monitor energy consumption and even turn off its supply to the apartment in case of non-payment. To transfer the readings of the electricity meter, no action is required from the owner - only the initial setup and transmission of the first readings.


Functions of the information-measuring system

The task of the information-measuring system is to collect, analyze and transfer information about electricity consumption to a supplier or a controlling organization. It provides the ability to turn off or resume the supply of electricity by the supplier, or even limit the power, if the consumer exceeds the limit under the contract.

Interesting information! With the help of the analysis made by the information-measuring system, it independently warns the consumer by sending informational messages to e-mail or personal account on the company's website.


Advantages of electric meters with remote reading

Electric meters with remote reading have a number of advantages over conventional devices. Let's consider some of them:

  1. Daily data capture allows you to resolve disputable situations - if there are questions about accruals.
  2. Instant fixation of tariff switching. In the case of conventional multi-tariff meters, there are situations of untimely switching. In this case, the power supply company resolves disputes not in favor of the owner.
  3. Additional protection. Often the owner forgets to turn off the iron or electric stoves, remembering this at work or on a trip. Using an electricity meter with data transfer, you can turn off the power supply from anywhere using a smartphone or computer connected to the Internet. Agree, a good way to protect your home.
  4. Saves time. Recording readings, wasting time on data transmission - today this is a luxury in our rhythm of life.

Electricity meter device with automatic data transmission

The device of such electric meters is similar to conventional ones and includes:

  • measuring transformers;
  • terminal block;
  • electronic board.

The latter is designed to connect the information-measuring system. But on the device it is worth dwelling in more detail. Let's see what it consists of.


Telemetry output: purpose

The telemetric output of the meter is a kind of port through which the meter is connected to a personal computer or remote data transmission equipment. Today, the manufacturer even offers analog devices equipped with a telemetry output, and hence the possibility of automatic data transfer.

Microcontroller: what is it and what is it used for

This device digitizes the input signal coming from the transformer, processes the information and receives commands from the controls. The operation of the liquid crystal display also depends on it.

Expert opinion

Engineer-designer of ES, EM, EO (power supply, electrical equipment, interior lighting) ASP North-West LLC

Ask a specialist

“The microcontroller limits the power of the current that is supplied to the apartment or completely turns off the voltage upon reaching the paid threshold, even without a command via the Internet. This happens if, under an agreement with an energy retail company, the supply of electricity is limited.”


There are models whose microcontroller is responsible for reading data from plastic smart cards that can be replenished from a regular bank card (for example, STK-3-10 or STK-1-10). An electric meter equipped with a similar controller makes it possible to pay for electricity instantly without leaving home.

Control system: principle of operation

Automated control systems perform the following functions:

  • collect data on consumption for a specified period of time (hour, day, week, month);
  • after processing the received information, they form a report on the consumed energy;
  • predict a possible expense (this helps the consumer if an agreement is drawn up for a prepaid calculation system).

The exchange of information between the meter and the electricity supplier takes place using a data transmission system. It depends on its functionality and the functions programmed in the microcontroller whether the device itself will transmit information about the consumed electricity or the owner will have to press the button of the power transmission device on certain days to remotely read the electricity meter.


Radio module: what is it for and what role does it play

Not all electricity meters are equipped with a radio module. Such devices are more often used by service organizations to take readings from general house electricity meters. Two-way communication is carried out over the radio channel. Interfacing range up to 10 kilometers. Otherwise, an electric meter with a radio module does not differ from those that work via the Internet via a wired connection, Wi-Fi or electricity meters with a SIM card that communicate through a mobile operator.


Related article:

In this review, we will consider the types of structures, what you need to pay attention to when choosing, popular models and manufacturers, average prices, recommendations from experts.

Such devices instantly transmit information about an opening attempt, a short circuit or other emergency situations. Like metering devices that transmit data via the Internet, they are equipped with a battery for autonomous power supply, which means that information about the shutdown and all subsequent actions will be displayed on the computer of the controlling organization.

How does an electric meter that transmits readings work?

The main work takes place in three stages - consumption data is collected, sent to the server of the energy sales or controlling organization, analyzed and archived. The first stage is performed by sensors that collect data on electricity consumption, and control over their operation and processing of the information received is carried out by the electronics of the metering device. There can be no more than 32 such sensors - for such maximum amount receiver calculated.


Further, the data is transferred for storage to the server, where they can be viewed in real time from your home computer or from any other point by logging into your personal account. This work is assigned to the controllers that transport the signal. They also display data on the liquid crystal display of the electricity meter.

The third stage is data archiving and analysis on the server, controller and PC. On the computer, at the same time, a special software to process the received information. If such software is not available on your home PC, you can view the data only in your personal account on the website of the company exercising control.


Automatic transmission of data on electricity meters

Automatic transmission of electricity meter readings is carried out by a controller programmed for a specific day of the month. It works in tandem with a server that organizes the received data. The transfer is carried out via the Internet or via mobile communication. To transport data over a cellular network, a SIM card is installed in a special slot of the metering device.


How to transfer data on meters with an automated system

Electric meters with the transfer of readings require minimal human participation in the process. You only need to press a button once a month, and the data from the meter has already been sent to the right address. However, automated sending of meter readings is even more convenient. The owner sends data to the server only once on his own. Subsequently, the controller itself performs this work. Here's how it goes.


After installing the equipment, the consumer transmits the indicator by pressing the button of the automatic data transfer device or directly on the site. Sometimes the readings need to be sent only once, sometimes several, every 5-10 minutes. These actions are performed before receiving a message from the energy retailer or controlling company that the data has been received. From this moment on, no action can be taken - all information will be sent to the desired address automatically. The electricity meter archives the data every hour, and sends them once a day.


How an induction electricity meter with automatic data transfer works

Induction metering devices with the ability to connect equipment for transmitting meter readings are marked with the letter "D". They have a telemetry output for connecting a controller. Reading information is as follows.

The inductor emits electromagnetic waves, causing the aluminum disk to rotate, under which the pulse sensor is located. Its circuit includes a system consisting of a photo and LED. The system is located so that the LED beam, reflected from the aluminum disk, falls on the photodiode. The disk has an absorbing band of light. Thus, an interrupt is provided that captures electronic circuit and transmits to the receiver. It counts the received pulses, after which the data is displayed.


The advantage of electronic meters with automatic data transmission over induction

Induction electricity meters with the ability to transmit readings lose to electronic ones in terms of lack additional options. This is especially true for remote power outages. The problem is the need for a constant connection to the network. When carrying out electrical installation work with the removal of voltage, data from the meter is no longer transmitted. This means that in case of unauthorized opening of the device to steal electricity, the server will not receive a signal about this.

Interesting! Despite the possibility of such a connection, such equipment is gradually changing to electronic meters with automatic data transmission.


Overview of manufacturers and prices for some models

The most famous and popular brand among manufacturers of equipment for automatic transmission of meter readings is « Mercury» . Models of this brand, their characteristics and cost as of January 2018 now and consider:

ModelConnection typeNumber of tariffsCommunication, interfaceCost, rub
single phasemulti-tariffPulse output, GSM modem8000
three-phasemulti-tariffOptoport, RS485 interface9500
200.4 single phaseOne-ratePLC modem, CAN interface3500
single phasemulti-tariffPulse output, optical port, PLC modem4000
three-phasemulti-tariffCAN interface, PLC modem6500
three-phasemulti-tariffInternet, GSM/GPRS modem, PLC modem, RS485 interface14800

Mercury 234 ART-03


Well, for comparison, we suggest that you familiarize yourself with other electric meters with a built-in modem for transmitting readings:

ModelConnection typeNumber of tariffsCommunication, interfaceCost, rub
Matrix NP71 L.1-1-3single phasemulti-tariffPLC modem7600
single phasemulti-tariffPLC modem2300
PSCH-4TM. 05MK. 16.02single phaseMulti-tariff (up to 4)PLC modem23300
ZMG405CR4. 020b. 03Three-phase, transformer typeMultitariff (up to 8)PLC modem, RS485 interface, optoport17300

It is clear that the price range is large, which means that anyone will be able to choose the model that will suit him in terms of cost and technical parameters.


Summarize

In conclusion, we note that electricity meters (as well as water meters) that transmit readings add comfort, which everyone aspires to. So this equipment is worth buying. We hope that the information presented today was useful to our esteemed reader. If you have any questions, you can ask them in the comments below. We will be glad if you share your experience with other readers.

And finally, by tradition, a short but informative video on today's topic:

(VALTEC VT.USPD.R1) The data collection and transmission device (DUCD) is designed to obtain information on the consumption of resources from metering devices with a pulse output (water, heat, gas meters), signals from sensors with a "dry contact" type output (leakage sensor, temperature sensor, pressure sensor, etc.), drives pipe fittings, transmitting the received data over the air to the server for further processing and use.

VT.USPD is an electronic unit with a built-in Wi-Fi module (protocol 802.11 b/g/n) and batteries (three AA batteries). sensors.

The device polls the state of the counters at a specified interval and transmits the received signals to the server. Signals from the sensors initiate instant transmission of the message to the server. If the data transmission channel is not available, the device accumulates data (the maximum archive depth is one month), and when a connection appears, it transfers them to the server. To protect against unauthorized exposure, a tamper-evident detector is provided, upon activation of which a corresponding signal is transmitted to the server.

The data transmission device complies with the requirements of the State Committee for Radio Frequencies set out in Decision No. 07-20-03-001 dated 07.05.2007.

    Key benefits of using VT.USPD:
  • The apartment is under control when you are in the country, on vacation or at work.
  • Collection of testimony and control of expenses of tenants.
  • Automatic transmission of readings from devices to the UK / HOA, etc.
  • Independent power supply.
  • Ease of installation and configuration.

The user of the VT.USPD data collection and transmission device can be both the management company of an apartment building, and the owner or tenant of a single apartment, individual house.

By purchasing the device, the buyer receives free access to the use of the SAURES automatic resource monitoring and accounting system (www.saures.ru) with the provision of a personal account, the possibility of personal settings and receiving information on a mobile phone or computer.

To connect the USPD does not require a separate WiFi networks– You can use an existing home or public network.

There is no subscription fee. For mobile devices on Android and Apple platforms, the free SAURES application is available in the Play Market and the Apple Store.

Technical support for users is also provided free of charge - you can consult by phone or e-mail.

By installing a VT.USPD data collection and transmission device, the owner or tenant of the property will be able to receive in electronic format meter readings, analytical reports, information about errors in the operation of home equipment. For example, the user will be alerted to abnormal water flow due to a plumbing leak or a faucet left open.

When equipping an apartment building with VT.USPD modules, the HOA or the management company receives automatically read meter readings, information about possible accidents and abuses by unscrupulous tenants.

Leakage control can be carried out according to meter readings and leakage sensors. Information about the leak goes to the owner of the apartment and to the HOA. Shutting off water can be carried out automatically or by a remotely controlled crane.

Up to eight meters or sensors can be connected to one VT.USPD module.

The device is powered by three AA batteries (possibly from an external unit). The battery charge lasts for at least four years of its operation.

We offer a device for collecting and transmitting data, the price of which will pleasantly surprise users of modern electronics.

JSC "Moscow City Telephone Network" (MGTS) plans to introduce automatic transmission of meter readings via wifi modem. This is reported by the Moskva Agency with reference to Dmitry Kulakovsky, Marketing and Product Development Director of MGTS.

"In every apartment where we come with GPON (Internet connection technology implemented by the company), we install an optical modem, respectively, it is possible to connect a USB transmitter to it, which will automatically collect information from water, electricity, gas meters" - explained Kulakovsky.

Now consumers most often take meter readings themselves and transfer them to the energy sales company, the Mosenergo Sales Company explained to the Agency. "Residents can testify through " Personal Area client" on the company's website, through the public services portal, through the terminals for receiving readings located in each client office of our company and in a number of multifunctional centers, you can also dictate the testimony to the contact center operator by calling on any day of the week (during the transmission of testimony)", - added Vadim Nadtochiev, head of the corporate communications department at Mosenergosbyt.

According to the company's work schedule, the controllers of Mosenergosbyt take readings every 6 months.

According to a representative of MGTS, the company is hindered by the lack of a single type of meters. "In order to implement the project, it is necessary that the USB transmitter be compatible with meters installed in an apartment or house. It is difficult to deliver one unified solution. We need a technology partner who would take on the task of integrating different types of meters," - Kulakovsky said.

Now such developments are carried out by OJSC Rostelecom. In December, the company entered into an agreement with the State Budgetary Institution "Unified Information and Settlement Center of the City of Moscow" (EIRC) to perform work on the creation of a meter reading system.

The agreement was concluded after the victory of Rostelecom in open competition, the amount of the contract amounted to about 16 million rubles.

The project is being implemented in 315 houses in two southern districts of Moscow - Yuzhny Chertanov and Danilovsky.

Provider "Akado Telecom" does not plan to introduce a service for the transfer of meter readings for its subscribers in the near future. "The purpose of implementing this idea is not entirely obvious, since installing a special device and connecting it to WiFi router the subscriber can do it himself. If it's still about new service, then the mechanism for its implementation and monetization is not entirely clear: it is not clear whether it is necessary to negotiate with the house management company (UK) on the installation of such devices in the apartments of residents or not, and who will pay for the service - the UK or the owner of the apartment, "the agency was told in the press - company service.

OJSC Vimpelcom ( trademark Beeline) believe that online consumption accounting systems utilities are gaining popularity in Russia. "However, the experience of implementing such systems both in our country and abroad shows that all solutions based on fixed communication services, including Wi-Fi, scale very poorly for cities. Since the supplier market is very wide, then at the same time It is very difficult to reach an agreement with the energy companies, water utilities and heating networks, especially in megacities," Anna Aibasheva, a representative of VimpelCom, explained.

MGTS, in turn, applied for support for its project to the city authorities. "We discussed this with the city authorities, they are interested in the project, but first we must present a technically ready solution, already tested and ready to work," Dmitry Kulakovsky emphasized.

The company found it difficult to name the possible costs and terms for the implementation of the service for transmitting meter readings via a Wi-Fi modem.

Recall that water meter readings can be transmitted through the Moscow portal of public services. To do this, it is not necessary to receive a login and password in the district engineering service, it is enough to know the payer code, which can be found on any receipt for housing and communal services.

To use the service, you must register on the portal. To create an account, you will need to provide an address Email, room mobile phone, full name and SNILS. Then select the service "Receiving meter readings for hot and cold water supply" and enter the payer code. If the data is correct, the user will be redirected to the page for entering readings.

The portal of public services also accepts readings from electricity meters. To use the service, you must specify the personal account number and counter number.

Everyone knows that laziness is the engine of progress. This happened in my case as well.

The apartment has 6 water distribution points (3 cold and 3 hot). Each point has a counter.
Every 2 counters are hidden behind concealed hatches, one of the hatches is behind a mirror that needs to be removed to get to it.

Once a month from the 20th to the 25th, it is necessary to take readings from all meters and send the data to Management Company on a specific form.

At some point, I got tired of opening the hatches, removing the mirror, and it was decided to automate the taking of readings.

Here, for example, a pair of hatches (open and closed):

First, I searched the Internet for existing automation devices. I found only one suitable for me - Pulse counter-registrar "Pulsar" 6-channel. I must say that it costs almost 6000 rubles! In fact, I haven’t seen it anywhere at retail, since it’s too specific a product and it is assumed that they will be purchased by HOA for all apartments in the house. I tried to order it via the Internet in different places, but every time, as soon as it came to delivery, the seller disappeared. As I understand it, they do not like to work with "physicists", or was not too persistent.
Well, no, no, we'll do it ourselves, and even cheaper.

This is where the Arduino Mega 2580 with an Ethernet module came in handy, which was once bought for various experiments.

When they were doing repairs in the apartment, from each point where there are meters to the shield in the stairwell, cables of the UTP cat 5e type were laid. This was one of the requirements of the controlling organization in order to take all readings centrally in the future. The future still does not come, and the wires came in handy.

In addition, a lot of twisted pairs were laid from the low-voltage switchboard of the apartment to the switchboard on the stairwell (for several Internet channels, telephone, intercom, reserve, etc.), and just a couple of free ones were found to bring the signals from the meters back to the apartment, and from there in a closet with home networking equipment.

As a result, what we have:

  • Water meters
  • Arduino Mega 2580
  • Arduino Ethernet 3.0
  • Box for Arduino
  • Power Supply
  • A cable for pulling from a low-current shield to the Arduino cabinet.
  • Debian home server with Lighttpd and Mysql
The counters themselves are:

Experimentally, it was determined that the counters work not simply, but very simply. When the last digit changes its value from 9 to 0, the reed switch inside the meter closes and this means that another 10 liters of water have leaked. It stays in this state until the value of the last digit becomes equal to 3. That is, in fact, we need to fix the moment of transition from the "open" state to the "closed" state. I will emphasize that we fix ONLY the fact of transition from one state to another, because the system can be de-energized, and indeed, you never know what collisions can be.

At the moment the reed switch closes, Arduino calls a simple perl script via HTTP on the server where lighttpd is running. The script writes this moment to the database. Another script allows you to view the current state of the counters.

Arduino sketch with comments:
#include #include #include // Download this library here: https://github.com/thomasfredericks/Bounce-Arduino-Wiring byte mac = (0x90,0xA2,0xDA,0x0E,0xF1,0x92); // MAC address of our device (written on the Ethernet shield sticker) IPAddress ip(192,168,1,11); // IP address, if you suddenly fail to get it via DHCP //IPAddress server(192,168,1,10); // ip-address of the remote server (used until there was a name) char server = "smarthome.mydomain.ru"; // Remote server name char request; // Variable for forming links int CounterPin = (22,23,24,25,26,27); // Declare an array of pins on which counters hang char *CounterName = ("0300181","0293594","0300125","0295451","0301008","0293848"); // Declare an array of counter names that we will pass to the Bounce server CounterBouncer = (); // Generate EthernetClient objects for Bounce counters rclient; // Object for connecting to the server void setup() ( //Serial.begin(9600); for (int i=0; i<6; i++) { pinMode(CounterPin[i], INPUT); // Инициализируем пин digitalWrite(CounterPin[i], HIGH); // Включаем подтягивающий резистор CounterBouncer[i].attach(CounterPin[i]); // Настраиваем Bouncer CounterBouncer[i].interval(10); // и прописываем ему интервал дребезга } // Инициализируем сеть if (Ethernet.begin(mac) == 0) { Ethernet.begin(mac, ip); // Если не получилось подключиться по DHCP, пробуем еще раз с явно указанным IP адресом } delay(1000); // даем время для инициализации Ethernet shield } void loop() { delay(1000); // Задержка в 1 сек, пусть будет. Мы уверены, что два раза в секунду счетчик не может сработать ни при каких обстоятельствах, потому что одно срабатывание - 10 литров. // Проверяем состояние всех счетчиков for (int i=0; i<6; i++) { boolean changed = CounterBouncer[i].update(); if (changed) { int value = CounterBouncer[i].read(); // Если значение датчика стало ЗАМКНУТО if (value == LOW) { //Serial.println(CounterPin[i]); sprintf(request, "GET /input.pl?object=%s HTTP/1.0", CounterName[i]); // Формируем ссылку запроса, куда вставляем имя счетчика sendHTTPRequest(); // Отправляем HTTP запрос } } } } // Функция отправки HTTP-запроса на сервер void sendHTTPRequest() { if (rclient.connect(server,80)) { rclient.println(request); rclient.print("Host: "); rclient.println(server); rclient.println("Authorization: Basic UmI9dlPnaJI2S0f="); // Base64 строка, полученная со значения "user:password" rclient.println("User-Agent: Arduino Sketch/1.0"); rclient.println(); rclient.stop(); } }

Spinning on the server: Debian, Lighttpd, Mysql. In turn, it has two perl scripts: one for writing counter states to the database, the second for displaying current readings.

input.pl
#!/usr/bin/perl -w use strict; use CGI::Fast; use DBI; while(my $q = CGI::Fast->new) ( main($q); ) sub main ( my $q = shift; my $dbh = DBI->connect("dbi:mysql:database=smart_home;mysql_client_found_rows =1;mysql_enable_utf8=1;mysql_socket=/var/run/mysqld/mysqld.sock", "dbname", "password", ( RaiseError => 1, AutoCommit => 1, mysql_multi_statements => 1, mysql_init_command => q( SET NAMES "utf8";SET CHARACTER SET "utf8") )) or die "Cannot connect"; $dbh->(mysql_auto_reconnect) = 1; print "Content-Type: text/html; charset=UTF-8\n\ n"; print "OK\n"; my $object = $q->param("object"); if ($object) ( $dbh->do(q(INSERT INTO water_count (object) VALUES(?)) ,undef,$object) or die $dbh->errstr; ) )

result.pl
#!/usr/bin/perl -w use strict; use CGI::Fast; use DBI; # array of starting counters my $start = ( "0300125" => 102.53, "0301008" => 75.31, "0300181" => 65.92, "0293594" => 54.51, "0293848" => 55.04, "0295451" => 87.43); while(my $q = CGI::Fast->new) ( main($q); ) sub main ( my $dbh = DBI->connect("dbi:mysql:database=smart_home;mysql_client_found_rows=1;mysql_enable_utf8=1 ;mysql_socket=/var/run/mysqld/mysqld.sock", "dbname", "password", ( RaiseError => 1, AutoCommit => 1, mysql_multi_statements => 1, mysql_init_command => q(SET NAMES "utf8"; SET CHARACTER SET "utf8") )) or die "Cannot connect"; $dbh->(mysql_auto_reconnect) = 1; print "Content-Type: text/html; charset=UTF-8\n\n"; print "Current meters data:
"; my $sql = "SELECT count(*) as c,object FROM water_count group by object"; my $sth = $dbh->prepare($sql); $sth->execute; while (my ($count, $object) = $sth->fetchrow_array()) ( $start->($object) = sprintf("%.2f",$start->($object)+$count/100); ) $sth-> finish; foreach my $object (keys $start) ( my ($intcurrent,$fine) = split(/\./,$start->($object)); print "$object $intcurrent.$fine
\n"; ) )

Mysql database with one table:
CREATE TABLE `water_count` (`object` varchar(20) NOT NULL DEFAULT "", `datetime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP) ENGINE=InnoDB DEFAULT CHARSET=utf8

The table has only two fields. The first is the name of the object (in our case, this is the counter number). The second is the date and time in TIMESTAMP format, which are filled in automatically when the row is inserted.

That, in fact, is all. Now, at any time, I can find out what value all counters have by simply going to the home server with a browser.

What's next?
Then I want a monthly automatic printout on a completed form.
I also want to connect an electricity meter with data transfer to Mosenergosbyt, and then with their payment.
Statistics, graphs and other joys of working with data.