Skip to content

simoneriggi92/ProjectAndLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IoT module creation inserted in a particular rural environment, to detect the values concerning humidity, lighting and temperature. Measurements obtained from three different sensors and sent to theFEZ Spider II board.

The FEZ microcontroller reads from its sensors and collects data in a SD card. The data are then sended though HTTP protocol in JSON format by ASP.NET Web Service API implemented in order to store data in a Miscrosoft SQL database. Through the MQTT protocol, the Web Service publishes data to two different topics in order to set AWS configuration and send data. The received data are analyzed and deserilized by a Python lambda function in order to store data into DynamoDB tables.

The FEZ spider microcontroller is connected to humidity, light and temperature sensors.

A Python lambda function is able to send an ACK or NACKmessage to the WebService in order to delete or re-send the data.

A WebApp is able to show stored data by the use of an AWS API.

The FEZ microcontroller logic has been developed in C#. It is able to read data from connected sensors and store it in a SD card. It saves all data until an ACK message is received by the Web Service in order to make free space in the SD card. It contains an internal log in order to register all operations executed by the microcontroller. The ASP.NET Web Service exposes some APIs in order to receive and send data coming from microcontroller. The Miscrosoft SQL Server has been used in order to store measurments data and keep trace of the status (ACKED(NACKED). The Web Service is a Broker as well, since that it must communicates with AWS by the use of MQTT protocol. The data are fowarded by Web Service in a JSON format. The data are deserialized by a Lambda function in order to extract measurments and and store them in a DynamoDB database. If the data are properly received, an ACK message is forwared toward WebService which will forwards too the message to the FEZ spider in order to delete sended data from its SD card. Otherwise, a NACK message will be forwarded and the microcontroller sends the data again.All stored data are showed in a Web App developed though Node-READ through the use of DynamoDB API, in order to show them in related charts to monitoring values in rea-time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages