Github Code link is here:
https://github.com/JLZEE/InternetOfThings_ibabysitter
Description of software:
(1) server.py
This python file is running on the EC2. It uses socket and mainly works for communicating with different clients like Intel Edison, raspberry pi and Android App. It will receive temperature signals from Intel Edison and sound record and ML results from Raspberry Pi. Inform dangerous alarms to Android APP and receive the feedback from users.
(2) AndroidManifest.xml
Determines the layout of our Android App
(3) TCPClient.java,MyCustomAdapter.java,MyActivity.java
These three java files are for Android development. They work together to realize the "backend" of our APP. To introduce them briefly, TCPClient.java works for TCP connection between Android device and server. MyCustomAdapter works for some custom modules. The MyActivity.java is the "main" java that connects the former two java files and works to interact with the App "front end"
(4) Client part on Raspberry Pi
Includes BabyCry_client.py, record.py and sndRcdFtrX.py. record.py is for recording sound; sndRcdFtrX.py is for machine learning prediction and BabyCry_client.py is for sending message to EC2 server
(5) Client part on Intel Edison
Includes BabyCry_client.py, record.py and sndRcdFtrX.py. record.py is for recording sound; sndRcdFtrX.py is for machine learning prediction and BabyCry_client.py is for sending message to EC2 server
(6)Other files
featureX.py and test_featureAPI.py is used for extracting features from dataset and storing in a .csv file
https://github.com/JLZEE/InternetOfThings_ibabysitter
Description of software:
(1) server.py
This python file is running on the EC2. It uses socket and mainly works for communicating with different clients like Intel Edison, raspberry pi and Android App. It will receive temperature signals from Intel Edison and sound record and ML results from Raspberry Pi. Inform dangerous alarms to Android APP and receive the feedback from users.
(2) AndroidManifest.xml
Determines the layout of our Android App
(3) TCPClient.java,MyCustomAdapter.java,MyActivity.java
These three java files are for Android development. They work together to realize the "backend" of our APP. To introduce them briefly, TCPClient.java works for TCP connection between Android device and server. MyCustomAdapter works for some custom modules. The MyActivity.java is the "main" java that connects the former two java files and works to interact with the App "front end"
(4) Client part on Raspberry Pi
Includes BabyCry_client.py, record.py and sndRcdFtrX.py. record.py is for recording sound; sndRcdFtrX.py is for machine learning prediction and BabyCry_client.py is for sending message to EC2 server
(5) Client part on Intel Edison
Includes BabyCry_client.py, record.py and sndRcdFtrX.py. record.py is for recording sound; sndRcdFtrX.py is for machine learning prediction and BabyCry_client.py is for sending message to EC2 server
(6)Other files
featureX.py and test_featureAPI.py is used for extracting features from dataset and storing in a .csv file