SYSTEM ARCHITECTURE


Do you want to know how does our system work?

Diagram

Hardware

System requirements

  • Main board: Central unit of the system.
  • UV sensor.
  • Parasol motor.
  • Humidity & Temperature sensor.
  • Hydration fan mechanics.
  • Any device with internet connection (mobile, tablet or PC).

Software

Application developed as follows

  • Main Server from which we can control the app and its characteristics.
  • Python API that collects weather information from the internet and allows to create a personalized JSON format response, in order to use this in conjuction with the sensed data.
  • Database for login credentials (implemented along the Server so they can communicate easily).
  • Database for user exposure data (implemented along the Server so they can communicate easily). It is developed as a 'history' that can be checked by physicians.
  • Python code that manages the data received from the sensors, activating & deactivating the mechanical systems that control the protection devices when needed.

COMPONENTS


What are the main components that make it possible?

Hardware Components

Since the development of a real life application with these characteristics would require big size components that we are not able to manage at our level, the final project will be based on a scaled down system that simulates the actual operation of the proposed development. Except for the UV Sensor, all the remaining devices were found in LADISPE.

  • The Raspberry Pi acts as the brain of the system, managing the data from the sensor nodes.
  • UV sensor Adafruit si1145 that communicates directly with the Raspberry Pi. This sensor was requested as there was nothing similar avalaible in LADISPE.
  • Simple motor that allows us to activate the parasol.
  • Humidity & Temperature sensor.
  • Scaled-down ventilator that recreates the hydration system behavior.

Software Components

The system bases its functioning in a variety of frameworks and libraries that are specified in the list below, using the Python programming language as the column of the project.

  • The Flask micro web framework that is used to build the web server application and process the APIs.
  • Openweathermap.org provides us with a free API that allows to collect a huge variety of climatological data that is very useful in order to calculate the potential risk of sun exposure.
  • SQLite database to store all the relevant data needed for the correct functioning of Your safe Sun (including user credentials and data). In order to access and edit this database information we use connections to sqlite3 with Python.
  • Raspbian: Linux distribution (actually based on Debian) specifically designed to run on Raspberry
  • Adafruit libraries to manage the functioning of the sensors and mechanical devices.
© 2016 Template based on: binarytheme.com