Introduction: Arduino/Android - BLUETOOTH Voice Panic Alarm APP With SMS & Call Functions. SETUP 5 PHONE NUMBERS!

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 make…

Hello world! Today and yesterday i made a PANIC ALARM APP, I wanted to make a voice app to turn on and off a alarm with arduino, but the result became this panic alarm app, hopefully useful to save some people.
You can setup 5 numbers of family, friends or other important numbers, this app is very handy for disabled people in trouble who live alone, sick people, people with serious panic attacks, or girls that are in danger etc. etc. check the video to see how it works, You don't have to setup the numbers everytime of course because it saves to the apps database, Follow the next step for the schematic, parts list, code & APP. Its very easy to build!

I added a Dutch & English version of the app. THE DUTCH VERSION IS ATTACHED english version on google play!

I am also trying to make it work so you can set and change the voice commands. Now the commands are set in the APPS code.

Below are the commands.

Dutch:

  1. alarm aan
  2. alarm uit (Only works for testing without alarm attached to relay, of course this does not work when the alarm is triggered and making noise.

English:

  1. alarm on
  2. alarm off (Only works for testing without alarm attached to relay, of course this does not work when the alarm is triggered and making noise.

DOWNLOAD THE APP ON GOOGLE PLAY!! (English version)

Step 1: The Schematic, Code, Parts List & APP.

Just wire it up like the schematic. Make sure you set TXD to RX and RXD to TX.

Also make sure not to have the bluetooth connected when uploading the code!

Parts list.

  1. Arduino uno, Any copy will do. I used the RobotDyn Uno.
  2. HC-06 Bluetooth module.
  3. KY-019 Relay.
  4. Jumper wires set MM/FF/MF
  5. 12 volt alarm + adapter.
  6. Couple of sim cards and phones or just friends to test it. (Just Optional)

For the app.

  1. Download the .apk file to a folder on your phone.
  2. click the file to install it, make sure you have "Install from unknown sources" enabled.
  3. Turn on bluetooth.

Follow the next step to learn how to rename your HC-06 Module and how to change the baudrate & pin of your module.(Optional)

NOTE: You don't need the Device. The APPs SMS & Call functions work without it to.

Step 2: How to Change the Name of Your HC-06

What is needed?

1 x USB to TTL microcontroller programmer to connect to your HC-06

How to connect the Programmer?

VCC to VCC

GND to GND

RXD to TX

TXD to RX

Lets get started...

  1. connect the USB TTL programmer to the HC-06
  2. Plug in the USB and open up The Arduino IDE
  3. Open the serial monitor.
  4. Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
  5. Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
  6. Type "AT+PIN1234" Set the pin to 1234 (replace 1234 with your desired pin) respond should be OKsetPIN For more info on changing baudrate etc. i included a PDF file. Good luck!