The Light Slot Sensor Module - 10mm (Manufacturer: TinyTronics, Part ID: SKU: 001785) is a compact and efficient sensor designed to detect light levels. Its small 10mm form factor makes it ideal for applications where space is limited. This module is commonly used in automation, robotics, and control systems to detect the presence or absence of light, enabling tasks such as object detection, line following, and environmental monitoring.
Below are the key technical details of the Light Slot Sensor Module - 10mm:
Parameter | Value |
---|---|
Operating Voltage | 3.3V - 5V |
Operating Current | ≤ 20mA |
Detection Range | 0mm - 10mm |
Output Type | Digital (High/Low) |
Response Time | ≤ 1ms |
Dimensions | 10mm x 10mm x 5mm |
Operating Temperature | -20°C to 70°C |
Connector Type | 3-pin header (VCC, GND, OUT) |
The module has a 3-pin header for easy interfacing. Below is the pinout:
Pin | Name | Description |
---|---|---|
1 | VCC | Power supply input (3.3V - 5V) |
2 | GND | Ground connection |
3 | OUT | Digital output pin (High when light is detected) |
VCC
pin to a 3.3V or 5V power source and the GND
pin to the ground of your circuit.OUT
pin to a digital input pin of your microcontroller or logic circuit.OUT
pin. It outputs a HIGH signal when light is detected and LOW when no light is present.Below is an example of how to connect and use the Light Slot Sensor Module with an Arduino UNO:
VCC
pin of the module to the 5V pin on the Arduino.GND
pin of the module to the GND pin on the Arduino.OUT
pin of the module to digital pin 2 on the Arduino.// Light Slot Sensor Module Example Code
// This code reads the output of the sensor and prints the status to the Serial Monitor.
const int sensorPin = 2; // Pin connected to the OUT pin of the sensor
int sensorState = 0; // Variable to store the sensor state
void setup() {
pinMode(sensorPin, INPUT); // Set the sensor pin as input
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
sensorState = digitalRead(sensorPin); // Read the sensor output
if (sensorState == HIGH) {
// If the sensor detects light, print "Light Detected"
Serial.println("Light Detected");
} else {
// If no light is detected, print "No Light Detected"
Serial.println("No Light Detected");
}
delay(500); // Wait for 500ms before reading again
}
No Output Signal
VCC
, GND
, and OUT
pins are properly connected.False Triggering
OUT
pin to stabilize the signal.Sensor Not Detecting Light
Overheating
Q1: Can this module detect infrared light?
A1: No, this module is designed to detect visible light. For infrared detection, use a dedicated IR sensor.
Q2: Can I use this module with a 3.3V microcontroller?
A2: Yes, the module operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V systems.
Q3: What is the maximum detection range of the sensor?
A3: The sensor can detect light or objects within a range of 0mm to 10mm.
Q4: Is the module waterproof?
A4: No, the module is not waterproof. Avoid exposing it to moisture or water.
By following this documentation, you can effectively integrate the Light Slot Sensor Module - 10mm into your projects and troubleshoot any issues that arise.