In this projects 8 different colors are displayed with the use of a RGB LED. The microcontroller that is used is the ATMega8.
An RGB LED is a LED which has three LED's integrated in one packaging. These LED's have the colors red, green, and blue. Such a LED costs about 1 Euro. With these three colours you can mix to any colour. When using 8-bit PWM a number of 255 * 255 * 255 (= 16581375) combinations can be made, thus the LED can show +/- 16.777 million colours, and 256 different brightnesses. When all the three LED's are at full brightness the color will be white. When they are all off the color will be 'black' in the dark . In this projects 8 different colors are displayed, the colors are controlled by a potmeter. The microcontroller that is used is the ATMega8. See in the below table what colors can be displayed.
- Next >>