System Architecture

Scheme

Hardware Architecture

Computational Nodes:

  • Central computational node: data elaboration point.
    It communicates with sensors and controls actuators through wires. Updates data inside the central server thanks to an internet connection, wifi or Ethernet. This is set near the bin area.
  • Server:(Centralized computational node): data storage and data elaboration point
  • Mobile Device (Smartphone/Tablet): will retrieve data from the server through an internet connection, and show them to the User using our App. It will also show Notifications, because a requested bin from the user has just been discharged.
  • Sensors:
    • Weight Sensors: placed on the bottom of bins.
      They are used to calculate points in the challenge. (FR:BIN.1, RNK.1)
    • Proximity Sensors(UltraSounds): placed just below the cap, inside the bins.
      They will check if the bin is almost full, to activate lock. (FR:ACT.1)
    • NFC Sensor(Receiver): placed inside the bin area.
      It will recognize(by badge detection) a user, a Gman, or an Admin, to open available bins. (FR:USR.1)
    Actuators:
    • Led Lights(red and green): placed on the cap of each bin.
      They will display the actual state of a bin to the User. Red if full(not available) and green if available. (FR:ACT.2)
    • [Ad Hoc] Locking System: placed on the cap of each bin.
      This will activate to unlock a bin only if it is available and a User is accessing the area. Otherwise it will keep bins locked.(FR:ACT.1)
    • [Ad Hoc] Spray Vaporizators: placed under the cap of each bin.
      If a Gman has completed the collection of a bin, this system will igienize the air and will provide some good scent. (FR:ACT.3)
    User interface devices:
    • Personal Identification Badge for the User:
      a key chain with NFC (or Bluetooth) technology inside. (FR:USR.1)
    • Our mobile Android App: users will acceed to different features after the log in.
      Admin, Garbage Collector and Users will have three different set of features available. (FR:APP.1, APP.2, APP.3, APP.4, APP.5)

Software Architecture

Mobile Application:

Functionalities:
  • User Identification via Log In (FR:USR.1)
  • Shows Charts from the Challenge, to Users (FR:USR.2)
  • Shows for each bin, what is the actual level of free space, to Users (FR:APP.5)
  • Shows hints about recycling, to Users (FR:APP.3)
  • Shows Scheduled Collection of the Bins, to Users
  • Allows to add and to remove Users, to Admin (FR:ADM.1, ADM.2)
  • Shows Notifications about bins which have reached status of Not Available, or if they are full, to Gman (FR:NTF.1, NTF.2)
  • After showing Notification about fullfilled (not available) bins, allows to set a date for next collection, to GMAN. (FR:NTF.1, NTF.2)

Runs On:

A Server Machine

Interacts With:

A Server Machine

  • The Actuators files
  • The Sensors files
  • The Server

Database:

Functionalities:
  • Keeps memory of the users
  • Keeps memory of the admins
  • Keeps memory of the GMANs
  • Keeps memory of the bins in each area
  • Keeps memory of bins fullness
  • Stores the notifications for both users and GMAN
  • Keeps memory of the updated ranks
  • Kees memory of the scores gained by each user
  • Keeps memory of the hints that can be required by the users

Runs On:

A Server Machine

Interacts With:

A Server Machine

  • The central node
  • The mobile application

Central node:

Functionalities:
  • Gets the information from the sensors
  • Actuates the lights, spray
  • Updates the database
  • Gets information from the database
  • Calculates the score and manages the ranks

Runs On:

A Server Machine

Interacts With:

A Server Machine

  • The central node
  • The sensors and actuators

Hardware Components

  1. Android Mobile device, since Android v.6.0
  2. Leds(green and red);
  3. [Ad Hoc] Spray System;
  4. [Ad Hoc] Locking System (Electromagnetic solenoid push and pull);
  5. NFC personal Identifier(for Keychain or Badge);
  6. Weight Sensors (Load cell BHX711 AD Sensor Module DI);
  7. NFC shield (SeedStudio NFC Shield V2.0);
  8. Proximity Sensors(technology of Ultrasounds, model AUKRU HC-SR04);
  9. Raspberry Pi B+;
  10. Server Machine to run a DBMS (Raspberry Pi);

Software Components

  1. Android Mobile App developed on Android Studio;
  2. Android APIs for level 23;
  3. Sensors and Actuators APIs;
  4. Central Node Software;
  5. Server Hosting Service (Phpmyadmin);
  6. Python 2.7;
  7. PHP;
  8. MySQL database;
  9. Java 8
  10. Raspberry Pi APIs (Xming, Putty, VNCViewer)