Introduction: Bluetooth Interface With Multiple Sensors.
Everybody would have thought of combining multiple sensors with arduino and play around with it. This can be setup in your home and you will get to know about things happening when you are not around.The ultrasonic sensors helps in predicting any object or person entering your home without your knowledge.Similarly the temperature sensor measures the current temperature at your place and sends the value to the app.Finally the light sensor checks whether the light is on or off in the house.The app was self designed.If you also want to create and make your own app you can try it out.
Step 1: ABOUT THE PROJECT
The project helps you to interface bluetooth with multiple sensors like temperature,ultrasonic and light sensor(ldr module).
7.JUMPER WIRES AND CABLE
Step 2: Bluetooth Module
The bluetooth module plays the most important role in the project.Their are two types of bluetooth module-HC 05 and HC 06. You can make use of any of the modules.It will work fine with any of the modules. The connections for the module to the arduino is simple and the photo shows the connection.
Step 3: SENSORS
This step consists of three sensors.
Ultrasonic sensor,Temperature sensor,Light sensor
The ultrasonic sensor detects the obstacle and sends the information to the app.Similarly the temperature sensor will measure the current temperature of the surroundings and sends the value and light sensor(ldr module) will check the intensities of light in the surroundings and if the light in that surrounding is more the value displayed will be less and vice versa if its dark the value displayed will be more.Photos give you the circuit connections of each sensor.
Step 4: INTERFACING
This is the final step wherein you will have to interface the sensors to the bluetooth module.The code for this is given below.The link for the app is also given below.
Steps involved in interfacing:
1.Put all the initializing parts at the starting i.e the pins etc.,
2.The void setup part remains the same.
3.In the loop part you will have to call the functions.
4.For calling the functions-give each sensor's code a name and then mention them in the loop part.