System architecture
HW ARCHITECTURE
COMPUTATIONAL NODES:
⦁ Central server (database, data elaboration, REST API server for Andorid App, intelligence): Anywhere in the web, always-on system.
⦁ Local gateway for integrating sensor data. One every fruit box. Connected to the sensors for reception of analog input.
⦁ Smartphone: Intelligence, data storage. Stores in memory the user preferences.
DEVICES:
⦁ Ethylene sensors to read ethylene levels. There are several in each fruit crate. See open issues about the type of sensor.
⦁ Weight sensor to weight the fruits. One for each fruit crate.
⦁ Fan to blow away ethylene in excess. Quantity depends on the size of the fruit crates. Positioning is variable according to the most effective location, usually above the crates.
USER INTERFACE DEVICES:
⦁ Color-changing LED price tags to allure customers where discounts are applied. One for each fruit crate.
⦁ Smartphone running the mobile application
SW ARCHITECTURE
⦁ Sensor data collection software (on local gateway): Processes and sends data to central server (FRT.1, FRT.2, FR FRT.3, PRC.1,).
⦁ Graphical software for LED display (run by OS on local gateway). (STF4, PRC.2, PRC.3)
⦁ Intelligent Core (on central server):
- Evaluates sensor readings (GST.2, GST.5, STF.1, STF.2, FRT.1, FRT.2, FRT.3, PRC.1, FAN.1)
- Estimates ripeness stages according to database information(FRT.1, FRT.2, FRT.3)
- Sets the discounts( PRC.1, PRC.2, PRC.3)
- Provides information to the actors. Sends to the application analysed data and results.(STF.1, STF.2 , GST.1, GST.5)
⦁ Data Storage (on central server): Store data for each fruit type. (GST.3, STF.5, FRT.2, PRC.1)
⦁ Android Application:
- Provides the users with notifications. (GST.1, GST.5,)
- Provides information about the discounts (GST from 1 to 6) and about assistance needed (GST from 1 to 6).
NETWORK ARCHITECTURE
⦁ Local gateway: one each fruit crate, connected via LAN to the Central Server.
⦁ Central server: world-accessible public IP address for REST API services (Android App).
⦁ LED monitors connected to local gateway.
SELECTED COMPONENTS
HARDWARE COMPONENTS
Raspberry Pi board Color changing LED monitors (10-20cm x 5-10cm) Fan (20-40cm diameter). See Open issues for size. MCP3008 for analog sensors
Off-The shelf
Local gateway modules. See open issues.
SOFTWARE COMPONENTS
Linux OS running on central server (Ubuntu) Linux OS running on Raspberry Pi (Raspbian) Web server (Flask) DB server (MySQL) Android version 5.0