Support: [email protected]
More Views

The light sensor module photoresistor module photosensitive light detector module

CC1212125413

Available

Quick Overview

Seller Name : Mod N Shields
Best Quality Wholesale Price
Rs44.00
Cash-On-Delivery: Not Available for this product

OR

Details

Product Details

 light intensity, light intensity sensors, optical module smart car hunt
Module Features:
1, the use of sensitive photoresistor type sensor
2, the comparator output signals clean, good waveform, driving ability, than 15mA.
3 with adjustable potentiometer to adjust the brightness of the light detected
4, the working voltage of 3.3V-5V
5, the output format: Digital switching output 0 and 1
6, a fixed bolt hole for easy installation
7, small PCB board size: 3.2cm x 1.4cm
8, using a wide voltage comparator LM393
Module Description
1, ambient light module photoresistor most sensitive, generally used to detect the brightness of ambient light, single-chip trigger or relay module;
2, the module when the ambient light brightness of less than the threshold value, DO-side output high, when the ambient light level exceeds the set threshold, DO terminal output low;
3, DO output can be directly connected to the microcontroller through the microcontroller to detect high and low, thereby detecting the brightness of ambient light changes;
4, DO output of the relay module can directly drive the shop, which can be composed of a light control switch.

This series module products are negative Appearance

 

 

Product structure and wiring diagram

 

 

Open circuit diagrams,

 

SCM test procedure


#include reg52.h
unsigned char date;
#define uchar unsigned char
#define uint unsigned int
sbit key1 = P0 ^ 1;

 


/ * Function declaration ---------------------------------------------- - * /
void delay (uint z);
void Initial_com (void);

// **************************** ***********

/ *
************************************************** ******************************
** Function name: delay (uint z)
** Function: Delay function
************************************************** ******************************
* /
void delay (uint z)
(
uint i, j;
for (i = z; i0; i--)
for (j = 110; j0; j--);
)


// ************************************************************

// ***** Serial port initialization function ***********

// ************************************************************
void Initial_com (void)
(
EA = 1; // open the global interrupt
ES = 1; // allow the serial port interrupt
ET1 = 1; // allow the timer interrupt T1
TMOD = 0x20; // timer T1, an interrupt is generated baud rate in Mode 2
PCON = 0x00; // SMOD = 0
SCON = 0x50; // controlled by a timer mode 1
TH1 = 0xfd; // set the baud rate to 9600
TL1 = 0xfd;
TR1 = 1; // start timer T1 running control bit

)

 


// ************************************************************
// Main function ********* **********
// ************************************************************
main ()
(
Initial_com ();
while (1)
(

if (key1 == 0)
(
delay (); // jitter elimination
if (key1 == 0) // acknowledgment triggered
(
SBUF = 0X01;
delay (200);


)

)

if (RI)
(
date = SBUF; // MCU accepted
SBUF = date; // send microcontroller
RI = 0;
)


)
)

 
 
For Dupont line, please click the following link to join the shopping cart, then click to buy

##2##


Related Images









Additional Information

SKU CC1212125413
Cash on Delivery No

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

Don't Miss Out

Stay up-to-date with the latest news, hottest trends and new arrivals direct to your inbox