ROSANNAPAPINI.IT ≡ Accessories Circuitoimpreso Kits Educativos Amplifier
  • Light

  • KY-018 PHOTORESISTOR MODULE

KY-018 PHOTORESISTOR MODULE

$16.2 $31.1
The KY-018 Pho­tore­sis­tor mod­ule is used to mea­sure light inten­si­ty. The resis­tance will decrease in the pres­ence of light and increase in the absence of it. The out­put is ana­log and deter­mines the inten­si­ty of light.Com­pat­i­ble with many pop­u­lar micro­con­trollers like Arduino, ESP32 and oth­ers.KY-018 SPECIFICATIONSThis mod­ule con­sists of a pho­tore­sis­tor, a 10 kΩ in-line resis­tor and 3 male head­er pins.Oper­at­ing Volt­age3.3V ~ 5VOut­put TypeAna­logCONNECTION DIAGRAMCon­nect the Pow­er line (mid­dle) and ground (-) to 5 and GND respec­tive­ly. Con­nect sig­nal (S) to pin A2 on the Arduino. KY-018ArduinoSPin A2mid­dle 5V–GNDKY-018 ARDUINO CODEThe fol­low­ing Arduino sketch will out­put read­ings from the pho­tore­sis­tor, cov­er the mod­ule with your hand to pre­vent light on it and the out­put val­ues will be low, point a light to the sen­sor and the val­ues will be high.Arduino int sensorPin = 2; //define analog pin 2 int value = 0; void setup() { Serial.begin(9600); } void loop() { value = analogRead(sensorPin); Serial.println(value, DEC); // light intensity // high values for bright environment // low values for dark environment delay(100); }1234567891011121314int sen­sor­Pin = 2; //define ana­log pin 2int val­ue = 0;  void set­up() { Ser­i­al.begin(9600); }  void loop() { val­ue = analo­gRead(sen­sor­Pin); Ser­i­al.print­ln(val­ue, DEC); // light inten­si­ty // high val­ues for bright envi­ron­ment // low val­ues for dark envi­ron­ment delay(100); } DOWNLOADSFritz­ing Part: KY-018 Pho­tore­sis­tor Mod­ule.Fritz­ing Offi­cial Site.
Light

Light

  • Analog UV Light Sensor Breakout — GUVA-S12SD
    $34.2 $52.33
  • TSL2561 Digital Luminosity/Lux/Light Sensor Breakout
    $41.4 $60.03
  • TEMT6000 Ambient Light Sensor Module — CJMCU
    $24.3 $46.17
  • Mini Photocell — LDR Light Sensor
    $11.05 $19.01
  • Photoresistance Sensor Module — LDR Light Sensor
    $17.1 $30.1
  • Photocell Street Light Control Switch Auto On/Off 220V
    $35.1 $68.44
  • RGB Color Sensor with IR filter and White LED — TCS34725
    $34.2 $58.82
  • TCS230 Color Recognition
    $33.3 $47.29
  • BH1750FVI Digital Light Intensity Illumination Sensor
    $34.2 $41.04
  • KY-018 PHOTORESISTOR MODULE
    $16.2 $31.1

© 2026 - ROSANNAPAPINI.IT