You are on page 1of 13

"#$%& &'(()* +*,-.-.

/ 0*1/*,( 2343






MC8lLL
CCn18CLLLu 8C8C1
u1Ml
SubmlLLed by:
ulklL ?adav
SubraL bhardwa[
Shlkha baghel
ueeksha sharma



INDLk

1.lnLroducLlon
2.AcknowledgemenL
3.Pardware descrlpLlon of Lhe
ro[ecL.
4.Worklng
3. clrulL dlagram
6.lmage of Lhe pro[ecL
7.program source code
Introduct|on

1hls pro[ecL ls based on u1Ml Lechnology
l.e.dual Lransmlsslon mulLl
frequency.uslng u1Ml here a roboL ls
conLrolled hence called Lhe moblle
conLrolled roboL.uslng u1Ml we can be
able Lo conLrolled our devlce from a very
long range only necessary Lhlng ls LhaL
Lhere should be moblle neLwork.
Cne can be able Lo conLroll hls home
appllances whlle slLLlng ln hls offlce.



Acknow|edgement

Cur pro[ecL molle conLrolled roboL based
on u1Ml 1echnology ls sucessfully
compleLed durlng our summer Lralnlng
program aL 88lCS,ll1
kanpur .we slncerely Lhanks Lo lnsLlLuLe
laculLy as well as menLors for Lhere
valuable supporL and help.


nardware D|scr|pt|on

L|st of components used:-
1.M18870 dLmf decoder lc
2.100k reslLor 2pc.
3.300k reslsLor 1pc.
4.3.37943Mhz crysLal osclllaLor
3.0.1 uf capaclLor 2pc.
6.4 LLu
7.connecLlng wlres....

Work|ng :-
whlle Lhe lnpuL from Lhe moblle uslng a
headphone ls connecLed b/w Lhe 0.1uf
capaclLor and Lhe ground, u1Ml Lones can be
Lransferred Lo Lhe decoder lc(8870) and once
Lhe lc ls powered up Lhe o/p can be seen by
connecLlng LLu's aL C!, C2, C3 and C4 o/p of
Lhe decoder lc.

1he output on the 1 to 4 p|ns of the
decoder IC has been shown |n the |mage.

Lhe o/p of Lhe decoder lc Lhen can be
connecLed Lo a moLor drlver lc llke(L298 or
L293u) Lo drlve some moLors or relays as a
swlLch Lo operaLe some devlces remoLely as
Lhe Moblle phone connecLed can be called
from anywhere ln Lhe world and by presslng
Lhe keys Lhe u1Ml Lones can be LransmlLLed
Lo Lhe recelvlng end moblle and hence any
devlce connecLed can be operaLed globally.





lmage Cf ro[ecL















Souce code:-

#include<avr/io.h >
#include<lcd_lib.h>
#include <stdio.h>
#include <util/delay.h>

#define ADC_VREF_TYPE 0x00

unsigned int
read_adc(unsigned char
adc_input)
{
ADMUX=adc_input|ADC_VREF_TYP
E;
// Start the AD conversion
ADCSRA|=0x40;
// Wait for the AD
conversion to complete
while ((ADCSRA & 0x10)==0);
ADCSRA|=0x10;
return ADCW;
}


void main()
{
int x;
int y;
int Z;
int W;

DDRB=0xff;
DDRD=0xff;
DDRC=0xff;
char a[15];
char B[15];
ADMUX=ADC_VREF_TYPE;
ADCSRA=0x85;



LCDinit();
LCDclr( );

while(1)
{
x=read_adc(0);
sprintf(a,"x=%4d",x);
LCDGotoXY(0,0);
LCDstring(a,6);


y=read_adc(2);
sprintf(a,"y=%4d",y);
LCDGotoXY(0,1);
LCDstring(a,6);

Z=read_adc(4);
sprintf(B,"Z= %4d",Z);
LCDGotoXY(8,0);
LCDstring(B,7);

W=read_adc(6);
sprintf(B,"W= %4d",W);
LCDGotoXY(8,1);
LCDstring(B,7);

if(x<350 && y<350 && Z>1000
&& W<350 ) //press 02
{
PORTD=0b10100000;

}
if(x<350 && y>350 && Z<350
&& W<350) //press 04
{
PORTD=0b01100000;

}
if(x<350 && y>350 &&Z>350 &&
W<350) //press 06
{
PORTD=0b10010000;
}
if(x>350 && y<350 &&Z<350 &&
W<350) //press 08
{
PORTD=0b01010000;
}
if(x<350 && y>350 &&Z<350 &&
W>350) // press 05
{
PORTD=0b00000000;
}
}
}

You might also like