Cahaya adalah penting dan berguna untuk manusia dan ianya lebih menarik jika
boleh memancarkan pelbagai warna. Terdapat lampu yang dapat menghasilkan pelbagai
warna tetapi ia hanya boleh menghasilkan satu warna untuk setiap DIOD. Tesis ini
bertujuan untuk mereka bentuk sumber cahaya dari DIOD RGB yang boleh
memancarkan pelbagai warna hanya menggunakan satu DIOD dimana ia boleh
digunakan untuk pelbagai tempat dan suasana. Kaedah ini boleh mengurangkan kos
untuk menghasilkan warna lampu yang cantik. Pertama sekali, adalah perlu untuk
mengetahui tentang Lebar Denyut Modulasi dan juga mikropengawal kerana ia adalah
kaedah yang digunakan sepanjang mereka bentuk sumber cahaya dari DIOD RGB.
Tesis ini menghasilkan 13 warna yang cantik iaitu merah, hijau, biru, merah jingga,
hijau kebiruan, putih, ungu lembut, merah jambu, jingga, kuning lembut, kuning, ungu
dan biru hijau. Untuk menghasilkan warna-warna tersebut, Lebar Denyut Modulasi
perlu divariasikan bagi setiap pin DIOD RGB menggunakan 8-bit mikropengawal.
Terdapat dua suis yang digunakan di dalam projek ini iaitu Suis A dan Suis B. Suis
digunakan untuk mengawal buka dan tutup warna-warna lampu yang dipilih oleh
pengguna.
_______________________________________________________________________________________________________
Light is important and useful for human and it is more interesting if it can emit
different colours. There are lamps that can emit different colours but it is only can emit
one colour for each LED. This thesis is for designing RGB LED light source that can
emit different colours just using one LED where it can be used for different place and
environment. This method can reduce cost for producing beautiful colour of light. First
of all it is a requirement to know about Pulse Width Modulation and microcontroller as
it is a method to be used during designing the RGB LED light source. This thesis
produces 13 beautiful colours which are red, green, blue, reddish orange, bluish green,
white, purple, pink, orange, light yellow, yellow, magenta and cyan. To produce those
colours, varying Pulse Width Modulation is needed for each pin of RGB LED using 8-
bit microcontroller. There are two switches that being used in this project which are
Switch A and Switch B. Switch is used to control the switch on and off the colourful
light that user wants.