This Android Arduino Bluetooth Appis a modular program that I have developed with an Android and Arduino wireless connectivity via a Bluetooth. The controller application which can be uploaded to your android phone can turn on and off any appliances in your house. It can even start your car's ignition wirelessly. However, before we go into the details how these things are possible, let us first learn the basics of the project. I assumed that you are already familiar with the arduino environment. If not, you can start here with my 10 basic arduino projects.
First, we need the following hardware or materials:
- 1 Arduino R3 Uno
- 1 resistor
- 1 bluetooth HC-05
- 1 led
- 1 9v battery
- connecting wires
- 1 breadboard
- 1 Android smartphone
Second, we assemble them using the circuit connection below. The fritzing schematic diagram, block diagram, and related photos are posted under Step 1. It would be awesome if Instructables,com can provide such option of inserting images between paragraphs on their pull down § menu. ^-^
HC05 Gnd - Arduino pin Gnd HC05 3.3 - Arduino pin 3.3v HC05 Tx - Arduino pin 3 (Tx) HC05 Rx - Arduino pin 2 (Rx)
Third, we upload our sketch into the arduino microcontroller. Various sketches are all available online. You can pick any arduino sketch of your choice. They sometimes come with schematic diagrams too. Just make sure that in the sketch, you specify "1" as On and "0" as OFF. A portion of such sketch example is shown below:
if(data == '1') //when data is equal to 1 digitalWrite(ledPin, HIGH); // then LED is ON else if(data == '0') //when data is equal to 0 digitalWrite(ledPin, LOW); // then LED is OFF
Fourth, since this app is still on its experimental stage, you can't find it yet in the Google Play Store. However, if you are interested using this app and BE PART OF THIS PROJECT, please let me know and I will send the app to you for FREE.
The basic features of this Arduino Android Controller App are as follows:
- The screenshot is identical on the video.
- The green button when pressed turns On your led.
- The red button when pressed turns OFF your led.
- The bluetooth button lists a selection of bluetooth available in your area.
- The developers name and website are posted on the screen.
- The app is provided "As Is" ***(please read the disclaimer).
Finally, I challenge you on the following adventures:
- use the app to control a relay
- use the app to control a lamp or an electric fan
- share your projects with us
NOTE: The disclaimer may sound alarming. But if you are someone who wants to learn, you would probably find discarded old phones and tablets for your projects. My disposable android phones and tablets came from my friends and relatives. Just make sure these gadgets have access to bluetooth, wifi, and accelerometer. Thrift stores and ebay are good places to find junks ;)
"The Last Human on Earth will no longer be Human." ~ iHackRobot
DISCLAIMER: *** AS IS means YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE APPLICATION(APP) IS AT YOUR SOLE RISK AND IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND. YOUR USE OF THE APP AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE SITE IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. THE APP WAS ONLY TESTED ON SAMSUNG GALAXY S5 SM-G900A AND ANDROID SOPHIX TABLET MODEL NO: TAB 730G AS EMULATOR. THE APP MIGHT NOT WORK WITH ALL OTHER SMARTPHONES AND TABLETS.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.