Step 1: List of components
Step 2: Testing 1 - Building a simple circuit with the arduino, motion detector and LED indicator
Step 3: Testing 2 - Adding a speaker and buttons to the simple circuit
Step 4: Testing 3 - Testing the LCD Screen
2. LCD Keypad Shield is connected to the arduino card. I uploaded the the code for a timer. The time in seconds, milli-seconds and micro-seconds can be shown on the LCD Screen. Pressing the 'RST' button resets the timer.
Step 5: Testing 4 (optional) - Setting communication between the arduino and the PC with a USB cable, using processing
I connected LDR light sensor and the 1K resistor to the arduino.
Step 6: Testing 5 (optional) - Setting communication between the arduino and the PC with the bluetooth module, using processing
Step 7: Building the system - Electrical diagram
Step 8: Building the system - into the box
Step 9: Uploading the code to arduino
Connect the arduino card to the PC with the USB - mini-USB cable.
Run the Arduino software.
Download the libraries StopWatch and LiquidCrystal (Unzip them to the 'libraries' folder in the arduino folder).
For more information on these libraries, check out the following links:
Choose the board: Tools -> Board -> Arduino Leonardo.
For other boards, see more information regarding the serial1 connection (to avoid compatibility issues): http://arduino.cc/en/reference/serial
Verify The code and upload to the arduino.
Step 10: Android app
I wrote Android smartphone app (I have Samsung Galaxy S, running Android version 2.3.3) and it works.
The app connects to the "Smart Shield" device via bluetooth and receives alerts and notifications when a motion is detected.
I'm still trying to improve the app and develop more features and fix some bugs. This is an open source, so you can improve the app by changing the source code and adding to it.
You can view the source code in GitHub: https://github.com/EranPe/Smart-Shield/
Both the source code and the app are available to download in this page.
Smart Shield (ver. 1.1) for android.