R-tist
WHAT IS SENSOR???
RGB




REDD5           BLUE
                       D3
        GREEN
         D6
   See from top to both Led .
   You will see black spot on one led.
   On another one you will see grey spot.
   The led consisting of black spot is the iR
    receiver (ir transister).
   Another one is ir emmiter.
   If you see only white spot then it is normal
    led.
   Ir sensor work on property of ir light that ir
    light absorbed by black surface and totally
    reflected by white surface.
   Ir led emit ir light which is reflected by
    surface is absorbed by ir transistor(ir
    receiver).
   Ir receiver work on property that when light
    fall on an transister on his base emitter resion
    than its CE current increases due to emition
    of electron.
   The ir receiver work on reverse biased.
   Ldr work on the principle of that when light
    on the metal its resistance decreases.
Program on variation of intensity of RGB using LDR sensor.
   int sec1=3;                void loop()
   int sec2=5;                {
   int sec3=6;                 sem` 1 21` =
   int temp=A3;                analogRead(temp);
   int sem;                
                                   analogWrite(3,sem);
   void setup()            
   {                              analogWrite(5,sem);
     pinMode(3, OUTPUT);   
     pinMode(5, OUTPUT);          analogWrite(6,sem);
     pinMode(6, OUTPUT);   
   }                          }
Day 2

Day 2

  • 1.
  • 2.
  • 3.
    RGB REDD5 BLUE D3 GREEN D6
  • 5.
    See from top to both Led .  You will see black spot on one led.  On another one you will see grey spot.  The led consisting of black spot is the iR receiver (ir transister).  Another one is ir emmiter.  If you see only white spot then it is normal led.
  • 7.
    Ir sensor work on property of ir light that ir light absorbed by black surface and totally reflected by white surface.  Ir led emit ir light which is reflected by surface is absorbed by ir transistor(ir receiver).  Ir receiver work on property that when light fall on an transister on his base emitter resion than its CE current increases due to emition of electron.
  • 8.
    The ir receiver work on reverse biased.
  • 9.
    Ldr work on the principle of that when light on the metal its resistance decreases.
  • 12.
    Program on variationof intensity of RGB using LDR sensor.
  • 13.
    int sec1=3;  void loop()  int sec2=5;  {  int sec3=6;  sem` 1 21` =  int temp=A3; analogRead(temp);  int sem;   analogWrite(3,sem);  void setup()   {  analogWrite(5,sem);  pinMode(3, OUTPUT);   pinMode(5, OUTPUT);  analogWrite(6,sem);  pinMode(6, OUTPUT);   }  }