You can Build this project by following these steps :-
1 .Build The Circuit
Build the circuit on a breadboard as given in the Fritzing sketch above. Here are the connections:-
HC - 05 Bluetooth Module:-
1 HC - 05 TX --- Arduino RX
2. HC - 05 RX --- Arduino TX
3. HC - 05 VCC --- Arduino 5V
4. HC - 05 GND --- Arduino GND
Buzzer:-
1. Buzzer +ve --- Arduino D13
2. Buzzer -ve --- Arduino GND
2. Upload Code
1. Open up your Arduino IDE
2. Copy the code given below and paste it in the IDE :-
char data = 0;
void setup() {
Serial.begin(9600);
pinMode(13, OUTPUT);
}
void loop () {
if(Serial.available() > 0) {
data = Serial.read ();
Serial.print(data);
Serial.print("\n");
if (data == '1')
digitalWrite(13, HIGH);
else if(data == '0')
digitalWrite(13, LOW);
} }
3. Connect the Arduino to the Computer with the help of USB cable.
4. Important - Remove the TX and RX wires connected to the Arduino from the Bluetooth Module before uploading the code.
5. Select the COM Port and the Board (Arduino / Genuino Uno).
6. Click Upload
3. Connecting the App
After uploading the code, connect the RX and TX pins of the Bluetooth module to the Arduino just like before.
Now Open up your Android Device, then follow these instructions:-
1. Go to Settings and then click on Bluetooth on your device.
2. Select the Bluetooth Module Mainly Named " HC - 05 ".
3. Enter the passcode which is mainly "1234".
4. Download the APP from the Play Store.
5. After Downloading, open the App.
6. Click on " Connect A Device " Option on the top right corner and select the Bluetooth Module.
4. Testing
After connecting the Bluetooth module, type 1 on the bar for the buzzer to beep. You can stop the buzzer by typing 0.
If it is not working try the following:-
1. Re-upload the code.
2. Check the connections.
5. Shrinkify
To shrink the project for attaching it to a remote do the following things:-
1. Change the Arduino board to an ATmega 328P for increasing the battery's life span
2. To make this portable, remove the USB Plug and attach a 9v or 4 x AA Battery pack
+ve Terminal of the battery --- Vin pin of Arduino
-ve Terminal of the battery --- GND pin of Arduino
3. Remove the Breadboard and solder the components into a perf board or solder them directly by wires.
6. Final Touches
After soldering, enclose the project mainly in a box or else if you can dare, you can open the remote and store the project there and don't forget to make a hole for holding the battery outside.
----------------------------------------| There You Go You have a Remote Finder |--------------------