LDR Sensor Module (Light Dependent Resistor), LDR-MOD

LDR Sensor Module (Light Dependent Resistor), LDR-MOD

Kategori: Sensor Modules Tersedia
Boleh Dibeli di Laman Web Rasmi
Untuk maklumat lanjut, lawati laman web rasmi kami di jselectronics.com.my

Penerangan

Features:

Pin outs:


How to use:

  • Photosensitive resistor module most sensitive to environmental light intensity is generally used to detect the ambient brightness and light intensity.
  • Module light conditions or light intensity reach the set threshold, DO port output high, when the external ambient light intensity exceeds a set threshold, the module D0 output low;
  • Digital output D0 directly connected to the MCU, and detect high or low TTL, thereby detecting ambient light intensity changes;
  • Digital output module DO  can directly drive the relay module, which can be composed of a photoelectric switch;



Step 1: Introduction

LDR sensor module is used to detect the intensity of light. It is associated with both analog output pin and digital output pin labelled as AO and DO respectively on the board. When there is light, the resistance of LDR will become low according to the intensity of light. The greater the intensity of light, the lower the resistance of LDR. The sensor has a potentiometer knob that can be adjusted to change the sensitivity of LDR towards light.

Specification:

  • Input Voltage: DC 3.3V to 5V
  • Output: Analog and Digital
  • Sensitivity adjustable
 

Step 2: Pin Definition

Picture of Pin Definition
Picture of Pin Definition
 

Step 3: Sample Hardware Installation (Analog Output)

Picture of Sample Hardware Installation (Analog Output)

 

 

Step 4: Sample Source Code

void setup()

{

Serial.begin(9600);

}

void loop()

{

unsigned int AnalogValue;

AnalogValue = analogRead(A0);

Serial.println(AnalogValue);

}

You can also download the sample source code attached on top and upload it into Arduino. After that open ''Serial Monitor'' to see the result.

 

Lebih maklumat tentang Jit Sen Electronics Sdn Bhd
Jit Sen Electronics Sdn Bhd
Jit Sen Electronics Sdn Bhd Electronic Components Supplier Melaka, Electrical Parts Supply Malaysia, Semiconductors Supplies ~ Jit Sen Electronics Sdn Bhd