An Android Controlled robot is a simple robot which is operated by an arduino Board,L298N Motor Controller,Bluetooth Moduler(HC-05) and It Can Be Controlled By and Bluetooth Device we are using an Android SmartPhone for controlling it .Attached Bluetooth Module receive the given command which is given by The Android SmartPhone and the connected Arduino Detects the command and then it controls the Motor rotation with a Motor Driver Board (L298n Motor Driver).
An Android Controlled Robot can be used as a Multi functional bot i mean it can be used in many tasks and Operations like Simple Rover,Spying Bot etc.Just we have to attach sensors and equipment on it.
You can Make An Android Controlled Robot In Less Then 10 Minutes with the help of the video we are uploaded it to Youtube link is below just watch it and you can watch Our Android controlled Robot in action and all the steps and procedure in the same video.
The Uno R3 now uses an ATmega16U2 instead of the 8U2 found on the Uno (or the FTDI found on previous generations). This allows for faster transfer rates and more memory. No drivers needed for Linux or Mac (inf file for Windows is needed and included in the Arduino IDE), and the ability to have the Uno show up as a keyboard, mouse, joystick, etc.The Uno R3 also adds SDA and SCL pins next to the AREF. In addition, there are two new pins placed near the RESET pin. One is the IOREF that allow the shields to adapt to the voltage provided from the board. The other is a not connected and is reserved for future purposes. The Uno R3 works with all existing shields but can adapt to new shields which use these additional pins.Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, Max MSP). The open-source IDE can be downloaded for free (currently for Mac OS X, Windows, and Linux).Note:The Arduino Uno R3 requires the Arduino 1.0 drivers folder in order to install properly on some computers. FEATURES OF ARDUINO UNO R3:–
#Input voltage – 7-12V
#14 Digital I/O Pins (6 PWM outputs)
#6 Analog Inputs
#32k Flash Memory
#16Mhz Clock Speed
2.L298N Motor Driver
Internally the L298N consists of four independent power amps with 5-volt digital inputs and four high current, high voltage power amplifiers capable of driving single DC motors, and both unipolar and bi-polar stepper motors.
The four amplifiers are usually used in pairs forming an H-bridge to switch polarity for to control the direction of a single DC motor or as two pairs of H-bridges a bi-polar stepper motor. This part seems to be the favorite of hobby robot builders.
3.HC-05 Bluetooth Module
Pin Configuration of HC-05 Bluetooth module
HC-05 module is an easy to use Bluetooth SPP (Serial Port Protocol) module, designed for transparent wireless serial connection setup.
Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology and with AFH(Adaptive Frequency Hopping Feature)
Typical -80dBm sensitivity
Up to +4dBm RF transmit power
Low Power 1.8V Operation ,1.8 to 3.6V I/O
UART interface with programmable baud rate
With integrated antenna
With edge connector
✒Circuit Diagram to make an Android controlled robot using arduino:-
✒Steps to make an Android Controlled robot using arduino:-
Watch The Video You will Understand all Steps and Connections
Make the chassis ready and find a good place to fix arduino, bread board & L298 motor driver,bluetooth module and 2x 9v battery a on the chassis with the help of Double sided tape . And arrange everything on it. Now Follow these steps:-
✔ L298n Motor Driver
See the above image and connect the 9v battery holder’s red wire to +12v of Motor driver and gnd to gnd and connect motor at Motor A and Motor B pins shown above.
Now The circuit is assembled and its time for coding/Programing
✒ Required Softwares and codes to Make an Android Controlled Robot using arduino:-
The open-source Arduino Software (IDE) makes it easy to write code and upload it to the board. It runs on Windows, Mac OS X, and Linux. The environment is written in Java and based on Processing and other open-source software. This software can be used with any Arduino board. Refer to the Getting Started page for Installation instructions.
The application allows you to control an Arduino based RC car over Bluetooth. This is done using a Bluetooth enabled Android phone. Visit this site https://sites.google.com/site/bluetoothrccar/ for the Arduino code and control circuit. The app lets you control the car with either buttons or the phone’s accelerometer. A slider bar allows you to control your car’s velocity if the car’s control circuit has this feature. There are also two buttons for front and back lights. A flashing light lets you know when the phone is connected to the car, and arrows light up letting you know the car’s driving direction.
This is the Program file for the Arduino Board.Download it and store it on hard disk.
Steps to burn the program On Arduino by The IDE
Download the Arduino Ide Software From The above given link.Then Install it, now Connect the Arduino with Computer through the cable.open the Arduino software on pc .Click on “File”(Right Top) from the new opened Drop down menu,click on “Open” Now from the newly opened window go to the location location where you have saved the Android Controlled Robot.ino and select it.
Now the software will open it in new window so close the previous window(otherwise you will face an error at burning time) .
After Loading the .ino File click on Upload button (At right top side under the File Option)
Wait Till the uploading complete. it will take 1 or 2 minutes.
Connect the Bot With Android
After the uploading completed disconnect the bot, And install the Arduino Bluetooth RC Car app from the play store and open it now tap on Setting icon and click on “Connect to Car”.A new windows will be open with Available Devices ,in it click on HC-05. It will ask you a pair Key Use 1234 as Pair Key.After pairing The Red Circle(Right Top) will converted to Green.So Now Android Smart Phone is connected to the Bot. Enjoy The Android Controlled Robot.
I hope Our Step by step guide and Video will help you to make an Android Controlled Robot without any problem.This is a simple bot you can modify it with some codes and components so just share your idea through the comment section.I will modify it latter by adding a camera,front back Led,Temperature sensor, Ultrasonic sensor and a display.
Sourabh Kumar is a Tech savvy B.Tech(ECE) student living in Jaipur, India. He is a Blogger and fan of photography, technology, Robotics, and design. He is also interested in programming and innovation. He loves technology, gadgets and Spends lots of time with them.