SlideShare a Scribd company logo
1 of 14
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

More Related Content

Similar to Day 2

Fire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotFire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotPalkit Jain
 
line following robot
line following robotline following robot
line following robotRehnaz Razvi
 
Infrared_Sensors.pptx
Infrared_Sensors.pptxInfrared_Sensors.pptx
Infrared_Sensors.pptx9731735920
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensorHimani Harbola
 
Lathe Spindle Sensor
Lathe Spindle SensorLathe Spindle Sensor
Lathe Spindle SensorJoeCritt
 
Arduino severinomanual2
Arduino severinomanual2Arduino severinomanual2
Arduino severinomanual2wircorp
 
Infrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working PrincipleInfrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working Principleelprocus
 
Electronz_Chapter_4.pptx
Electronz_Chapter_4.pptxElectronz_Chapter_4.pptx
Electronz_Chapter_4.pptxMokete5
 
An Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded SystemAn Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded SystemPeeyush Sahu CAPM®
 

Similar to Day 2 (14)

Fire Detection & Path Deviation Robot
Fire Detection & Path Deviation RobotFire Detection & Path Deviation Robot
Fire Detection & Path Deviation Robot
 
Measurements upload
Measurements uploadMeasurements upload
Measurements upload
 
ir sensor.docx
ir sensor.docxir sensor.docx
ir sensor.docx
 
line following robot
line following robotline following robot
line following robot
 
Infrared_Sensors.pptx
Infrared_Sensors.pptxInfrared_Sensors.pptx
Infrared_Sensors.pptx
 
Energy saving using pir sensor
Energy saving using pir sensorEnergy saving using pir sensor
Energy saving using pir sensor
 
Lathe Spindle Sensor
Lathe Spindle SensorLathe Spindle Sensor
Lathe Spindle Sensor
 
Arduino severinomanual2
Arduino severinomanual2Arduino severinomanual2
Arduino severinomanual2
 
Infrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working PrincipleInfrared IR Sensor Circuit Diagram and Working Principle
Infrared IR Sensor Circuit Diagram and Working Principle
 
Electronz_Chapter_4.pptx
Electronz_Chapter_4.pptxElectronz_Chapter_4.pptx
Electronz_Chapter_4.pptx
 
An Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded SystemAn Introduction to Robotics and Embedded System
An Introduction to Robotics and Embedded System
 
Basic Sensors
Basic Sensors Basic Sensors
Basic Sensors
 
Arduino
ArduinoArduino
Arduino
 
EEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdfEEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdf
 

More from Atul Uttam

More from Atul Uttam (12)

Sms based patient report from remote place1
Sms based patient report from remote place1Sms based patient report from remote place1
Sms based patient report from remote place1
 
Rfid
RfidRfid
Rfid
 
Dtmf
DtmfDtmf
Dtmf
 
Max 232
Max 232Max 232
Max 232
 
Din 4
Din 4Din 4
Din 4
 
Motor driver
Motor driverMotor driver
Motor driver
 
Din 4
Din 4Din 4
Din 4
 
Rgb led strip tutorial
Rgb led strip tutorialRgb led strip tutorial
Rgb led strip tutorial
 
Lm35
Lm35Lm35
Lm35
 
Sharp sensor
Sharp sensorSharp sensor
Sharp sensor
 
Led program
Led programLed program
Led program
 
Arduino
ArduinoArduino
Arduino
 

Day 2

  • 3. RGB REDD5 BLUE D3 GREEN D6
  • 4.
  • 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.
  • 6.
  • 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.
  • 10.
  • 11.
  • 12. Program on variation of 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);   }  }