This project is meant control and monitor arduino based Gas Detection System.
-
- Open android studio on the directory /AndroidAPP
-
- Wait for it to Import Modules/Gradle build
-
- Go to Build and click on Rebuild Project
-
- Now you can generate APK by going to Build->Build Bundle ->Build APK
-
- modifying
processReceivedDataAndRefreshDisplay()method in Control.java which controls what happens with data received in the app from arduino
- modifying
-
- using the
sendData()method in Control.java which sends strings to arduino (commands)
- using the
-
- also MAKE SURE that the strings are EXACTLY 5 charachters long
-
- make sure you have atleast a delay of 200ms in the loop
delay(200);
- make sure you have atleast a delay of 200ms in the loop
-
- and the strings you send out with Serial.write are EXACTLY 5 charachters long
-
- also you should only send one string at a time in the loop cycle

