Sei sulla pagina 1di 11

By: Akanksha & Anu 2109 & 2077

INTRODUCTION
The RGB color model
an additive color model red, green and blue light is added in various ways to reproduce a broad array of colors name RGB comes from the initials of the three additive primary colors RED, GREEN and BLUE main purpose is for sensing and display of images in electronic systems, such as televisions and computers also been used in conventional photography

WHATS IT ALL ABOUT


indicates how much of each of the red, green and blue component is included in incident light if all the components are at zero the result is black if all are at maximum, the result is the brightest white component values are stored as integer in the range 0 to 255 the range may be represented as either decimal or hexadecimal numbers.

APPARATUS REQUIRED
1. Microprocessor 8085 (Dyna) 2. 26 Pin Female to Female FRC Cable 3. 26 Pin FRC Male Connector 4. Power Supply ( 5V, 12V,grnd) 5. PCB (Printed Circuit Board) 6. ICs: ADC 0809, CD 4047, LM 324 (with bases) 7. Resistors (100 ohms, 10, 22 and 47 kilo ohms) 8. Capacitors (10 pico farads) 9. Pin Diodes (BPW 32) 10. Light Source 11. Ribbon Cable (connecting wires) 12. Soldering Iron (with stand) 13. Soldering Wire and Flux

8085 MICROPROCESSOR
Microprocessor is a multipurpose, 8085 uP: 8-bit uP has 64K memory 40 pins requires single +5V supply operate with 3MHz single phase clock. instructions are written in hexadecimal code and entered in single board microcomputers using hex keys

programmable, clock driven, register based electronic device

8255A PROGRAMMABLE PERIPHERAL INTERFACE


24 input/output pins 8 data lines (D0 - D7) 2 address lines A1 and A0 A1 A0 Function 0 0 Port A 0 1 Port B 1 0 Port C 1 1 Control Register 6 pins are: reset, Vcc, grnd, R/W, control signal

CD 4047

LM 324

LM 324

RED A 98H

X A 01H

FLOWCHART
START SP C700 RED BA GREEN

OUT B A 80H

OUT CW A 00H

OUT C A 00H

OUT B

OUT B A 00H

OUT B A 00H

IN A CA RET

BLUE
DA STOP

OUT B A 40H

OUT C

IN C AA.80H

OUT B A 00H IS A=8 0?YES A 00H X NO

OUT C

CONCLUSION
The hardware system together with the software instructions shows successful execution of desired operation
The microprocessor successfully shows the hexadecimal values of Red, Green and Blue color components present in the incident light

APPLICATIONS
The RGB model is widely used: for display of colors on CRT, in LCD, plasma display or LED display such as a television, a computers monitor in video electronics industry in image scanners in framebuffer (a digital device for computers which stores data in video memory)

LIMITATIONS
encounters the problem of distance between the light sources and pin diodes as when light source is much closer to diodes, it focuses light on any one of the three diodes gives undesired results with high intensity lights like the sunlight

Potrebbero piacerti anche