Your Shopping Cart is empty.

  • Light Sensor Module
    • i i
    • images/l/Geeetech_IMG_7663_1.jpg images/l/Geeetech_IMG_7663_1.jpg
    • images/l/Geeetech_IMG_7663_2.jpg images/l/Geeetech_IMG_7663_2.jpg
Light Sensor Module


Shipping Weight:55g

Quantity in stock:999988


Vote for specials.

1 votes


The Light Sensor brick Module is based on photoresistor, It measures the environment light intensity and input data to Arduino through the analog IO port of Sensor Shield. Great tool for light following robot, gardening system or home alert system.

Building interactive work is as easy as piling bricks, just plug it to Arduino Sensor Shield with a buckled cable, and make it looks professional and neat.



Demo Code:

int ledPin = 13;//choose pin for the LED
int inputPin = 2;//choose input pin (for Push Button)
int val = 0;// variable for reading the pin status


void setup() {
pinMode(ledPin, OUTPUT);// declare LED as output
pinMode(inputPin, INPUT);// declare magnetic switch as input


void loop(){
val = digitalRead(inputPin);// read input value
if (val == HIGH) {// check if the input is HIGH
digitalWrite(ledPin, LOW); // turn LED OFF
  } else {
digitalWrite(ledPin, HIGH);// turn LED ON




For more information of this product, please visit theWiki PAGE

login or register to add your words.