Wednesday, May 1, 2013

Embedded System Part Design

  The embedded part of HomeGuard project consists of server, camera module, temperature module and dimmer module. 
  The server is responsible for receiving data such as current temperature from temperature module and sending the data to the android phone as well as receiving control message from android phone and sending the message to control relative modules such as controlling the speed of motor.


Android Part Design



Our application is called home security. I am going to introduce each screen of the application.
1.     HOME SCREEN
  In order to enter the application, the user should click on the welcome button.
  
Figure 1.1
2.     MAIN MENU SCREEN
  The main menu screen of our application consists of three modules corresponding to each embedded system module. User could click on the image button of temperature, dimmer, camera to enter each module. Once the camera has detected a motion, a notification would be sent to user as displayed in Figure 2.2. The user could click on the notification to view the latest detected picture. If the user would like to stop receiving the notification, the user could click the checkbox “Take a Rest”.

 
Figure 2.1

 
Figure 2.2
3.     TEMPERATURE MODULE SCREEN
  After entering the temperature module, the user could view the current temperature and the current hotness. The seekbar could be used to control the speed of motor so as to control the temperature in the manual mode. If the user wants to control the speed of the motor automatically according to the current temperature, the user could choose auto mode that would speed up the motor once the threshold of temperature is reached. To view the graph and statistics of history data, the user should click on the view graph and statistics image button. Then the user could see the highest temperature, lowest temperature and average temperature in history as well as the graph for history temperatures as show in Figure 3.2.
Figure 3.1
 
Figure 3.2
4.     DIMMER MODULE SCREEN
  After entering the dimmer module, user could control the lightness of bulb through controlling the seekbar. Under the seekbar, there is a image to indicate the current lightness of bulb.








 
Figure 4.1

 
Figure 4.2

 
Figure 4.3
5.     CAMERA MODULE SCREEN
  After entering the camera module, the user could view the latest detected picture as well as when it is detected. If the user wants to take a picture immediately, the user could click on the camera image button.

Figure 5.1