Arduino - Photo Resistor Example - KY-018

by vandenbrande in Circuits > Arduino

6005 Views, 7 Favorites, 0 Comments

Arduino - Photo Resistor Example - KY-018

Arduino LOGO.jpg
Arduino - Photo Resistor Example - KY-018

Hello World!

I made another example for one of my sensors. Now we are using the KY-018 Photoresistor Sensor as a switch

to turn on light when shining some light on it, in the video i turn the light on with a laser, a flashlight, a candle, and a lighter, it doesnt matter what kind of light you use.

See the next step for the Schematic Code & parts list.

Schematic Code & Parts List.

KY-018 Photo Resistor Example_bb.png

Parts List.

  1. Arduino uno, I used the RobotDyn Uno.
  2. KY-019 1 channel Relay
  3. 1 Led of any color. I used blue.(Don't really need this)
  4. KY-018 Photoresistor sensor.
  5. Lamp + socket and power cable (optional) You can an add any device!

Good luck!