Getting Started with Light Sensor Module (SN-LIGHT-MOD)

Photosensitive resistor module(SN-LIGHT-MOD) is most sensitive to environmental light intensity. This SN-LIGHT-MOD is generally used to detect the ambient brightness and light intensity.This tutorial will show you the basic operation on how to use this sensor.

Last Updated on 6 July 2017
This article is written by internship student Tian Fu Loke


SN-LIGHT-MOD is a photosensitive resistor module, suitable to detect environmental light intensity and ambient brightness. Its sensitivity can be tuned with an on board potentiometer, where turning it clockwise will increase the sensitivity and increase the detection range.

FEATURES of Light Sensor Module (SN-LIGHT-MOD)

  • Comes with a high-quality light dependent resistor (LDR).
  • Equipped with an on-board potentiometer to adjust light brightness threshold.
  •  Digital output
  • Fixed bolt hole for convenient installation
  • Uses LM393 wide range voltage comparator
  • LED indicator – ON when ambient light exceeds threshold
  • Operating Voltage is 3.3-5 V
  • Dimensions: 3.2cm x 1.4cm


To introduce the basic steps on how to use SN-LIGHT-MOD with Arduino UNO to detect the light brightness in the environment and decide to switch OFF or ON light.



Arduino IDE


Set up your hardware based on the picture below (Analog and Digital pin assignment may vary according to your needs.)


int ldrPin = 7;
int ledPin= 12;
int val = 0;
void setup() {
  pinMode(ldrPin, INPUT);
  pinMode(ledPin, OUTPUT);
void loop() {
  int val = digitalRead(ldrPin);
  if(val == HIGH ){
    digitalWrite(ledPin, HIGH);
    Serial.println("LED ON");
    digitalWrite(ledPin, LOW);
    Serial.println("LED OFF");


Note: For further inquiry, please visit our technical forum as we seldom check the comment here. ?

6 thoughts on “Getting Started with Light Sensor Module (SN-LIGHT-MOD)”

  1. Hi

    Please, Can You share me the fritzing part of the light sensor module?

    Thanks, Benny

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

BLTouch Installation for Ender 3 with 32-bit V4.2.2 Board
Pick and Send Random Meal’s Option and Locations through Telegram Bot Using Grove WiFi 8266 on micro:bit
DIY Automated Vacuum Cleaner Using REKA:BIT With Micro:bit
Rainbow Spark in Mini House using Maker Uno.
TinyML on Arduino using Edge Impulse
Tutorials of Cytron Technologies Scroll to Top