Sale!

Photosensitive brightness resistance sensor module Light intensity detect New For Arduino

$0.73

9718 in stock

SKU: 2255799917481632 Category:

Description

  • Brand Name: Si Tai&SH
  • Origin: Mainland China
  • Usage: Ray Sensor
  • Material: Polymer
  • Type: Optical-Electronics Sensor
  • Output: Switching Transducer
  • Theory: Hall Sensor
  • Model Number: hotosensitive brightness resistance sensor module
  • is_customized: Yes
  • Output: Analog Sensor
  • Theory: Optical Sensor

 

The module features:
1, using sensitive type photosensitive resistance sensor
2, the comparator output, signal clean, good waveform, driving ability is strong, for more than 15 ma.
3, with adjustable potentiometer can detect light brightness adjustment
4, the working voltage of 3.3 V to 5 V
5, the output form: digital switch output (0 and 1)
6, has a fixed bolt hole, convenient installation
7, small board PCB size: 3.2 cm x 1.4 cm
8, using the LM393 wide voltage comparator
Module instructions
1, the photosensitive resistance module’s most sensitive to ambient light, generally used to detect the environment around the brightness of the light, or MCU trigger relay module, etc.;
2, module in the environment light intensity short of setting threshold, output high level DO end, when the environment light intensity more than set threshold, output DO low level;
3, the DO output can be attached directly to the single chip microcomputer, through single chip microcomputer to detect the high and low level, thus to detect the environment light intensity change;
4, the DO output can be directly driven our relay module, which can form a light-operated switch.

The wiring diagram:

Source code:

 
Aduino test program for DO connection (for example) :
 

Aduino test program for DO connection (for example) :

 
 
Int Led = 13; / / define LED interface
 
Int buttonpin = 3; / / define the photosensitive resistance sensor interface
 
Int val. / / define digital variable val
 
Void setup ()
 
{
 
PinMode (Led, the OUTPUT); / / define the LED for the output interface
 
PinMode (buttonpin, INPUT); / / define photosensitive resistance sensor as the input interface
 
}
 
Void loop ()
 
{
 
Val = digitalRead (buttonpin); / / to assign the value of digital interface 3 read val
 
If (val = = LOW) / / when the photosensitive resistance sensors have a signal, the LED light
 
{
 
DigitalWrite (Led, HIGH);
 
}
 
The else
 
{
 
DigitalWrite (Led, LOW);
 
}
 
}
 
 
 
}
If (RI)
{
The date = SBUF; / / microcontroller to accept
SBUF = date; / / microcontroller send
RI = 0;

Reviews

There are no reviews yet.

Be the first to review “Photosensitive brightness resistance sensor module Light intensity detect New For Arduino”
(0)