Project 34: Arduino Controlled by Android
using Bluetooth and Android smartphone.
Android Bluetooth Arduino from JB Wylzan on Vimeo.
HC05 Gnd - Arduino pin Gnd
HC05 3.3 - Arduino pin 3.3v
HC05 Tx - Arduino pin 3 (Tx)
HC05 Rx - Arduino pin 2 (Rx)
|Note: use pin 2 and pin 3 for Rx and Tx|
Arduino phone (samsung galaxy)
1 LEDconnecting wires
Arduino R3 UNO board
Project # 34: Android Smartphone with Bluetooth
Author: J. B. Wylzan
Abstract: How to control an led using smartphone
SoftwareSerial BTserial(2, 3); // RX | TX
int ledPin = 12;
char data = 0;
// serial.println("Hello World");
data = BTserial.read(); //Read incoming value and store it into data
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
1. Try to control 2 leds using the smartphone,
2. Try to control 3 servos.
3. Create an apps
4. Use smartphone terminal and serial monitor as a chatroom/text messaging
5. Control a robot using an android smartphone bluetooth terminal
6. Control a robot using the some of the iHackRobot apps just like as shown below
Arduino Robot controlled by Android Smartphone
from iHackRobot on Vimeo.
A more sophisticated arduino android app. The app is an arduino controller that can turn ON and OFF six appliances in your home and even you car ignition by simply swiping the sliders on either ends. You can also use this app to control leds, servos, toy cars and even your robots. The great fun about this app is you can turn OFF all appliances by simply shaking the phone.
|Home Appliances Control Tablet|
|Home Appliances Control Phone|
ALL Android Apps on this site are provided "As Is" ***.
*** 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 OR GUARANTY 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.
Disclaimer: We shall not be liable for any loss or damage of whatever nature - direct, indirect, consequential, or otherwise - which may arise as a result of your use of any information on this website. However, if you are interested in using any of the projects for personal or educational purposes, please inform the author by email.
Public Domain Notice: Copyright (c) 2000. All rights reserved. This article is part of a book entitled iHackRobot. Copies are welcome to be shared or distributed publicly as long proper citations are observed. Please cite as follows: A Journal of a Creative Mind, Joey Lawsin, 1988, USA.
Patent Pending. 2000 © ®