Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Photosensitive Module: Examples, Pinouts, and Specs

Image of Photosensitive Module
Cirkit Designer LogoDesign with Photosensitive Module in Cirkit Designer

Introduction

The Photosensitive Module (GL5528), manufactured by Open-Smart, is a device designed to detect light levels and convert them into an electrical signal. This module is based on a light-dependent resistor (LDR) and is widely used in applications such as automatic lighting systems, solar energy systems, and light-sensitive alarms. Its ability to sense ambient light makes it an essential component in projects requiring light intensity measurement or light-triggered automation.

Explore Projects Built with Photosensitive Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP8266 NodeMCU Controlled Environment Monitoring System with MQTT
Image of iot: A project utilizing Photosensitive Module in a practical application
This circuit features an ESP8266 NodeMCU microcontroller connected to a photosensitive sensor module for light intensity detection, a DHT11 sensor for temperature and humidity readings, and three LEDs with corresponding resistors. The microcontroller reads the analog value from the light sensor, digital signals from the DHT11 sensor, and controls the LEDs based on MQTT messages received over WiFi. The circuit is designed for environmental monitoring and remote control of the LEDs, likely for smart home applications.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Wi-Fi Controlled Laser Shooting Game with OLED Display
Image of 123: A project utilizing Photosensitive Module in a practical application
This circuit is a laser shooting game controlled by a PS3 controller, featuring an ESP32 microcontroller, two photosensitive sensors for light detection, and a motor driver to control two DC motors. The game includes an OLED display for score visualization, and a MOSFET to control an LED bulb, with power supplied by a 12V battery and regulated by a DC-DC step-down converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Solar-Powered LED Light with Battery Charging and Light Sensing
Image of ebt: A project utilizing Photosensitive Module in a practical application
This circuit is a solar-powered battery charging and LED lighting system. The solar cell charges a 18650 Li-ion battery through a TP4056 charging module, which also powers a 7805 voltage regulator to provide a stable 5V output. A photocell and MOSFET control the power to a high-power LED, allowing it to turn on or off based on ambient light conditions.
Cirkit Designer LogoOpen Project in Cirkit Designer
PIR Motion-Activated LED Light
Image of 0: A project utilizing Photosensitive Module in a practical application
This circuit is a simple motion-activated LED light system. The HC-SR505 Mini PIR Motion Sensing Module is powered by a 9V battery and detects motion, upon which it sends an output signal to turn on the red LED. The LED and the PIR sensor share a common ground with the battery, completing the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Photosensitive Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of iot: A project utilizing Photosensitive Module in a practical application
ESP8266 NodeMCU Controlled Environment Monitoring System with MQTT
This circuit features an ESP8266 NodeMCU microcontroller connected to a photosensitive sensor module for light intensity detection, a DHT11 sensor for temperature and humidity readings, and three LEDs with corresponding resistors. The microcontroller reads the analog value from the light sensor, digital signals from the DHT11 sensor, and controls the LEDs based on MQTT messages received over WiFi. The circuit is designed for environmental monitoring and remote control of the LEDs, likely for smart home applications.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 123: A project utilizing Photosensitive Module in a practical application
ESP32-Based Wi-Fi Controlled Laser Shooting Game with OLED Display
This circuit is a laser shooting game controlled by a PS3 controller, featuring an ESP32 microcontroller, two photosensitive sensors for light detection, and a motor driver to control two DC motors. The game includes an OLED display for score visualization, and a MOSFET to control an LED bulb, with power supplied by a 12V battery and regulated by a DC-DC step-down converter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ebt: A project utilizing Photosensitive Module in a practical application
Solar-Powered LED Light with Battery Charging and Light Sensing
This circuit is a solar-powered battery charging and LED lighting system. The solar cell charges a 18650 Li-ion battery through a TP4056 charging module, which also powers a 7805 voltage regulator to provide a stable 5V output. A photocell and MOSFET control the power to a high-power LED, allowing it to turn on or off based on ambient light conditions.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 0: A project utilizing Photosensitive Module in a practical application
PIR Motion-Activated LED Light
This circuit is a simple motion-activated LED light system. The HC-SR505 Mini PIR Motion Sensing Module is powered by a 9V battery and detects motion, upon which it sends an output signal to turn on the red LED. The LED and the PIR sensor share a common ground with the battery, completing the circuit.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Automatic streetlights and home lighting systems
  • Solar tracking systems
  • Light-sensitive alarms and security systems
  • Brightness adjustment in electronic displays
  • DIY electronics and Arduino projects

Technical Specifications

The following table outlines the key technical details of the Photosensitive Module (GL5528):

Parameter Specification
Manufacturer Open-Smart
Part ID GL5528
Operating Voltage 3.3V to 5V
Output Type Analog and Digital
Light Resistance Range 10 kΩ (bright light) to 1 MΩ (dark)
Response Time 20ms (rise) / 30ms (fall)
Operating Temperature -30°C to +70°C
Dimensions 30mm x 15mm x 10mm

Pin Configuration and Descriptions

The module has a 3-pin interface, as described in the table below:

Pin Name Description
1 VCC Power supply pin (3.3V to 5V)
2 GND Ground connection
3 OUT Output pin (provides analog or digital signal based
on light intensity)

Usage Instructions

How to Use the Photosensitive Module in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to the ground of your circuit.
  2. Read the Output:
    • For analog output, connect the OUT pin to an analog input pin of your microcontroller (e.g., Arduino).
    • For digital output, the module includes a potentiometer to adjust the light threshold. When the light intensity crosses this threshold, the OUT pin will output a HIGH or LOW signal.
  3. Adjust Sensitivity: Use the onboard potentiometer to set the desired light sensitivity threshold for digital output.

Important Considerations and Best Practices

  • Power Supply: Ensure the module is powered within its operating voltage range (3.3V to 5V) to avoid damage.
  • Placement: Place the module in an area where it can receive unobstructed light for accurate readings.
  • Analog vs. Digital Output: Use the analog output for precise light intensity measurements and the digital output for simple light/dark detection.
  • Avoid Noise: Use proper grounding and decoupling capacitors in your circuit to minimize electrical noise.

Example: Using the Photosensitive Module with Arduino UNO

Below is an example of how to connect and use the Photosensitive Module with an Arduino UNO to read light intensity:

// Define the analog pin connected to the module's OUT pin
const int sensorPin = A0; // Analog pin A0
int sensorValue = 0;      // Variable to store the sensor reading

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
}

void loop() {
  // Read the analog value from the sensor
  sensorValue = analogRead(sensorPin);

  // Print the sensor value to the Serial Monitor
  Serial.print("Light Intensity: ");
  Serial.println(sensorValue);

  delay(500); // Wait for 500ms before the next reading
}

Notes:

  • The sensorValue will range from 0 to 1023, corresponding to the light intensity detected by the module.
  • You can adjust the potentiometer on the module to fine-tune the digital output threshold.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output Signal:

    • Ensure the module is powered correctly (check VCC and GND connections).
    • Verify that the light source is within the module's detection range.
  2. Inconsistent Readings:

    • Check for electrical noise in the circuit and use decoupling capacitors if necessary.
    • Ensure the module is not exposed to sudden changes in light or shadows.
  3. Digital Output Not Triggering:

    • Adjust the potentiometer to set the correct light threshold.
    • Verify that the light intensity is above or below the set threshold.
  4. Analog Output Always at Maximum or Minimum:

    • Ensure the module is not placed in complete darkness or extremely bright light.
    • Check the connections to the analog input pin of the microcontroller.

FAQs

Q1: Can this module detect specific wavelengths of light?
A1: No, the GL5528 Photosensitive Module is designed to detect general light intensity and is not sensitive to specific wavelengths.

Q2: Can I use this module with a 3.3V microcontroller like ESP32?
A2: Yes, the module operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers.

Q3: How do I know if the module is working?
A3: You can test the module by connecting it to an Arduino and observing the analog readings or the digital output signal when exposed to varying light levels.

Q4: Can this module be used outdoors?
A4: While the module can operate in a wide temperature range, it is not waterproof. Use a protective enclosure for outdoor applications.

By following this documentation, you can effectively integrate the Photosensitive Module (GL5528) into your projects and troubleshoot any issues that arise.