SlideShare uma empresa Scribd logo
1 de 9
RGB LEDs
RGB : Reason behind colourful world
RGB : Red Green Blue
• When using digital equipment to capture, store, modify and view photographic images,
they must first be converted to a set of numbers in a process called digitization or
scanning.
• Digital images are composed of pixels
• Types of digital images a) Black & white (different shades of grey)
b) colour images (colored pixels)
‘‘Because of the way we perceive colors using three different sets of wavelengths, there
are three primary colors. ’’
COLOR IMAGES
• A color image is made up of pixels each of which holds three numbers corresponding to the
red, green, and blue levels of the image at a particular location.
• Red, green, and blue (sometimes referred to as RGB) are the primary colors for mixing
light—these so-called additive primary colors are different from the subtractive primary
colors used for mixing paints (cyan, magenta, and yellow).
• Any color can be created by mixing the correct amounts of red, green, and blue light.
• Assuming 256 levels for each primary, each color pixel can be stored in three bytes (24 bits)
of memory. This corresponds to roughly 16.7 million different possible colors.
• Note that for images of the same size, a black and white version will use three times less
memory than a color version.
RGB COLOR SPACE
• Most computer monitors work by specifying colors according to their red, Green, and blue
components.
• These three values define a 3-D color space call the RGB color space.
• The RGB color space can be visualized as a cube with red varying along one axis, green
varying along the second, and blue varying along the third.
• Every color that can be created by mixing red, green, and blue light is located somewhere
within the cube.
• The images show the outside of the RGB cube viewed from two different directions.
RGB LED
An RGB LED is actually three single color LEDs (Red, Green and Blue)
combined
into a single package. Because of this controlling it is very similar to
controlling a
single color LED. The one difference is the 3 LEDs share a common anode
(long lead (+)).
EMBEDDED SYSTEMS : RGB LED
• Programme:
DDRB=0xff;
RED : PORTB=0b00000001;
_delay_ms(1000);
GREEN : PORTB=0b00000100;
_delay_ms(1000);
BLUE : PORTB=0b00001000;
_delay_ms(1000);
PRESENTATION BY:
V SHYAM PRASADA RAO
AMITY INSTITUTE OF SPACE SCIENCE &
TECHNOLOGY
(vsprasad.10@gmail.com)

Mais conteúdo relacionado

Mais procurados

Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
PRADEEP
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
eddy royappa
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 

Mais procurados (20)

Interfacing adc
Interfacing adcInterfacing adc
Interfacing adc
 
UART
UARTUART
UART
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
Arduino
ArduinoArduino
Arduino
 
Introduction to arduino ppt main
Introduction to  arduino ppt mainIntroduction to  arduino ppt main
Introduction to arduino ppt main
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Switches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontrollerSwitches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontroller
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
Communication Protocols (UART, SPI,I2C)
Communication Protocols (UART, SPI,I2C)Communication Protocols (UART, SPI,I2C)
Communication Protocols (UART, SPI,I2C)
 
8051 (microcontroller)class1
8051 (microcontroller)class18051 (microcontroller)class1
8051 (microcontroller)class1
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Stepper motor-interfacing
Stepper motor-interfacingStepper motor-interfacing
Stepper motor-interfacing
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Logic families
Logic familiesLogic families
Logic families
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 

Semelhante a RGB LED _ shyam

Semelhante a RGB LED _ shyam (20)

Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptx
 
Color image processing
Color image processingColor image processing
Color image processing
 
RGB Color Model and Monitor Resolution
RGB Color Model and Monitor ResolutionRGB Color Model and Monitor Resolution
RGB Color Model and Monitor Resolution
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
 
Color
ColorColor
Color
 
Computer science Color image processing.pdf
Computer science Color image processing.pdfComputer science Color image processing.pdf
Computer science Color image processing.pdf
 
Lec-11_RGB and CMY color Model- complete.pptx
Lec-11_RGB and CMY color Model- complete.pptxLec-11_RGB and CMY color Model- complete.pptx
Lec-11_RGB and CMY color Model- complete.pptx
 
Digital image processing. PPT
Digital image processing. PPTDigital image processing. PPT
Digital image processing. PPT
 
CLASS 1.1.pptx
CLASS 1.1.pptxCLASS 1.1.pptx
CLASS 1.1.pptx
 
RGB Color.pptx
RGB Color.pptxRGB Color.pptx
RGB Color.pptx
 
Shayek 10
Shayek 10Shayek 10
Shayek 10
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
The Importance of Terminology and sRGB Uncertainty - Notes - 0.5
 
IJ-M&M08.ppt
IJ-M&M08.pptIJ-M&M08.ppt
IJ-M&M08.ppt
 
Id3115321536
Id3115321536Id3115321536
Id3115321536
 
Ch2
Ch2Ch2
Ch2
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

RGB LED _ shyam

  • 1. RGB LEDs RGB : Reason behind colourful world
  • 2. RGB : Red Green Blue • When using digital equipment to capture, store, modify and view photographic images, they must first be converted to a set of numbers in a process called digitization or scanning. • Digital images are composed of pixels • Types of digital images a) Black & white (different shades of grey) b) colour images (colored pixels) ‘‘Because of the way we perceive colors using three different sets of wavelengths, there are three primary colors. ’’
  • 3. COLOR IMAGES • A color image is made up of pixels each of which holds three numbers corresponding to the red, green, and blue levels of the image at a particular location. • Red, green, and blue (sometimes referred to as RGB) are the primary colors for mixing light—these so-called additive primary colors are different from the subtractive primary colors used for mixing paints (cyan, magenta, and yellow). • Any color can be created by mixing the correct amounts of red, green, and blue light. • Assuming 256 levels for each primary, each color pixel can be stored in three bytes (24 bits) of memory. This corresponds to roughly 16.7 million different possible colors. • Note that for images of the same size, a black and white version will use three times less memory than a color version.
  • 4. RGB COLOR SPACE • Most computer monitors work by specifying colors according to their red, Green, and blue components. • These three values define a 3-D color space call the RGB color space. • The RGB color space can be visualized as a cube with red varying along one axis, green varying along the second, and blue varying along the third. • Every color that can be created by mixing red, green, and blue light is located somewhere within the cube. • The images show the outside of the RGB cube viewed from two different directions.
  • 5. RGB LED An RGB LED is actually three single color LEDs (Red, Green and Blue) combined into a single package. Because of this controlling it is very similar to controlling a single color LED. The one difference is the 3 LEDs share a common anode (long lead (+)).
  • 6.
  • 7.
  • 8. EMBEDDED SYSTEMS : RGB LED • Programme: DDRB=0xff; RED : PORTB=0b00000001; _delay_ms(1000); GREEN : PORTB=0b00000100; _delay_ms(1000); BLUE : PORTB=0b00001000; _delay_ms(1000);
  • 9. PRESENTATION BY: V SHYAM PRASADA RAO AMITY INSTITUTE OF SPACE SCIENCE & TECHNOLOGY (vsprasad.10@gmail.com)