Arduino - BLUETOOTH & ANDROID PIR ALARM With Call and Sms Functions!

Introduction: Arduino - BLUETOOTH & ANDROID PIR ALARM With Call and Sms Functions!

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

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 phone number 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 step.

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. (This might be different on your phone, check google on how to keep your phone screen awake)

  • Settings, go to call, extra settings, turn off proximity sensor. (Turns off screen during calls when set to on, and we want the screen to be on during calls)
  • Settings, Location & security, setup screen lock to none.
  • Settings, Applications, development, turn on standby or might be named stay awake on your phone (keeps screen on during Charging)
  • Plug in a USB Cable & keep the phone plugged in.

Your phone should stay awake now.

GET THE ANDROID APP ON GOOGLE PLAY! or download it below.

EDIT: I Updated the app! + You can record with sms Commands. and listen later.

  • Updated the SMS command & functions
  • Keyboard is Numbers Only now


  • sms "Call me" and the Phone will call you.
  • sms "Record" to start recording sound.
  • sms "Stop" to stop recording.
  • sms "Disconnect" and bluetooth will disconnect.
  • sms "Shutdown" and the app will close.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Schematic, Arduino Code, Android APP & Parts List.

Simply wire it up like the Schematic & Upload the code, and while uploading make sure to disconnect the bluetooth module.

For more info on how to change your HC-06 or HC-05 name, baudrate, etc. check my instructable here

Parts list.

  • Arduino Uno.
  • HC-06 Bluetooth Module.
  • Pir motion detector (DSN-FIR800)
  • Jumper wire set MM/MF/FF
  • Android Phone with APP on it.

Good luck!

Don't forget to pair your Arduino Bluetooth module with your phone!

Follow me for more! If you want the open source Android code send a mail to

also check out my website for sensors for arduino!

Circuits Contest 2016

Participated in the
Circuits Contest 2016

1 Person Made This Project!


  • Tiny Speed Challenge

    Tiny Speed Challenge
  • Clocks Contest

    Clocks Contest
  • PCB Design Challenge

    PCB Design Challenge

4 Discussions


3 months ago on Step 1

I have a question if I wanted to call someone instead of hearing a alarm can I hear someone else voice like on star or sos


2 years ago

Preciso de ajuda. Tem como transformar o android, em modulo GSM?

surya prakashm1
surya prakashm1

2 years ago

hi, i need a small help from you.
i am working on my project where there is an external button which will be act as input to the arduino uno, and whenever the button was pressed, the hc-06 connected to the same arduino should transmit that input signal from arduino to android mobile. and then android mobile should initiate a call when the data or input recieved from hc-06.

so please, help me in how to make a call from the mobile by using hc-06.
please try to reply me soon. I am waiting here for the reply.