How to use GSM and Bluetooth Together To monitor Any Sensors wirelessly using Arduino

(Last Updated On: October 26, 2019)

Bluetooth

Description:

In this Tutorial, you will learn how to use GSM and Bluetooth together to monitor any Sensors. In this project, the sensors can be monitored wirelessly using the GSM sim900A module and HC-05 Bluetooth module.  In this tutorial, we will cover

  1. Bluetooth settings using AT commands, like setting the pin code, changing the name of the Bluetooth module
  2. dht11 sensor datasheet, pinouts, and soldering
  3. GSM module pinouts and explanation
  4. Complete circuit diagram explanation
  5. Programming
  6. testing

For the complete step by step explanation Watch Video Tutorial given at the end of this Article.


The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno: https://amzn.to/2tVz1vu
Mega 2560: https://amzn.to/2ze1kdu
dht11 sensor: https://amzn.to/2KxfifT
HC-05 Bluetooth Module: https://amzn.to/2KBx0Ph
GSM sim900A: https://amzn.to/2Nv70TI
5V regulated power supply/Adaptor for GSM sim900A: https://amzn.to/2u10V9a
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / strip board: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

Circuit Diagram:

Bluetooth

Download:

Android cell phone application:gms and bluetooth together

Programming:

Watch Video Tutorial:

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

9 Comments

  1. Hi Sir.
    Thank you for great quality content, total hooked on you tutorials. I would like ask you a question, maybe you have it already in you examples but you have a lot of content to go through. Now as for an example, if you have your mobile number set in your GSM text on the Arduino code to send a notification to your number of choice.
    Now say i don’t want to connect to the Arduino through the serial port every time i want to change the number for the GSM notification. How would i build a App to be able to change GSM mobile number or any other parameters like delay times on the Arduino code, to give it a user App interface. Would i be able to use a bluetooth module to build that type of user interface. Well that is one of the challengers that i have being facing. Anyway i hope you have a solution to this, or if you have one already. Anyway Sir thank you again.

    Kindest Regards

    Errol Sternberg

    1. this is very simple, you can use the Bluetooth module to wirelessly update the cell phone number. let’s say you send a number wirelessly to the Arduino, the received number then you can save in the EEPROM. So even if you restart the Arduino the number will stay there. you can also do it for multiple numbers.

      1. Thank you for your reply. Ok i will need to do a bit of research on this, if i cannot come rite, I might have to ask you for your help and pay the necessary fee if that is fine with you. Will try it first, that’s the only way to learn. Thanks again.

        1. let me tell you what I am making, My client has the requirement of entering any 10 cell phone numbers which can be permanently stored in the Arduino EEPROM. he can delete any number, he can update any number. display all the stored numbers, can erase all the numbers. This is done wirelessly using Bluetooth. He is launching a Security system based on the GSM. he can use the same program and can update cell phone numbers wirelessly without any change in the code.
          it’s really a long code.

          1. That is exactly what my project is suppose operate like or what i want it to do as you have just described. So if it is a working system and lets say sold as a working unit the customer can change the mobile number for the GSM as well as the delay time or on off delay time at his convenience.
            The thing is i’m still new to programing and have not yet explored the EEPROM side of programing so this would take me a while. So i think in stead of me spending weeks i would rather pay you the fee instead. Lol i just hope i can afford you.

            Ok just a bit of a description of my project, as you have already done in your tutorial there is a PIR and a LDR sensor or any other sensor, once triggered Your code GSM code does it thing to three numbers, ofter that it activates a solenoid, sound alarm then a stepper motor, then it deactivates after delay times. And then just waits for the next activation. i would like it to do more but will take a look at you project were you have multiple relays.

Leave a Reply

Close