ANDROID CONTROLLED ROBOT
hello friends… in this blog i am going to show you how to make a android controlled robot(car)
This is a smartphone controlled robot and very easy to make.
This is a smartphone controlled robot and very easy to make.
HOW DOES ANDROID CONTROLLED ROBOT WORKS
The Android application controlled robot communicates via Bluetooth to the Bluetooth module present on the robot. While pressing each button on the application, corresponding commands are sent via Bluetooth to the robot. The commands that are sent are in the form of ASCII. The Arduino on the robot then checks the command received with its previously defined commands and controls the servo motors depending on the command received to cause it to move forward, backward, left, right or to stop
so lets start
Things needed
Things needed
1.arduino nano
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based on Wiring), and the Arduino Software (IDE), based on processing. Over the years Arduino has been the brain of thousands of projects, from everyday objects to complex scientific instruments. A worldwide community of makers – students, hobbyists, artists, programmers, and professionals – has gathered around this open-source platform, their contributions have added up to an incredible amount of accessible knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. As soon as it reached a wider community, the Arduino board started changing to adapt to new needs and challenges, differentiating its offer from simple 8-bit boards to products for IOT applications, wearable, 3D printing, and embedded environments. All Arduino boards are completely open-source, empowering users to build them independently and eventually adapt them to their particular needs.
The software, too, is open-source, and it is growing through the contributions of users worldwide.
2.bluetooth module(HC-05 or HC-06)
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). It has the footprint as small as 12.7mmx27mm. Hope it will simplify your overall design/development cycle.
Hardware Features
· Typical -80dBm sensitivity
· Up to +4dBm RF transmit power
· Low Power 1.8V Operation ,1.8 to 3.6V I/O
· PIO control
· UART interface with programmable baud rate
· With integrated antenna
Software Features
· Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control: has.
· Supported baud rate:9600,19200,38400,57600,115200,230400
· Given a rising pulse in PIO0, device will be disconnected. • Status instruction port PIO1: low-disconnected, high-connected; • PIO10 and PIO11 can be connected to red and blue led separately. When master and slave are paired, red and blue led blinks 1time/2s in interval, while disconnected only blue led blinks 2times/s.
· Auto-connect to the last device on power as default.
· Permit pairing device to connect as default.
· Auto-pairing PINCODE:”0000” as default
· Auto-reconnect in 30 min when disconnected as a result of beyond the range of connection.