Description General Scenario V00
The first phase of the project's development involves the construction and configuration of a basic system to enable the collection and visualization of environmental data and the manual remote control of actuators distributed in the company.
For the initial testing phase, electronic components distributed in the production area will be used, able to collect environmental data and send it to a Gateway via TTL Wireless communication;
Each individual data collection station, efficiently distributed in the production area, is referred to as the Sensing Node.
These nodes will be powered by direct connection to the electrical distribution plant with cable wiring.......
In the development of the first phase of the project, it is necessary to be able to view from a mobile device (pc-tablet) the data collected by the sensing nodes distributed in the company.
The test will use 2 nodes, which will collect environmental data and send it every 15 minutes to the gateway.
To simplify initial testing, the number and type of sensors used in sensing nodes will remain fixed, identified in the following table.
Instead, it will need to be able to vary the number of nodes that can be installed in each production company, but this if it does not create particular problems can be implemented at a later stage.
The main need right now is to be able to collect data in a Db, and be able to view it remotely.
In order to make this type of reading, you need to do the following:
[login to view URL] database
- Db Structure Creation (widely discussed in other files)
- Write File Configuration
- Reading sensor data (python)
- Write data to [login to view URL] file (python)
- Read data from [login to view URL] file (node.js)
- Write data on db [login to view URL] (node.js)
- User login home page (id, password)
- User Data View Page "Loggated"
Summary description of the content of operations
Write Configuration File
In the initial phase, this file can be handwritten, changing the configuration values in the file.
The data you will need to contain will be as follows:
Raspbarry ID : Company ID
Sensor ID (E.g. Sensor 1 - DHT22 Umi, Sensor 2 - DHT22 Temp, Sensor 3 - SMT16)
Node ID ( Node1 - 1, Node2, Node 3)
- System Settings
Sensor data reading
Reading data sent by nodes will contain the information needed to identify the company, identify the node, read data from sensors, identify the date and time when the data was captured.
The program used for serial reading is Python, you proceed with reading a formatted string of the information sent by the microcontroller, the code will write a [login to view URL] file that will contain the received strings every 15 minutes.
Write data to [login to view URL] file
The file generated by the python script will allow the [login to view URL] file to be compiled.
This file will contain information from the nodes with the following write:
- Node Id
- Sensor Value 1
- Sensor Value 2
- Sensor Value 3
- Sensor Value 4
- Sensor Value 5
- Sensor Value 6
- Sensor Value 7
The python script must also complete the string saved to the [login to view URL] file with the DATESTAMP field with a compatible format for Node.js.
Read data from [login to view URL] file
Once the file with the data structure defined, a node.js script reads the data in the [login to view URL] file and "splits" it by assigning the values to the variables.
Write data on db [login to view URL]
Once you have assigned the variables with the correct values, you proceed to store the received data in a [login to view URL] cloud database, which can be reached via static ip from web-based applications.
New User Registration/Configuration Page (to be implemented later)
This "main page" will initially contain 2 fields, register new user and sign in;
The new user registration/configuration page will contain a form in which the user can enter the information needed to register a new company.
27 freelancers are bidding on average €1354 for this job
Hello. I read your description carefully. I'm talented web developer. if you assign to me this project, you can get a cool result. please contact me. thanks. best regards.
Hello i hope you are fine. As you want to build me a web site to display json data received from Serial Port in Raspberry. Already worked with web and mobile App development and customization .