Arduino – BLUETOOTH & ANDROID PIR ALARM with call and sms Functions!

Hello world! Today i made a android app that communicates with a arduino using the HC-06 Bluetooth module for a PIR Motion sensor GSM Alarm. You can set 1 phonenumber to the DATABASE that needs to be called when movement is detected. When movement is detected it will call you and you can listen what is happening in your home, If you missed the call you can send a SMS with the command “Call me” (it is case sensitive, so use capital C). You can also send a SMS command with “Disconnect” and the bluetooth module will disconnect. For the Schematic, Arduino Code, Android APP & Parts list follow the next link: http://www.instructables.com/id/Arduino-BLUETOOTH-ANDROID-PIR-ALARM-With-Call-and-/

NOTE: You need to take a few steps for the APP to operate properly and you need to connect the Phone to a Charger.

Follow these next steps on your Android phone.
1: Settings, go to call, extra settings, turn off proximity sensor.
(Turns off screen during calls when on, and we want the screen to be on)

2: Settings, Location & security, setup screen lock to none.

3: Settings, Applications, development, turn on standby or might be named stay awake on your phone
(keeps screen on during Charging)

Check out our website! http://www.arduinosensors.nl
Check out our Forum! http://Forum.arduinosensors.nl

source

Arduino Code: Bluetooth module HC-05 AT Setup Mode

Arduino: Bluetooth module HC-05 AT Mode setup

Used for setting up your modules Name, Password, Mode ect

_

Schematic image:
http://i349.photobucket.com/albums/q377/Berrgk/Arduino/Bluetooth%20AT%20Mode%20schematic_zpsiydcpzdz.jpg

Arduino Code:
http://pasted.co/fdd2e7d7

AT Command Documentation:
http://www.linotux.ch/arduino/HC-0305_serial_module_AT_commamd_set_201104_revised.pdf


Some other AT commands:

AT+ADDR? (Bluetooth address)
AT+VERSION? (Soft version)

AT+NAME? (Display current name of device)
AT+NAME=wtvr-u-want (Set device name to wtvr-u-want)

AT+PSWD? (Display current password) (Default: 1234 or 0000)
AT+PSWD=wtvr-u-want (Set password to wtvr-u-want)

AT+RESET (Reset BT module)
AT+ORGL (Restore default settings)

AT+INIT (Exit AT Mode)

More can be found here:
http://eskimon.fr/wp-content/uploads/2014/10/commandes_AT_HC05.pdf
or search for ‘HT-05 AT Commands’

_

How to setup your HT-05 to operate as a Bluetooth communication device:

_

Please leave a ‘Like’ to help support further development.
Subscribe for upcoming content

Any questions or requests, feel free to leave a comment.

I’ll help where I can with questions & project requests

..happy coding; }

A

r
d
u
i
n
0
x

-Minimalist starter concept models to build upon.|
-Simple code & schematics for easy digestion.|
-Cataloguing individual projects.|
-Easy to combine prototypes.|

source