bluetooth controlled robot/car

Post on 07-May-2015

4.518 Views

Category:

Education

37 Downloads

Preview:

Click to see full reader

DESCRIPTION

Bluetooth Controlled Robot built using ATmega8 Micro-controller and HC-05 Bluetooth Module.

TRANSCRIPT

(ATmega8 Serial Communication via Bluetooth)

Bluetooth Controlled Car

The National Institute of Engineering

Stack Project

The project aims at

designing a Robot which

can be controlled

using Bluetooth

AIM

Bluetooth controlled car is a robot which is built using Atmega8 Microcontroller in

which serial communication is done via Bluetooth

and programming is done in embedded C

language.

Introduction:

ATMEGA-8 Microcontroll

er

HC-05 Blueto

oth modul

e

L293D Motor Driver

Android

phone /

Laptop

Building Blocks:

High performance and low power microcontroller

RISC Architecture

Up to 16MIPS throughput 16MHz

1 KB RAM and 512 Bytes EEPROM

Programmable Serial USART

Programmer friendly

ATmega8 Microcontroller

Pin Configuration

RF based Wireless Technology

What is Bluetooth?

HC-05 is an embedded Bluetooth serial communication moduleIt has two work modes• order-response work mode • automatic connection work mode

HC-05 Bluetooth Module

Command Response Parameter

AT OK None

AT+RESET OK None

AT+VERSION? 

+VERSION: <Parameter> OK

Parameter: Version number

AT+ORGL OK None

List of AT Commands

AT+PSWD=<Param>

OK  

AT+ PSWD? 

+ PSWD : <Param>OK 

” Param: passkeyDefault: “1234

AT+UART=<Param1>,<Param2>,<Param3>

OK Param1-baud rate Usually 9600Param2-stop bitParam3- parity bit

   

•Common Specifications of HC-05:•Radio Chip : CSR BC417•Memory : External 8Mbit Flash•Output Power : : -4 to +6 dbm class 2•Sensitivity : -80dbm Typical•Bit Rate : EDR, up to 3Mbps•Interface : UART•Antenna : Built-in•Dimension : 27W x 13H mm•Voltage : 3.1 to 4.2 VDC•Current : 40mA max

Important Specs Of HC-05

Full duplex Asynchronous or Synchronous Operation

Master or slave synchronous operation

Framing Error Detection

Multi-processor communication Mode

Double speed Asynchronous Communication Mode.

USART PROTOCOL

RXC TXC UDRE FE DOR PE U2X MPCM

R R/W R R R R R/W R/W0 0 1 0 0 0 0 0

Register A : UCSRA

Register B: UCSRB

RXCIE

TXCIE UDRIE

RXEN TXEN UCSZ2

RXB8 TXB8

R/W R/W R/W R/W R/W R/W R R/W 0 0 0 0 0 0 0 0

Our Value : UCSRA -OXOO

Our Value : USCRA - 0X18

URSEL

UMSEL

UPM1 UPM0 USBS USCZ1 UCSZO

UCPOL

R/W R/W R/W R/W R/W R/W R/W R/W

Register C:USCRC

1 0 0 0 0 1 1 0

URSEL

- - - UBRR-11

UBRR-10

UBRR-9

UBRR-8

UBRR-7

UBRR-6

UBRR-5

UBRR4

UBRR-3

UBRR-2 UBRR-1 UBRR-0

UBRRHUBRRL:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Our Value: UCSRC – 0x86

Our Value: UBRRH, UBRRL - 75

Development Of PCB

PUSH-PULL four Channel Driver with Diodes

Suitable for use in switching applications at frequencies up to 5KHz

Android

Is an operating

system based on Linux Kerenel

It is designed primarily for touch screen

mobile devices like smart

phones and tablet

computers

User interface of android is

based on Direct

Manipulation

Internal hardware such

as accelerometers, gyroscopes and pr

oximity sensors  are used by some

applications to respond to

additional user actions

Bluetooth RC Controller App

Can be used in examining mini tunnel and can also be used in rescuing.

Concept can be used to control Home switch circuits using Relay circuit

APPLICATIONS

top related