My bachelor's thesis of Electronic Engineering at University of Bologna
MQTTandroidApp is android application that monitoring users state and other ambient condition, the acquire data is send at central broker (RaspberryPI3) of the MQTT architecture and then recieved back again an anothers android devices that chose to subscribe at topic.
In-Depth Document (Italian) · Report Bug · Request Feature
Table of Contents
About The Project
MQTTandroidApp is android application that monitoring users state and other ambient condition, the acquired data is send at central broker (RaspberryPI3) of the MQTT architecture and then recieved back again an anothers android devices that chose to subscribe at topic.
Data Acquisition :
App acquires data like Temperature, Heart Beat, Humidity, Position (Latitude & Longitude), Altitude, Pressure and Steps Count. There are two type of acquires:
- Embedded Sensors: this is default mode, app acquires data from embedded sensors so will be shown the weather conditions and ambient data but which sensors are present depends of model device is used to run application.
- SoC ESP32 & BME280: in case of bluetooth is connected with extern circuit app acquires data from it. The extern circuit is implemented with System on Chip (ESP32) constituted by a multiple sensors to acquire users data because this circuit will be implement in a smart shirt; to send data acquired it's used a bluetooth module (BME280) for display data in the App.
MQTT (Message Queue Telemetry Transport) is a lightweight publish-subscribe messaging standard ISO (ISO / IEC PRF 20922) protocol positioned on top of TCP / IP. It is designed for situations where low impact is required and where bandwidth is limited. The publish-subscribe pattern requires a messaging broker. The broker is responsible for distributing messages to recipient clients.
Data Received and Re-Displayed.
To get a local copy up and running follow these simple steps.
- Visual Studio
- Android Studio
- Install Git at Download Git.
- Clone the repo.
git clone https://github.com/AndreaCastronovo/MQTTandroidApp
- Install the latest version of AndroidStudio.
- Open the directory with AndroidStudio.
- Unzip the 7z file in the Resources folder.
To use the application:
- Switch AndroidStudio build platform (Android)
- Build and Run
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See
LICENSE for more information.
Andrea Castronovo - [email protected]
Project Link: https://github.com/AndreaCastronovo/MQTTandroidApp