bluetooth controlled robot usart communication. this project aims in wireless control of the robot...

18
Bluetooth Controlled Robot USART communication

Upload: buddy-thomas

Post on 29-Dec-2015

228 views

Category:

Documents


2 download

TRANSCRIPT

Bluetooth Controlled RobotUSART communication

This project aims in wireless control of the robot from a bluetooth app in a mobile device through USART communication.

The most significant feature of this wireless control is the transmitter.

The project is cost efficient and comes handy in many applications

Briefing

Robot frame Atmega16 microcontroller Bluetooth module HC05 Voltage regulators 7805 Motor driver L293D Li-ion battery and Switch LEDs Wires Motors and wheels

Components

Atmega16

Motor Driver L293D

Battery

Volatge Regualtor 7805

Bluetooth Module HC-05

Robot frame , Motor and Wheels

Circuit

Battery

Switch

VoltageRegulat

or

Atmega16

MotorDriverL293D

BT module

Mobile

DC motor

Wheels

USART: Universal Synchronous/Asynchronous Receiver Transmitter

USART is an inbuilt feature in the microcontroller atmega16.

The microcontroller ATmega16 is set to USART configuration and the signals fed in are directed using embedded C programmes.

The Output is so set that it creates a variation in potential whenever required and thus enabling the motor driver to control the motors that run the wheels of the robot accordingly.

Principle-USART

The bluetooth app sends user defined signal to the BT module which inturn transmits it to the ATmega16.

The micro controller employs USART communication to achieve the reception from the bluetooth module.

The microcontroller process the received signal through programmed codes and logics to give the desired output.

This output helps the motor driver to control the motors.

Working

First the bluetooth module should be configured using AT commands then mobile and the bluetooth module are paired.

In transmission the signals are going to be transmitted by the android app (Bluetooth robo controll) through the mobile.

The transmitted signals reach the bluetooth module wirelessly which inturns transmit it to the microcontroller(ATmega16).

Transmission

The Tx and Rx pins of HC-05 and ATmega16 respectively are connected.

The microcontroller ATmega16 acts as receiver.

The ATmega16 is programmed to receive the transmitted signals.

Then the microcontroller process the signals. For each signal corresponding output can be observed.

Reception

Usart to Usart communication using two microcontrollers(wired)

Wired USART

Programming the

ATmega16-one as

transmitter and other as

receiver

Connecting the TX and RX pins, the battery and

others

Enabling a data

transmission

through a switch

Transmission through

wire

Interception of the

reception by the aid of

LED

PROBLEM: Transmitted signals weren’t received by the microcontroller

SOLUTION: Baud rate should be set as per requirements through trial and error method.

Problems faced and its solution

The basic idea of this robot can be manipulated into a surveillance robot and can also be used for remote accessing.

Use of class 1 bluetooth module can enable the robot to amplify the range of reception upto 300m.

The robot can be a great break through in substitution of human labour at mining and other hazardous workplaces.

Significance of the project

The bluetooth controlled robot is thus made at a cost-effective and simple manner and its working is tested and verified. Further, if required, this model can be fabricated using PCB and the frame can be modified into a more compact model for wider applications.

“The birth of the idea doesn’t count if they aren’t laid on to the hands which nurture them”

Conclusion