Skip to content

Android app which gets information from sensors and controls an LED in a room

Notifications You must be signed in to change notification settings

Descatres/Android-Room-Sensors-LED

Repository files navigation

Room Sensors App

  • This app was made in Java for Android;
  • Controls an LED and receives information from two sensors (humidity and temperature);
  • Plots the information regarding the humidity and temperature and
  • Sends notifications with alerts if the value from one of the sensors (or both) is outside the range specified by the user.

  • The app communicates with the sensors and LED through MQTT;
  • The plotted data is only available when there is a connection;
  • The data is saved on Firestore;
  • As of now, it only works until Android 12.

How to run

No apk is available

  • Fork the repo and run it on Android Studio;
  • The app can be run by changing the Firestore account with this tutorial;
  • You can simulate the Arduino with the sensors and LED on the following MQTT sketch
  • You can find the code for the sketch here

Examples

  • LED on and temperature/humidity values of the sensors

image

  • LED off and temperature/humidity values of the sensors

image

  • Sensors min and max

image

  • Alerts received

image

  • Plot data

image

Note

  • This project was made for a university assignment and the grade was 2.85/3. Some things might be missing due to the orientations given and/or time restrictions.

About

Android app which gets information from sensors and controls an LED in a room

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published