Introduction: Arduino Tracker With Bluetooth (LED and Sound)

This instructable was based on the project by Mayoogh Girish.

This project is how to make a tracker that produces light and sound. The device will have two different modes. One mode would make one LED and sound to occur. The other mode will only turn on the LED.

Step 1: Obtain Materials

Materials that would be needed includes:

- Two LEDs

- One piezo

- Arduino One

- Pack of jumper cables (at least 24)

- HC 05 (Bluetooth slave)

- Breadboard

- 9V battery

- USB cable

It's recommended to buy an Arduino kit. Most Arduino kits do not include HC 05.

Step 2: Adding the Code

Use the USB Cable to add the following code .

If any problems come up during uploading, then remove the connection between the HC 05 and Arduino. If this does not work, try to check ports and boards if they are correct.

Step 3: Understanding the Breadboard and Arduino

Arduino is the motherboard of the device, and the breadboard is used to connect more items than the Arduino ports allow.

Ports can also be referred as pins. In this project, we would mostly use digital pins. The code gives hints where each component (LED or piezo) goes to. The HC 05 requires four pins.

Each row in the breadboard will be referred simply as horizontal rows. The flow of the electricity first begins through power rails then to the horizontal rows then through columns. For more information click here .

Step 4: Constructing (Connecting HC 05 and GND)

As stated before, the HC 05 requires four pins. It requires connection with TX, RX, GND, and 5 V.

  1. Connect TX of the Arduino with the RX of the HC 05.
  2. Connect RX of the Arduino with the TX of the HC 05.
  3. Connect the GND of the HC 05 with the GND port on the power side of the Arduino.
  4. Connect the UCC or VCC (depending on the manufacturer) to the 5V.

The second picture illustrates the connection of the GND cable to the breadboard to the negative column.

Step 5: Adding LED and Piezo

Connect the pins of the Arduino to any row on the breadboard. It's recommended that the cable should be in the first column. Adding the LEDs should have the long side of the pin row and the short side of the row above or below. That row should connect to the negative column. Repeat this for the next LED. However, the piezo will require an extra space between the GND row with pin row.

Step 6: The App

The last thing is having a LED controller application. You can find this in app stores. However, if you have an android, then I recommend the following application .

Using the application, double tap of the ON would allow it to switch modes.

Step 7: Turn It On

Connect the 9v battery (or other battery) to the Arduino by using the electricity converter cable. The HC 05 should blink red.