Robot Penyortir Benda Berdasarkan Warna Menggunakan Sensor Warna Tcs3200

Teks penuh

(1)

! " # $ !% % & # $ % ' $! $ # !" # " $ %& ' & ( )*+$ ,"# *- , . * ( $ )$ * + ! $ ( $ " + ! , / , ,) , . # , /0"., / " # . ) /""# " *1#" 2 "# ,) , ) /""# " * 2 && ,) , . # ". 1#*3" 45 . 6 # /0"., /0"., ,) , 7* /" ," 8" /( . #8"( , ,)" . /0"., " *#1 9)"# ,)" *#6 " "# )*, ,)" /0"., ,)" . #8"( 7* , $ ,) , ,)" $ *,* # 6 ,)" /0"., * ": ., /" 7 ,)" . "# ,)"# ,)" . "# " ,)" /0"., . ; / , 0 , / " #6 " "# 7*,.) * " , "," *#" 7)",)" ,)" /0"., ,) , ) 8" . " , 6 ,)" . " *#1 7 " ( , *6," /( / ,*. , /" 8" *#, ,)" $ ." / , . # * , 6 $*"." 6 " 8 ,) , " .) ) *66" "#, 6 #.,* # / , . # * , 6 1 *$$" " / 7 ) " # *," ,)" " " .) *, . # /" . #. " ,) , ,)" 2 && "# . # " 45 . 6 /0"., 8" ( 7" 8" ( $" ."#, 1" 6 " " *#1 & & < 8" ( )*1) 6 "# .. .( " .)" == = < !-. * 2 "# / , !*. . #, " !"1 > ! 2 &&; ; "# " 2 ( $ % * ( $ ! - $ ! (! % . #! "" % ! . , " ) * #. #1 / , "#1 # ( #1 $ , "#( ,* /"# /" ? # 7 # #( "# 7 # ( #1 *1 # ? # ) 2 && ( #1 $ , "#1"# * 7 # 45 * "/ ) /"# 5"# ( #1 ? # * ,* *0 #? # ") ? #8"( "# 0 #1 / . 7 # /"# ",*? /"# "#1"# * "# *#6 " ) ? ? #8"( ? # /" )"#,* ")*#11 $ * * /"# /" ,"$ , * / 7 ) "# 7 # ?" * # */ . 7 # #( ") "# 7 # 7*,.) "# ; / , 0 , / " #6 " *1 # ? # #, ? "#1", ) * $ ? ) /"# ( #1 ," ) ?" * #1 / . 7 # * $ * #1? , ") "#1 # / , #, ? *$*# )? # ?" ," $ ,#( "#1 # / , ," * * * / ) " 8 ( #1 *#1 *#1 " * *?* 6 #1 * ( #1 /" /" "#1 # / , ," * * * $"#0"$*, *? / ) # , $ ? ; * ) * $"#" *,* # $ , * * $ ? # / )7 "# 2 && $ , " / . 7 # 45 * /"# "#1 # #1 , / *? $" "#, " ?" ) # $" / . # #1 , ?".* ( *, & & < ,*#1? , ?"," *,* # "# #1 , ,*#11* "#. $ * == = < $ ) * "# 9 # / , "#1 # !*? ? #, " !"1 > ! 2 &&; ; "# " 2

(2)

/ , @"#( ,* 5"# 5" ? # 9 # ! + @ $" ?" / #1 # ,"?# 1* ?) #( #* *# , * " ?*# $" , "? #1 *#* "# #, , #( $" ?" / #1 # ) $"#*#1? , # "6* *"# * $ ? * "/ , ) # # * ," ) $ $" , # ( #1 ." # $ , /"?" 0 ". , ,* " ?*# "#*#1? , ")*#11 $" , #-$" , # , ,* *#* * "#11 #,*? # $" , # # " *# * ," ?" 0 #( ( #1 ", * ?"."$ , # ?","$ , # " , ? #,*, "#0 * , ) ( #1 7 0*/ *$"# )* $ " $ ? * / , "#0 * $* *) # ( #1 ,"$ , #, ? / #, $"#*#1? , # "6* *"# * $ ? * # " / #, /* #1- /* #1 *##( ! "" (" ", % & ' " #. #1 / , , ,* ( #1 * "#1? $* "#1 # "# 7 # 2 && #, ? " #*, $" , / ) # , # # * / , * A * $" . / # "# #0 ?? # / )7 2 && ) "# 7 # ) ( #1 #1 , /" 1 # "#1 # ? */ * "/*) #0 , $ , " /" *? # $" / . # 45 ( #1 ? , 2 && $ , **#,"1 *? # "#1 # "#1 # / , ")*#11 $ , " #*, # "#1"# *? # $" , / ) # , # # ". , ,* B CB C ? ;0 0 * ", % & &' " #6 ,? # $"#1 ) # .*, #, ? $"#*#1? , # ?*#" 0 * ," $" ,* # ( #1 ," ) * / ,* * ! @ ." *#1 , ,* # %!@ ' ( #1 "#11 # ? # ? /*# * "# ? $ *,*6 *# ?,*6 # $,* #, ? " /" ? # 7 # /"# * ," "#11 # ? # "/ ) "? , #*? / , %!*, /* )* ! 8" ," -! ' #, ? $"#1" $ ? # 7 # "#1 # $"#" $ # $"#1 ) # .*, "#1 # " ? ? # " #1? * # 1" ? # "#1 # "? #* " $"#" $ , # /* - #-, ) " * 7 # # $ * * * /"# ?" 0 B C #, ? $"#1" $ ? # /"# /" ? # 7 # / , * "#1? $* "#1 # "# 7 # " 7 # ( #1 ) # $ , " /" *? # $" / . # 7 # 45 ( #1 ? , ) 2 && B C "# *#* " * *?* 0"#* ( *, 2 & # 2 && " "# ," "/ , " * *?* . ?" 0 # $" *6*? * ( #1 BDCB>C * % &&>' "#11 # ? # "# 9 # . & #, ? !"#1 ? ? ; ! @ $"#" *,* ##( * 7*1 # "#11 # ? # ; "/ 1 * /" . ) ( * # . ) ( * ; "," ) " "7 ,* $" ? # *," * ") "# 7 # 2 & ? $ #"# , $" /"#, ? 2 *#* ( *, $) , * # $"#1? #8" * ?" 6 "? "# * A * ?" # * "# 7 # 2 & *," * ") !2 "1 > ( #1 /" 6 #1 * "/ 1 * $"#1 ) , ?" * # *, $* ? # $ 2; /" $ #* * $" "# B C # )*? "# ( $ , # ,# * % & &' "# " *# "? #*? , / #, #, ? * "#,*6*? * ? * , . * # * / ) "#1 # "# 7 # 2 && @ $"#" *,* ##( # )*? "#11 # ? # $ " $ ? ( #1 *) * /" */" * , #/ ) # / ) # $"#1 7", B C @ $"#" *,* # *#* $"# * ? # " #. #1 / , /" /"#, ? "#1 # ( #1 /" 6 #1 * #, ? "#( ,* /"# /" ? # 7 # #( "/" /"# * ,* 7 # /"# ? # */ . ") "# 7 # 2 && "," ) *?"# * 7 # #( " #0 ,#( / , ? # "#( ,* /"# ," "/ , /" ? # 7 # #( ! ) " ;* 1 / ? * * ," / , ( #1 * #. #1 ) "$" ,* ( #1 *$" *) ,? # $ 1 /

(3)

4 / ;* 1 5 ? * ," "# 7 # ( #1 *1 # ? # ) "# 7 # 0"#* ; "# " 2 ( #1 " $ ? # "# 7 # /" / * "# ! 2 &&; ( #1 $ , "#1"# * 7 # 45 * "/ ) /"# / /" 6 #1 * #, ? "#1? */ * "# "#(* $ # # "#1) $ , ( #1 * * $ # $ @ ! #8 (" ( #1 *1 # ? # ( *, /* #1 , ( #1 *1" ?? # ") , 1 /"# ( #1 ? # * ,* $ , /" 0 # "# 0 #1 / . 7 # /"# ",*? /"# "#1"# * *#6 " ) ( #1 /" * #1 / . "# ? , ? #8"( /" )"#,* ")*#11 $ * * /"# /" ,"$ , * / 7 ) "# 7 # ?" * # */ . 7 # #( % 2;' *1 # ? # #, ? "# $* ? # , 7 # 45 ( #1 " $ ? # ) * $" / . # "# *1 # ? # #, ? "#1", ) * $ ? ) /"# ( #1 ," ) ?" * #1 / . 7 # * $ #, ? * #1? , ") "#1 # / , *$*# )? # ?" ," $ ,#( !*? ? #, " !"1 > *1 # ? # "/ 1 * $ , ? #, # " $ ? # $"#1"# * * " "? #*? ( #1 $ * ," "#1 # / , ," * * * / ) " 8 ( #1 *#1 *#1 " * *?* 6 #1 * ( #1 /" /" " 8 ( #1 *1 # ? # " * *?* , * ( #1 ?".* ")*#11 ) #( $ , "#1 /* /"# ( #1 *#1 # "#1 # / , ," * * * *E$"#0"$*, *? / ) # , $ ? #. #1 # /"#, ? / , "#1 # ! % 5;' # ? #6*1 * / , ". ?" " ) # , $ ? $ 1 / % ' %/' 4 / % ' #. #1 # /"#, ? / , "#1 # ! % 5;' %/' #6*1 * / , "#1 # 5"# ( #1 *1 # ? # /" /"#, ? ? / # */ , * / ) # ,( 6 "#1 # ? # : : . ( #1 * $* * ?" , *1 * 7 # # */ 1* "#0 * 0"#* 7 # #8"( , ,* /* #1 , * #6 ,? # "/ 1 * ," $ , /"# "/" * ,* "," ) /"# */ . ") "# ? /"# ? # *$*# )? # ?" ," $ , ( #1 ," ) *,"#, ? # " * 7 # /"# ," "/ , 4 / /"# # ? #8"( , ,* /* #1 , *, #0 ?? # $ 1 / % ' %/' 4 / % ' 5"# ( #1 ? # * ,* %/' ? #8"( , ,* /* #1 , ;"# ) $" #1 # "? #*? / , "#1 # /"# ? #8"( #1 $" / . 7 # /"# # ," $ , /"# ( #1 * ,* *, #0 ?? # $ 1 / 4 / ;"# ) * ," %, $ ? , ' ! "# 7 # ( #1 *1 # ? # ) "# 7 # 0"#* ; "# " 2 ( #1 " $ ? # "# 7 # /" / * "# ! 2 &&; ( #1 $ , "#1"# *E "# ","? * 7 # 45 * "/ ) /"# E /("? 4 / ! 2 &&; # * 1 $ " "# *, #0 ?? # $ 1 / B CB C

(4)

/ , @"#( ,* 5"# 5" ? # 9 # D % ' %/' 4 / % ' @ : 2 && %/' ;* 1 $ " "# ; - " * *?* $" *6*? * "/ 1 * /" *? ,FB CBDC ! $ "#1 ? ? $ #"# 7 # 45 * "/ ) /0"? /" 7 # 5" / * "# 2 &&; " " * ; $ ,*) #, ? " / #, $" / . # , 7 # $ /("? @*# "# ? $ ,*/" "#1 # "8" ,"1 #1 # # 2! ;* "#1? $* "#1 # #, ? # 2 #6*1 * ? #*? * " * ) F = && /$ > , #$ # , #$ /" . , ( "#11 # ? # ,"1 #1 # > - ;2 #, ? 2 "# ? #1 , )*#11 & ?A3 ! ) " @ 1 , * * ," *#* ) $"#1"# # 7 # /"# # $" ", ? # /"# " * "#1 # ," $ , ( #1 ," ) *,"#, ? # @ " *#* *, #0 ?? # ") * 1 * $ 1 / ! " " " ! # ! # 4 / ;* 1 * $ 1 , ! - "#1 # /" $ $ * * # ? #8"( 0 # ",*? /"# "#1"# * #6 " ) ( #1 /" * #1 $" / . 7 # ? ? #8"( /" )"#,* ")*#11 $ * * /"# ,"$ , * / 7 ) "# 7 # "# 7 # ? # " / . 7 # /"# ( #1 /" ,"$ , * / 7 )#( @ " $" / . # 7 # ? # "/*) #0 , *0" ? # $ * 1 * 1 / D "," ) $" / . # 7 # * ? ? # ? , 7 # *, $* ? # $ 2; " #0 ,#( , ? #8"( ? # ?" / * /" 0 # " / 7 /"# ",*? /"# "#1"# * ? , ? #8"( ? # /" )"#,* # "#1 # ? # "#0"$*, /"# $ / , " ", ?? # /"# " * ," $ , ( #1 ," ) *,"#, ? # "#1 # / , ?" / * ?" $ * * # " #0 ,#( , ? #8"( ?" / * /" 0 # #, ? " ? ? # $ " $" / . # 7 # /"# /" *? ,#( @ " $"#1? */ * # * ? ? # "#1 # " ", ?? # /"# 7 # $ ,*) * / 7 ) "# ; - " #0 ,#( * ? ? # $ " $"#1? */ * # * "/ , "#1 # ", ?? # /"# 7 # )*, * / 7 ) "# ; -$ " #0 ,#( * ? ? # $ " $"#1? */ * # * "/ , "#1 # % @ " $"#1? */ * # *#* * ? ? # "/ 1 *

(5)

> "6" "# * 7 # $ ,*) # 7 # )*, $ ; - " #0 ,#( * ? ? # $" / . # 7 # /"# ( #1 *##( "/ 1 * "6" "# * 7 # /"# ( #1 ? # * ,* @ " $" / # *#1 # , 7 # /"# "6" "# * "#1 # , 7 # /"# ( #1 ? # * ,* *, #0 ?? # $ 1 / D 4 / D ;* 1 * $ " $" / # *#1 # , 7 # /"# "6" "# * "#1 # , 7 # /"# ( #1 ? # * ,* * ," " / . , 7 # /"# 45 % $ 4$ 5$' ( #1 ? # * ,* * ," " / # *#1? # #* * 45 * /"# ( #1 ? # * ,* "#1 # #* * 45 "6" "# * % ; 4; 5;' ( #1 /" $ * @ ! "#1 # . "#1 #1? # *#1 *#1 #* * 45#( * * 45 "6" "# * ( #1 " * *?* " * *) $ *#1 ?".* "#1 # #* * 45 7 # /"# ( #1 ? # * ,* * #11 $ "/ 1 * 7 # /"# ) * ? # *, $* ? # $ 2; / + + ; $"#" *,* # *#* $"#1 0* # 7 # $" , "? * * ? ? # $ $ " $"#1? */ * # "# 7 # ( #1 *1 # ? # $ " 0"#* 7 # /"# #, ? * * $ # * @ ! *? ? #, " "/ 1 * "6 "# * , 7 # 45 /"# ; , ( #1 *$" ") $ , * *) , $ , /" /" ; , 9 # 45 "6" "# * , ! !! + ! #0 + 1

& & & 9 # A*,

= 9 # A*0 9 # 5* = DD 9 # A , @*#? & 9 # !" ) #1" >> => 9 # #*#1 D > D 9 # " 5 7# > & 9 # ( 5 " = & > 9 # " , 4 ""# & & > 9 # * 9 # A*0 * " = = 9 # #1 D = 9 # !" )! = = 9 # !" ) & &= 9 # / - / &= > 9 # "," ) $ " ? */ * 7 # /"# " " * ? ? # * ? ? # $" / . # " # ! " # * ? ? # /" , 0 # #, ? "# $ ,? # , $" / . # ( #1 /"# $ "# # "? *1 , ( #1 *,* / ? # ") "# "," ) $ " $"#1? */ * # "# " " * @ " $" / . # 7 # /"# ( #1 *, $* ? # ") 2; $ , * *) , $ , /" /" @" / . # 9 # 5"# $ ! " , ! !! + ! #0 + 1

& & 9 # A*,

== 9 # A*0 9 # 5* D= 9 # A , @*#? & 9 # !" ) #1" >= == 9 # #*#1 D & > 9 # " 5 7# > 9 # ( 5 " = >& 9 # " , 4 ""# & = = 9 # *

(6)

/ , @"#( ,* 5"# 5" ? # 9 # = 9 # A*0 * " =& & >D 9 # #1 > 9 # !" )! D = 9 # !" ) & &> 9 # / - / &= > 9 # #, ? "#1", ) * ,*#1? , ?"," *,* # * , ( #1 * #. #1 ? * ? ? # $" / # *#1 # #, ) * ? */ * 7 # "#1 # ) * " # ( #1 */ . "# #, ? "# $ ,? # $" "#, " ?" ) # ? *1 # ? # $" # F ' 5" ? # $" # % ' ? ) * ?" ) # $ $" / . # 7 # /"# $ "# $ , * *) , $ , /" /" @" "#, " ?" ) # , 7 # ? */ * "#1 # $" / . # # , / + + ( ! # + 2 ! + 324

& & & & & & && & && & &

& = == & && & &>

& &

& && & &> & &

&

= DD D= & D & &

& &

& &

& && & & &

& >> => >= == & & & &

& & & D > D & > & & & &&

&

> & & && & &

& &

= & > >& & D & &

& &

& & > = = & & &

& &

& && & & &

& = = =& & >D & & & &=

& &

D = > & & & &&

& &

= = D = & & & &&

& & > & = & &

> & & & & & & &

= >

&

= > & && & && & & & $ 5 $ 2 ! + ' 6 ' ' 7 $ 5 $ 2 ! + $ + ' 6 ; * , /" $ , * *) , $" "#, " ?" ) # , 7 # ? */ * "#1 # $" / . # # #1 , ?".* ( *, #* * $" "#, " ?" ) # ? * ) #( & & < " #1? # #* * $" "#, " ?" ) # , , , , "/" & & < #* "# #0 ?? # / )7 ,*#1? , ?"," *,* # "# 2 && #1 , ,*#11*

"#. $ * && & & < G == = <

" #0 ,#( * ? ? # $"#1 0* # 7 ?, $"#( ,* # /"# /" " $ ? # 7 ?, ( #1 */ , )? # #, ? "#1 /* # " ", ?? # ,* $-,* $ /"# ( #1 */" *? # @"#1 ? # *#* * ? ? # "#1 # "#11 # ? # , $7 ,.) /" 9 ?, ( 1 */ , )? # "#1 # #, ? " *# )? # /"# , + (! 8 + 3 !$ %4 ! " #( + 3 !$ %4 !+!$ % 3 !$ %4 !#( + %! 0 . + 3 !$ %4 $ + 3 !$ %4 > & > = & & D & = D > > & D = D & > > & = $ '7 ' ' '9 ': @ , /" $ , * *) , / )7 7 ?, , , ( #1 *$" ? # ") / , #, ? "#1 /* /"# ) ",*? #, ? " ", ?? # /"# ) ",*? # #, ? ?" / * ?" $ * * 7 ) D ",*? ")*#11 , , 7 ?, ( #1 *$" ? # ") / , * * "#1 /* /"# " ", ?? # /"# # ?" / * ?" $ * * 7 ) H H D G > ",*? ! #0 + 5" ? # $" . / # ( #1 * ? ? # # ) * ( #1 * $ , ? $ , *$" ") ?" * $ # "/ 1 * /" *? , F "# 2 && $ , " / . 7 # 45 * /"# "#1 # #1 , / *? @" "#, " ?" ) # $" / # *#1 # 7 # 45 /"# "#1 # 7 # 45 "6" "# * #1 , ?".* ( *, , , & & <

(7)

& @ $"#" *,* # *#* ,*#1? , ?"," *,* # "# 2 && #1 , ,*#11* "#. $ * == = < @ $"#" *,* # *#* $ " $" 1" ? # / , * * "#1 /* /"# " ", ?? # /"# # ?" / * ?" $ * * 7 *) / , ( *, > ",*? ; ;0 0 * ( * @ 0 1 ! & ! ! ! > 1 , & & ." 2 1 ( # ! ".* "# ! ! ' ! ( ! & - . . ?, ,

),,$FEE . . ?, ,E*# ": $)$E" ,E ,*. "E 7# ED >E= = 4 4 $, ! "" (" "" (" ; 5 * "( ! ! ! ) * ' + & - . # *#,".)7"/ 1

),,$FEE. # *#,".)7"/ 1E$ 6 E D &D $ 6 ! "" (" 4 4 $, ; 5 * "( * ' + $ % ! 2' & & - *""":$ " *""" 1 ,"" $ 1 "( . #3E$ 6 E & I ! 2I $ 6 @ , # )*? "# ( # * ,# * % % - % % . / 0 1233

& & ),,$FEE "$ ""$* -*, " E D E ED &D& && I $ 6 % / 0 213 - % * % . % ! * ,)" ,)" * #*8" *,( 6 ! ) *( ) ! #1 &&> ),,$FEE"$ *#, . * ED& E E @ I I9 I 2 I & $ 6 ),,$FEE777 $ : . E@ , E&E; 7# E . E$ E ..E 2 &&I . $ 6 ),,$FEE$ 6 , )"", . E ,

)"",-$ 6E8*"7E & D E E 2 &EHJ& 8:(/ 4 8,HE , )"", $ 6

Figur

Memperbarui...

Referensi

Memperbarui...

Related subjects :