This system is about sleep surrounding sensing and showing on application
In php folder, there is 2 php codes
- giving data to server [test6.php]
- get data from server as json type [get_data.php]
From arduino serial ports, processing codes get data and plot the point graph. Also processing code has connection between mysql and serial ports.
create table sensor (temperature float(5,2), humadity float(5,2) light int(5), sound int(5), pos1 int(5) ... pos 12 int(5)); select * from sensor; drop table sensor;
3.5.3 (3 February 2019)
Android Studio 3.5.2 Build #AI-191.8026.42.35.5977832, built on October 31, 2019 JRE: 1.8.0_202-release-1483-b03 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0
XAMPP Control Panel v3.2.4
Making localhost
Use apache and mysql. Turn on that 2 buttons.