MAHIVE Hub for IoT Sensors

This project's primary goal is to have IoT-enabled smart building sensors to form a system of cyberphysical protection. The sensors would send their events to a server, using a hub device as a middleman. Eventually, the server would be able to correlate events together as part of a defense against physical and digital attack. Our team's main responsibility is the hub device that will interface with each individual IoT-enabled sensor and relay their data to the server. It will handle JSON formatting and encryption, to ensure that each piece of sensor data makes it reliably to the server. In addition, we are developing individual IoT-enabled sensors to integrate in with the hub device. We are using AWS IoT Greengrass libraries, along with Amazon FreeRTOS, to enable the connection between hub and server, and between sensor and hub.

=Problem Definition= Hacking is an ever increasing threat, and industry needs a way to defend itself physically and digitally. Sites like universities are a vulnerable target due to the large amounts of computer equipment contained within the various buildings. Using IoT-enabled sensors would allow for a modular, easily expandable security system to protect valuable equipment and data.

Background
In the past, cyber security has been limited to the digital world, without a way to defend against physical attacks. While digital threats are still a relevant concern, special attention must also be paid to physical security of devices and data. If a someone with enough knowledge or expertise were afforded physical access to a computer system, server, or data storage, they could cost an organization several thousands of dollars in damages. The MAHIVE project has the goal of correlating physical and digital events into a system that can provide total security. It will utilize multiple elements to accomplish this. The main feature of the overall project is an AI-enabled server to correlate events together to identify an intruder or malicious actor. Our project is a smaller part; it covers the individual sensors that will act as the initial data collection. Recent advances in microcontrollers and microprocessors now allow for sensors to be connected as IoT devices. This would be similar to a smart home setup, with a modular network of sensors reporting data to a single hub device. This hub would then relay all sensor data back to the server. Utilizing IoT devices like this would allow for a modular system that could be adapted to any number of buildings and situations.

MAHIVE Server
Content from MAHIVE server info page goes here

Specifications
Three main specifications exist for the project: 1. The device must be able to authenticate with the server. 2. The device must format the sensor data into JSON. 3. The device must encrypt the JSON and send it to the server for decryption.

=Design Considerations=

=Project Learning=

Arduino Uno
Price: $19 (Official Model)
 * $11 (Off-brand equivalent)

Pros:
 * Relatively low power consumption (~15mA minimum, could run off 9V battery for about 1 day)
 * Highly supported with detailed documentation of libraries and IDE
 * Support for many add-ons (shields) that add functionality such as Wi-Fi, ethernet connectivity, etc.

Cons:
 * Low CPU power (only basic encryption supported)
 * No built-in internet connectivity (Wi-Fi or ethernet) or Bluetooth (shields must be used)
 * Extra shields may cost as much as the board itself
 * Higher power consumption than other microcontrollers due to extra components on board

Arduino Mega
Price: $28 (Official Model)
 * $14 (Off-brand equivalent)

Pros:
 * Larger board, greater number of GPIO pins than Arduino Uno
 * Uses ATmega1280 for greater processing power, can run basic encryption libraries and have enough resources as a sensor device
 * Same level of support with libraries and IDE as Arduino Uno

Cons:
 * Cheaper than Raspberry Pi, but still more expensive than almost any other microcontroller
 * Greater power consumption, would not be able to run off battery
 * Larger size may not be as suitable for IoT device
 * No built-in internet or Bluetooth (same as Arduino Uno)

ESP32
Price: $11

Pros:
 * Designed to have very low power consumption
 * Built-in Wi-Fi and Bluetooth connectivity
 * More processing power and larger memory size than ATmega328p in Arduino Uno
 * Small board size ideal for IoT devices
 * Supports Amazon FreeRTOS, can be used with AWS IoT Greengrass

Cons:
 * Limited support and documentation compared to Arduino
 * Development/programming may be more complicated than Arduino or Raspberry Pi
 * If multiple units are needed, the cost may still be high

Raspberry Pi 3
Price: $35

Pros:
 * Much greater processing power than other boards
 * Low powered computer rather than microcontroller, much more functionality in terms of software
 * Many supported libraries, excellent documentation and online resources
 * Large variety of open-source software available

Cons:
 * Costs more than any other device researched
 * Much larger power consumption, would almost have to use AC power
 * Overkill for a simple sensor device

Raspberry Pi Zero W
Price: $10 (without headers)
 * $14 (with headers)

Pros:
 * Costs much less than Raspberry Pi 3
 * Has all the processing power and functionality of 1st-generation Raspberry Pi, but in a much smaller size
 * Nearly the same level of support and documentation as the full-size Raspberry Pi 3
 * Nearly the same availability of open-source software

Cons:
 * Still too overkill for a sensor, but not enough physical I/O to be used as a hub device (e.g. no built-in ethernet)
 * Less CPU and memory resources compared to the full-size Raspberry Pi 3, meaning not all programs/software would be supported
 * May still need to use AC power, could not run off battery

IoT Platform Comparison
=Final Design=

=Validation=

=Team Members=

=Additional Documentation=

Project Schedule



Meeting Minutes

Presentations



Client Interview