temperature control system project report.doc

49
GANPAT UNIVERSITY GANPAT UNIVERSITY PROJECT REPORT PROJECT REPORT ON ON  TEMPRATURE TEMPRATURE  CONTROLLER AND CONTROLLER AND DISPLAY DISPLAY  PREPARED BY: PREPARED BY:  GUIDED BY: GUIDED BY: PATEL DHIREN ( PATEL DHIREN (086440311526 ) ) MR. H.H.AGRAWAL  MR. H.H.AGRAWAL PATEL JAY ( PATEL JAY (086440311528 ) ) PATEL PIYUSH ( PATEL PIYUSH (086440311536 ) )

Upload: prateek-srivastava

Post on 06-Jul-2018

230 views

Category:

Documents


0 download

TRANSCRIPT

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 1/49

GANPAT UNIVERSITYGANPAT UNIVERSITY

PROJECT REPORTPROJECT REPORT

ONON

  TEMPRATURETEMPRATURE  CONTROLLER ANDCONTROLLER ANDDISPLAY DISPLAY 

 PREPARED BY:PREPARED BY:  GUIDED BY:GUIDED BY:

PATEL DHIREN (PATEL DHIREN (086440311526)) MR. H.H.AGRAWAL  MR. H.H.AGRAWAL

PATEL JAY (PATEL JAY (086440311528))

PATEL PIYUSH (PATEL PIYUSH (086440311536))

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 2/49

 

Certifcate This is certifed that

1. Patel Dhiren Bharatbhai

2. Patel Jay Sureshbhai

3. Patel Piyush Dashrathbhai

 

O diplomain Electronics and Communication Engineering (6th 

semester) o the academic year Dec-200 assatisactory completed their term !or" in pro#ect on TEMPRATURE CONTROLLER AND DISPLAY 

They !or"ed !ith ull interest and here !ithsu$mit their report in partial ulfllment o the Diplomain Electronics % Communication Engineering&

  Date of submission:

  Sign of Guie:!ea of e"a#tment

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 3/49

 

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 4/49

 

$e %ou& &i'e to t(an' #es"e)te ignita#iesfo# t(ei# *a&uab&e Coo"e#ation+ T(e, (a*e (e&"e us in)om"&eting t(e "#o-e)t %o#' satisfa)to#, an su))essfu&&,

  $e a#e #ea&&, *e#, t(an'fu& to ou# !ea of

t(e e"a#tment M#+.+S+Pate& fo# gi*ing us t(e o""o#tunit,to ta'e t(is "#o-e)t %o#' on /TEMPRATURE CONTROLLERAND DISPLAY an en)ou#aging us in )om"&eting t(e"#o-e)t %o#' su))essfu&&,+

  $e a#e *e#, t(an'fu& to ou# guie0 M#+!+!+Ag#a%a& fo# "#o*iing us (is *a&uab&e guian)e ine*e#, as"e)ts )on)e#ne %it( ou# "#o-e)t+ !is %i&&ingnessan ee" 'no%&ege (a*e a&%a,s (e&"e us in )on)ei*ing

ne% ieas+ $e %ou& a&so &i'e to t(an' (im fo# (is )oo"e#ation !e (as a&%a,s 1uiet&, an g&a&, ans%e#e a&&ou# 1ue#ies #ega#ing to t(is "#o-e)t+

  $e a#e a&so t(an'fu& to ou# &ab assistantM#+S(ai&es(b(ai as %e&& to "#o*ie us ne)essa#,&abo#ato#, e*i)es in %o#'ing o# #unning )onitions+

  WITH HEARTFULL OF GRATITUDE

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 5/49

 

“E2PERIENCE IS T!E .EST TEAC!ER”. Thissaying as !aye" a g#i"ing r$!e in inc!#"ing in%$r&ati$n as aart $% the c#rric#!#& $% the ELECTRONICS ANDCOMMUNICATION r$gra&&e $% the GANPAT UNI3ERSITY+

  This ractica! training 'ase" $n ELECTRONICSAND COMMUNICATION  r$gra&&e". De(e!$e" %ee!ing

a'$#t the "i)c#!ties cha!!enges in the engineering *$r". On!ythe$retica! +n$*!e"ge "$es n$t i&art c$&!ete e"#cati$nara!!e! e,erience &#st acc$&any the$retica! +n$*!e"gea"&iring e"#cati$n.

  In this "irecti$n *e ha(e try t$ $#r !e(e! 'est t$

resent a r$-ect re$rt $n “TEMPRATURE CONTROLLER AND

DISPLAY”.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 6/49

4+ Int#ou)tion

5+ Ci#)uit Diag#am

6+ Ci#)uit Des)#i"tion

7+ Com"onent List

8+ Data s(eets

9+ Refe#en)e

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 7/49

A si&!e intr$"#cti$n a'$#t the te&erat#re c$ntr$!!ercirc#it.

 This circ#it r$-ect is &ain!y #se" #se" %$r te&erat#rein"icat$r te&erat#re c$ntr$!!er

An" in c$ntr$!!ing "e(ice "een" $n te&erat#re.

C$ntr$!!ing "e(ices !i+e air heater %act$ry in"#stria!

a!icati$n.

In te&erat#re c$ntr$!!er circ#it there are t*$ art c$nsist$%

o ADC /0/1 inter%ace *ith at02s34.o LCD inter%ace *ith at02s34.

 The har"*are circ#it $% te&erat#re c$ntr$!!er *ithc$ntr$!!er t$ nee" the r$gra&&ing.

 There are t*$ $ssi'i!ities 5SO r$gra&&ing asse&'!y !ang#age r$gra&&ing c !ang#age

6ere *e #se the asse&'!y !ang#age r$gra&&ing #sing+ei! 789isi$n1 IDE: s$%t*are.

 This r$gra&&ing #s#a!!y !$a" in the at02s34 c$ntr$!!eric.

At02s34 is a %a&i!y $% 0/3;.

 The r$gra&&ing %$r 0/3;.this syste& is ca!!e"e&'e""e" syste&.

 The &ain rinci!e $% this r$-ect t$ in"icate te&erat#reana!$g t$ "igita! t$ c$ntr$! the te&erat#re < inter%acing.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 8/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 9/49

$o#'ing :$o#'ing :

6$* t$ inter%ace ADC/0/1 #sing 0/3; &icr$c$ntr$!!er7AT02C34:

ADC/0/1 is $ne $% the &$st c$&&$n!y #se" ana!$g t$"igita! c$n(erter IC. In &any a!icati$ns it is re=#ire"t$ c$n(ert the $#t#t $% the sens$r *hich is ana!$g#ein nat#re t$ a "igita! %$r&. The "ata in "igita! %$r&atcan then 'e #ti!i>e" %$r %#rther r$cessing 'y the "igita!r$cess$rs. Tyica! a!icati$ns inc!#"e s$#n"r$cessing te&erat#re r$cessing etc. This circ#it"e&$nstrates the rinci!e an" $erati$n $% inter%acinga si&!e ADC /0/1 #sing 0/3; &icr$c$ntr$!!er

7AT02C34:. ADC/0/1 is c$nnecte" as sh$*n in the circ#it "iagra&.

6ere the in#t is ta+en %r$& a reset *hich gi(es"i?erent ana!$g signa!s t$ the ADC. The $#t#t ins $%the ADC are c$nnecte" t$ LEDs. The c$ntr$! ins $% theADC are c$nnecte" t$ the &icr$c$ntr$!!er AT02C34.

ADC/0/1 is a sing!e channe! ana!$g t$ "igita! c$n(ert$ri.e. it can ta+e $n!y $ne ana!$g signa!. An ADC has n 'itres$!#ti$n 7'inary %$r&: *here n can 'e 0;/;4;@ $r

e(en 41 'its. ADC /0/1 has 0 'it res$!#ti$n. The higherres$!#ti$n ADC gi(es s&a!!er ste si>e. Ste si>e iss&a!!est change that can 'e &eas#re" 'y an ADC. 5$ran ADC *ith res$!#ti$n $% 0 'its the ste si>e is;2.3&9 739B433:.

 The ti&e ta+en 'y the ADC t$ c$n(ert ana!$g "ata int$"igita! %$r& is "een"ent $n the %re=#ency $% c!$c+s$#rce. ADC/0/1 can 'e gi(en c!$c+ %r$& e,terna!s$#rce. It a!s$ has an interna! c!$c+.

6$*e(er the c$n(ersi$n ti&e cann$t 'e &$rethan;;/#s. T$ #se the interna! c!$c+ a caacit$r an"resist$r is c$nnecte" t$ in ;2 an" 1 as sh$*n in thecirc#it "iagra&. The %re=#ency is gi(en 'y the re!ati$n% ;B 7;.;RC:. The circ#it #ses a resistance $% ;/+ an" acaacit$r $% ;3/5 t$ generate c!$c+ %$r ADC/0/1. 9in*hich is the in#t in is c$nnecte" t$ a reset t$r$(i"e ana!$g in#t.

Pin Descriti$n

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 10/49

;. CS Chi Se!ect This is an acti(e !$* in an" #se"

t$ acti(ate the ADC/0/1.

4. RD Rea" This is an in#t in an" acti(e !$*. A%terc$n(erting the ana!$g "ata the ADC st$res the res#!tin an interna! register. This in is #se" t$ get the "ata$#t $% the ADC /0/1 chi. hen CS/ < high t$ !$*#!se is gi(en t$ this in the "igita! $#t#t is sh$*n$n the ins D/FDG.

. R rite This is an in#t in an" acti(e !$*. Thisis #se" t$ instr#ct the ADC t$ start the c$n(ersi$nr$cess. I% CS/ an" R &a+es a !$* t$ hightransiti$n the ADC starts the c$n(ersi$n r$cess.

1. CLH IN C!$c+ IN This is an in#t in c$nnecte" t$an e,terna! c!$c+ s$#rce.

3. INTR Interr#t This is an acti(e !$* $#t#t in. This in g$es !$* *hen the c$n(ersi$n is $(er.

@. 9in Ana!$g In#t .

G. 9inF Ana!$g In#t. C$nnecte" t$ gr$#n".

0. AJND Ana!$g Jr$#n".

2. 9re%B4 This in is #se" t$ set the re%erence($!tage. I% this is n$t c$nnecte" the "e%a#!t re%erence

($!tage is 39. In s$&e a!icati$n it is re=#ire" t$ re"#cethe ste si>e. This can 'e "$ne 'y #sing this in.

;/. DJND Digita! Jr$#n".

  ;;F;0. O#t#t Data Kits 7DGFD/:.

  ;2. CLHR C!$c+ Reset.

  4/. 9cc P$siti(e S#!y

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 11/49

Cont#o&&ing fun)tions :

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 12/49

 The !c" "is!ay t*$ te&erat#re ;:c#rrent te&erat#re  4:set $int te&erat#re

 The set $int incre&ent < "ecre&ent #sing s*itch.

hen *e set the s7 set $int : !ess than the c#rrentte&erat#re then trigger the #!se t$ 'ase $% transist$r'y c$ntr$!!er.

 The c$!!ect$r c#rrent $* in c$i!. s$ the LED *i!! 'e ON.

In ON c$n"iti$n $% re!ay the c$&&$n ter&ina! is

c$nnecte" *ith NO $% re!ay.

5ina!!y the '#>>er *i!! 'e ON.

hen s is &$re than c#rrent te&erat#re. in thisc$n"iti$n !e" < re!ay < '#>>er *i!! 'e $?.

 s%r P//,0/ s%r P;/,0/ s%r P;/,2/ s%r P4/,A/

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 13/49

 s%r P/,K/

 s'it re!ay P;/ S'it inc P;; s'it "ec P;4

"efne a"c"ata P

s'it intr P44 BB3s'it r" P4/ BB4s'it *r P4; BB

s'it rs P43s'it r* P4@s'it en P4G#nsigne" char !ine1Q /,0//,C//,2//,D/"efne DKUS P/"efne KLINHLCD /,/2"efne ONCURSOR /,/A"efne ONLCD /,/C"efne CLEARLCD /,/;"efne 6OMELCD /,/4

"efne ENTRYMODE /,/@"efne 5UNCSET /,0($i" *r!c"c&"7#nsigne" char c&" :($i" *r!c""ata7#nsigne" char Data :($i" "e!ay7#nsigne" int c$#nt:($i" *r&sg7char LineN$char en"!$c #nsigne" char &sgQ:($i" get"ata7:

static #nsigne" char s/

c$"e #nsigne" char scr34Q ;@Q Te&   SP

c$"e #nsigne" char scr;4Q ;@Q VAY Pate!   KSPP 4n" S6I5T ($i" &ain7:

#nsigne" char i#nsigne" char ,";"4"(a!a/

P/,?P//,//

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 14/49

P4/,/%re!ay/

*r!c"c&"75UNCSET: BBset "ata !engthn$ $%"is4F!ine "is!ay

*r!c"c&"7ONLCD: BB"is!ay an" c#rs$r $n*r!c"c&"7ENTRYMODE:BBinc. DDra& a""ress*r!c"c&"7CLEARLCD: BBC!ear "is!ay

%$r7i/iW4i:"e!ay7;//:*r&sg7!ineiQ;@scr;iQ:

%$r7i/iW;3i:"e!ay73////:

%$r7i/iW4i:"e!ay7;//:

*r&sg7!ineiQ;@scr3iQ:

  *hi!e7;:    *r/  "e!ay7;//:  *r;  *hi!e7intr X ;:  *hi!e7intr X /:

  r"/  "e!ay7;/:  (a!a"c"ata  r";

*r!c"c&"7!ine/Q2:

,(a!B;/";(a!;/"4,;/",B;/

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 15/49

*r!c""ata7"/,/:"e!ay7;/:*r!c""ata7"4/,/:

*r!c""ata7";/,/:"e!ay7;/:

a7"Z;//:7"4Z;/:";

*r!c""ata7[C[:

*r!c"c&"7!ine;Q2:*r!c""ata77sB;/:/,/:*r!c""ata77s;/:/,/:

i%7inc/:*hi!e7inc/:si%7 7"ec/: << s\/ :

*hi!e7"ec/:sFF

i%7a\s:re!ay;e!sere!ay/"e!ay743///:

 

($i" *r!c"c&"7#nsigne" char c&" :

DKUS c&""e!ay7;/:rs / BBse!ect c&" reg

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 16/49

"e!ay7;/:r* / BB*rite &$"e"e!ay7;/:en ;"e!ay7//:en /"e!ay74/:

($i" *r!c""ata7#nsigne" char Data :

DKUS Data"e!ay7;/:rs ; BBse!ect "ata reg"e!ay7;/:r* /"e!ay7;/:en ;"e!ay7//:en /"e!ay7;/:rs /"e!ay74/:

($i" *r&sg7char LineN$char en"!$c #nsigne" char &sgQ:

#nsigne" char i*r!c"c&"7LineN$:%$r7i /iWen"!$ci:

*r!c""ata7&sgiQ:"e!ay73/:

($i" "e!ay7#nsigne" int "!y:*hi!e7"!y\/:"!yFF

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 17/49

4+ Resisto#; 4'0 4<'0 =+5'0 4<' "ot

5+ Ca"a)ito# 488"f0 66"f0 4<uf 

6+ DC "o%e# su""&,

7+ LED

8+ S%it)(

9+ T#ansisto#

>+ .u??e#

=+ Re&a,

@+ C#,sta&

4<+ AT=@S85

44+ ADC <=<7

45+ >=<8

46+Senso# LM 68

47+ Dis"&a,

48+ So)'et

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 18/49

RESISTOR:

A,ia!F !ea" resist$rs $n tae. Thetae is re&$(e" "#ring asse&'!y

'e%$re the !ea"s are %$r&e" an"the art is inserte" int$ the '$ar".

 Three car'$n c$&$siti$n resist$rsin a ;2@/s (a!(e 7(ac##& t#'e:ra"i$. A resist$r is a t*$Fter&ina!e!ectr$nic c$&$nent thatr$"#ces a ($!tage acr$ss itster&ina!s that is r$$rti$na! t$ thee!ectric c#rrent thr$#gh it in

acc$r"ance *ith Oh&[s !a*

3 IRResist$rs are e!e&ents $% e!ectrica!net*$r+s an" e!ectr$nic circ#its

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 19/49

an" are #'i=#it$#s in &$st e!ectr$nic e=#i&ent. Practica!resist$rs can 'e &a"e $% (ari$#s c$&$#n"s an" f!&s as *e!!as resistance *ire 7*ire &a"e $% a highFresisti(ity a!!$y s#ch asnic+e!Bchr$&e:.

 The ri&ary characteristics $% a resist$r are the resistance thet$!erance &a,i&#& *$r+ing ($!tage an" the $*er rating.Other characteristics inc!#"e te&erat#re c$e)cient n$isean" in"#ctance. Less *e!!F+n$*n is critica! resistance the (a!#e'e!$* *hich $*er "issiati$n !i&its the &a,i&#& er&itte"c#rrent $* an" a'$(e *hich the !i&it is a!ie" ($!tage.Critica! resistance "een"s #$n the &ateria!s c$nstit#ting theresist$r as *e!! as its hysica! "i&ensi$ns it[s "eter&ine" 'y"esign. Resist$rs can 'e integrate" int$ hy'ri" an" rinte"circ#its as *e!! as integrate" circ#its. Si>e an" $siti$n $%!ea"s 7$r ter&ina!s: are re!e(ant t$ e=#i&ent "esignersresist$rs &#st 'e hysica!!y !arge en$#gh n$t t$ $(erheat *hen"issiating their $*er.

Resisto# Co&o# Coing

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 20/49

4<' 3a#iab&eResisto#:

9aria'!e resist$rs c$nsist $% a resistance trac+ *ithc$nnecti$ns at '$th en"s an" a *ier *hich &$(es a!$ng thetrac+ as y$# t#rn the sin"!e. The trac+ &ay 'e &a"e %r$&car'$n cer&ets 7cera&ic an" &eta! &i,t#re: $r a c$i! $% *ire7%$r !$* resistances:. The trac+ is #s#a!!y r$tary '#t straighttrac+ (ersi$ns #s#a!!y ca!!e" s!i"ers are a!s$ a(ai!a'!e.

9aria'!e resist$rs &ay 'e #se" as a rhe$stat *ith t*$c$nnecti$ns 7the *ier an" -#st $ne en" $% the trac+: $r as a$tenti$&eter *ith a!! three c$nnecti$ns in #se. Miniat#re

(ersi$ns ca!!e" resets are &a"e %$r setting # circ#its *hich*i!! n$t re=#ire %#rther a"-#st&ent.9aria'!e resist$rs are $%ten ca!!e" $tenti$&eters in

'$$+s an" cata!$g#es. They are secife" 'y their &a,i&#&resistance !inear $r !$garith&ic trac+ an" their hysica! si>e

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 21/49

CAPACITORF

Electronic symbol:-

  Type: - Passive  A caacit$r $r c$n"enser is a assi(e e!ectr$nic

c$&$nent c$nsisting $% a air $% c$n"#ct$rs searate" 'y a"ie!ectric. hen a ($!tage $tentia! "i?erence e,ists 'et*eenthe c$n"#ct$rs an e!ectric fe!" is resent in the "ie!ectric. Thisfe!" st$res energy an" r$"#ces a &echanica! %$rce 'et*eenthe !ates. The e?ect is greatest 'et*een *i"e at ara!!e!narr$*!y searate" c$n"#ct$rs.

  The c$n"#ct$rs an" !ea"s intr$"#ce an e=#i(a!entseries resistance an" the "ie!ectric has an e!ectric fe!" strength!i&it res#!ting in a 'rea+"$*n ($!tage.Caacit$rs are *i"e!y #se" in e!ectr$nic circ#its t$ '!$c+ the$* $% "irect c#rrent *hi!e a!!$*ing a!ternating c#rrent t$ asst$ f!ter $#t inter%erence t$ s&$$th the $#t#t $% $*ers#!ies an" %$r &any $ther #r$ses. They are #se" inres$nant circ#its in ra"i$ %re=#ency e=#i&ent t$ se!ectartic#!ar %re=#encies %r$& a signa! *ith &any %re=#encies.

Ce#ami) Ca"a)ito#:Cera&ic caacit$rs are c$nstr#cte" *ith &ateria!s s#ch astitani#& aci" 'ari#& #se" as the "ie!ectric. They can 'e #se"in high %re=#ency a!icati$ns. Tyica!!y they are #se" incirc#its *hich 'yass high %re=#ency signa!s t$ gr$#n".

 These caacit$rs ha(e the shae $% a "is+. Their caacitance isc$&arati(e!y s&a!!.

 The caacit$r $n the !e%t is a ;//5 caacit$r *ith a "ia&eter$% a'$#t &&.The caacit$r $n the right si"e is rinte" *ith

;/ s$ ;/ , ;/

5 'ec$&es /./; 85. The "ia&eter $% the "is+ isa'$#t @ &&.Cera&ic caacit$rs ha(e n$ $!arity Cera&ic caacit$rs sh$#!"n$t 'e #se" %$r ana!$g circ#its Keca#se "ist$rt the signa!.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 22/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 23/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 24/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 25/49RELAY:

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 26/49

A re!ay is an e!ectrica! s*itch that $ens an" c!$ses

#n"er the c$ntr$! $% an$ther e!ectrica! circ#it. In the $rigina!

%$r& the s*itch is $erate" 'y an e!ectr$&agnet t$ $en $r

c!$se $ne $r &any sets $% c$ntacts. It *as in(ente" 'y V$seh

6enry in ;03. Keca#se a re!ay is a'!e t$ c$ntr$! an $#t#t

circ#it $% higher $*er than the in#t circ#it it can 'e

c$nsi"ere"

t$ 'e in a 'r$a" sense a %$r& $% an e!ectrica! a&!i%ier.

Fig . 4 .26 Suga r cube relay

Desite the see" $% techn$!$gica! "e(e!$&ents

s$&e r$"#cts r$(e s$ $#!ar that their +ey ara&eters

an" "esign %eat#res re&ain (irt#a!!y #nchange" %$r years.

One s#ch r$"#ct is the ]s#gar c#'e^ re!ay sh$*n in the

fg#re a'$(e *hich has r$(e" #se%#! t$ &any "esigners

*h$ nee"e" t$ s*itch # t$ ;/A *hi!st #sing re!ati(e!y !itt!e

PCK area

Since re!ays are s*itches the ter&in$!$gy a!ie" t$

s*itches is a!s$ a!ie" t$ re!ays. A re!ay *i!! s*itch $ne $r

&$re $!es each $% *h$se c$ntacts can 'e thr$*n 'y

energi>ing the c$i! in $ne $% three *ays

4 No#ma&&, o"en NO c$ntacts c$nnect the circ#it *hen

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 27/49

the re!ay is acti(ate " the circ#it is "isc$nnecte" *hen the

re!ay is inacti(e. It is a!s$ ca!!e" a 5ORM A c$ntact $r

“&a+e” c$ntact.

4.N o #ma&&, ) &o s e N C c$ntacts "isc$nnect the circ#it

*hen the re!ay is acti(ate" the circ#it is c$nnecte" *hen

re!ay is inacti(e. It is a!s$ ca!!e" 5ORM K c$ntact $r”

'rea+” c$ntact

.C(a n g e o *e# o# ou b &e t( # o% c$ntacts c$ntr$! t*$

circ#its $ne n$r&a!!y $en c$ntact an" $ne n$r&a!!y _c!$se" c$ntact *ith a c$&&$n ter&ina!. It is a!s$ ca!!e" a

5$r& C “trans%er “c$ntact.

"C" denotes the common terminal in SPDT and DPDT types

E SPST S in g &e P o&e S in g &e T (# o %: These ha(e t*$

ter&ina!s *hich can 'e c$nnecte" $r "isc$nnecte".

Inc!#"ing t*$ %$r the c$i! s#ch a re!ay has %$#r

ter&ina!s in t$ta!. It is a&'ig#$#s *hether the $!e is

n$r&a!!y $en $r n$r&a!!y c!$se". The ter&in$!$gy

SPNO an" SPNC is s$&eti&es #se" t$ res$!(e the

a&'ig#ity.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 28/49

E SPDT S in g &e P o&e D ou b &e T (# o %: A c$&&$n

ter&ina! c$nnects t$ either $% t*$ $thers. Inc!#"ing

t*$ %$r the c$i! s#ch a re!ay has f(e ter&ina!s in

t$ta!.

E DPST D ou b &e P o&e S in g &e T (# o %: These ha(e t*$

airs $% ter&ina!s. E=#i(a!ent t$ t*$ SPST s*itches $r

re!ays act#ate" 'y a sing!e c$i!. Inc!#"ing t*$ %$r the

c$i! s#ch a re!ay has si, ter&ina!s in t$ta!. It is

a&'ig#$#s *hether the $!es are n$r&a!!y $en

n$r&a!!y c!$se" $r $ne $% each.

E DP D T D ou b &e P o&e D ou b &e T (#o%: These ha(e t*$r$*s $% changeF$(er ter&ina!s.

E=#i(a!ent t$ t*$ SPDT s*itches $r re!ays act#ate" 'y a

sing!e c$i!. S#ch a re!ay has eight ter&ina!s inc!#"ing

the c$i!.

E FPDT F ua# u" &e P o & e D o ub&e T ( # o%: O%ten

re%erre" t$ as `#a" P$!e D$#'!e Thr$* $r 1PDT. These

ha(e %$#r r$*s $% changeF$(er ter&ina!s. E=#i(a!ent t$

%$#r SPDT s*itches $r re!ays act#ate" 'y a sing!e c$i!

$r t*$ DPDT re!ays. In t$ta! %$#rteen ter&ina!s

inc!#"ing the c$i!.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 29/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 30/49

AT89S52 :-

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 31/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 32/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 33/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 34/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 35/49SENSORLM68:

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 36/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 37/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 38/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 39/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 40/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 41/49

IC>=<8:

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 42/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 43/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 44/49

LCD:

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 45/49

LIFU ID CRY S TAL DIS P LAY 

A !i=#i" crysta! "is!ay 7LCD: is a thin %!at "is!ay "e(ice

&a"e # $% any n#&'er $% c$!$r $r &$n$chr$&e i,e!s

arraye" in %r$nt $% a !ight s$#rce $r re%!ect$r. Each i,e!

c$nsists $% a c$!#&n $% !i=#i" crysta! &$!ec#!es s#sen"e"

'et*een t*$ transarent e!ectr$"es an" t*$ $!ari>ing

f!ters the a,es $% $!arity $% *hich are eren"ic#!ar t$

each $ther. Eith$#t the !i=#i" crysta!s 'et*een the& !ight

assing thr$#gh $ne *$#!" 'e '!$c+e" 'y the $ther.  The

!i=#i" crysta! t*ists the $!ari>ati$n $% !ight entering $ne %i!ter

t$ a!!$* it t$ ass thr$#gh the $ther.

Many &icr$c$ntr$!!er "e(ices #se [s&art LCD[ "is!ays t$

$#t#t (is#a! in%$r&ati$n. LCD "is!ays "esigne" ar$#n"

6itachi[s LCD 6D11G0/ &$"#!e are ine,ensi(e easy t$

#se an" it is e(en $ssi'!e t$ r$"#ce a rea"$#t #sing the

0,0/ i,e!s $% the "is!ay.  They ha(e a stan"ar" ASCII set $% 

characters an" &athe&atica! sy&'$!s.

5$r an 0F'it "ata '#s the "is!ay re=#ires a 39 s#!y

!#s ;; IBO !ines. 5$r a 1F'it "ata '#s it $n!y re=#ires the

s#!y !ines !#s se(en e,tra !ines. hen the LCD "is!ay is

n$t ena'!e" "ata !ines are triFstate an" they "$ n$t inter%ere

*ith the $erati$n $% the &icr$c$ntr$!!er.

Data can 'e !ace" at any !$cati$n $n the LCD. 5$r ;@4LCD the a""ress !$cati$ns

are

Bi#st &ine =< =4 =5 =6 =7 =8 =9 t(#oug(=B

Se)on &ine C< C4 C5 C6 C7 C8 C9

t(#oug( CB

SIGNALS TO T!E LCD

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 46/49

 The LCD a!s$ re=#ires c$ntr$! !ines %r$& the&icr$c$ntr$!!er

4 E n a b &e E

 This !ine a!!$*s access t$ the "is!ay thr$#gh RBan" RS !ines. hen this !ine is !$* the LCD is "isa'!e"

an" ign$res signa!s %r$& RB an" RS. hen 7E: !ine is

high the LCD chec+s the state $% the t*$ c$ntr$! !ines

an" res$n"s acc$r"ing!y.

5 Rea$#ite R G$

 This !ine "eter&ines the "irecti$n $% "ata 'et*eenthe LCD an" &icr$c$ntr$!!er.

hen it is !$* "ata is *ritten t$ the LCD. hen it is high"ata is rea" %r$& the

LCD.

6 R e gi ste# s e &e )t R S

ith the he! $% this !ine the LCD interrets the tye $% 

"ata $n "ata !ines. hen it is !$* an instr#cti$n is 'eing

*ritten t$ the LCD. hen it is high a character is 'eing

*ritten t$ the LCD.

Logi) s t atus on ) o n t # o & &ines:

b E F / Access t$ LCD

"isa'!e"

F ; Access t$ LCD ena'!e"

b RB F / riting "atat$ LCD

F ; Rea"ing "ata%r$& LCD

b RS F / Instr#cti$n

F ;Characte

r

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 47/49

$ # i t i n g a n # e a ing t(e a t a f # om t(eL C D:

riting "ata t$ the LCD is "$ne in se(era! stes

;: Set RB 'it t$ !$*4: Set RS 'it t$ !$gic / $r ; 7instr#cti$n $r character:

: Set "ata t$ "ata !ines 7i% it is *riting:

1: Set E !ine t$ high

3: Set E !ine t$ !$*

Rea" "ata %r$& "ata !ines 7i% it is rea"ing:

;: Set RB 'it t$ high

4: Set RS 'it t$ !$gic / $r ; 7instr#cti$n $r character:

: Set "ata t$ "ata !ines 7i% it is *riting:

1: Set E !ine t$ high

3: Set E !ine t$ !$*

P IN D E S C RI P T ION

M$st LCDs *ith ; c$ntr$!!er has ;1 Pins an" LCDs *ith 4c$ntr$!!er has ;@ Pins

7t*$ ins are e,tra in '$th %$r 'ac+F!ight LED c$nnecti$ns:.

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 48/49

8/17/2019 Temperature Control System Project Report.doc

http://slidepdf.com/reader/full/temperature-control-system-project-reportdoc 49/49

;. (tt":%%%+%estHo#ia)om"onents+)om

5+ (tt":%%%+futu#&e)+)om

6+ (tt":%%%+"fsea#)(engine+)om

7+ (tt":%%%+%estHo#ia)om"onents+)om

8+ (tt": %%%+goog&e+)om 

9+ (tt":%%%+atas(eets)ata&og+)om

.oo's:4+ E&e)t#oni) e*i)es an )i#)uits5 R.P A-*a!iya

5+ Ma?iee