Loading Events

« All Events

  • This event has passed.

RGB

April 30 @ 8:00 am - 5:00 pm

What is RGB?

  • RGB, short for Red Green Blue, is a color model used in digital imaging to represent colors on screens. It combines different intensities of red, green, and blue light to create various colors.

How to use RGB

  • Interior Lighting
  • Art Projects
  • Signage and Displays
  • Gaming
  • Stage Lighting
  • Automotive Lighting
  • Home Automation
  • Prototyping

Components Required:

  • Microcontroller (Arduino)
  • RGB
  • Jumper Wires
  • USB Cable

Working Interface:

  • The RGB LED is connected to the Arduino via jump wires on a breadboard. Arduino code, controls the LED’s colors based on input, like touch or proximity sensors

Example Code:

  • void setup()
  • {
  • pinMode(8,OUTPUT); // Red led pin
  • pinMode(9,OUTPUT); // Green led pin
  • pinMode(10,OUTPUT); // Blue led pin
  • }
  • void loop() {
  • digitalWrite(8,HIGH); // Red led ON
  • digitalWrite(9,LOW);  // Green led OFF
  • digitalWrite(10,LOW); // Blue led OFF
  • delay(1000);
  • digitalWrite(8,LOW);  // Red led ON
  • digitalWrite(9,HIGH);  // Green led OFF
  • digitalWrite(10,LOW);  // Blue led OFF
  • delay(1000);
  • digitalWrite(8,LOW);  // Red led ON
  • digitalWrite(9,LOW);  // Green led OFF
  • digitalWrite(10,HIGH); // Blue led OFF
  • delay(1000);
  • }

Click Here to Watch the video

 

Details

Date:
April 30
Time:
8:00 am - 5:00 pm
Event Category: