It is necessary to develop a device based on the ESP8266 or ESP32 module, which will collect data from a water flow sensor (pulse output) and a TDS sensor (analog output), and then transfer these data to the server (MySQL, MQTT or other). In addition, it is required to transfer some additional technical parameters to the server (MAC address of the module, IP address, WIFI network name, password of the WIFI network used, supply voltage, battery voltage, module temperature).
The development of the device includes:
- choice of case (preferably from those available on the Ukrainian market);
- development of a printed circuit board, or the choice of ready-made solutions based on the proposed modules;
- development of the software part (firmware) of the ESP module;
- development of an application for Android / IOS, or web version.
- making a test sample;
The device must have one "Connect" button, when pressed, the ESP module starts up in the access point mode, in order to be able to connect to it by a phone or computer. After the client connects, the WIFI connection settings page generated by the module opens in the browser, where the user selects or enters the name of the access point and its password, to which the device will connect in the [login to view URL] addition, the frequency of data transmission (in the allowed range of values), the ranges of the sensors, the name of the device are configured. All settings are saved in non-volatile memory. After saving the parameters, it is suggested to restart the device using the saved parameters. After that, the device starts up in WIFI client mode and tries to connect to the saved access point to transfer its data.
The application for Android / IOS, or the web version must provide the ability to display the data requested from the server by device name (must be unique for each device).
The device needs to be designed with the lowest possible power consumption (Using a battery or battery. When using a battery, it is possible to use a network charging MicroUSB) and the lowest possible cost of the final product.