Support: [email protected]
More Views

The light-sensitive photodiode module detects the brightness of the light detection module smart car



Quick Overview

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



Product Details

Detecting light intensity, light intensity sensors, directional, only the inductive sensor in front of the light source for the light to find
Module Features:
1 can detect the brightness and intensity of the ambient light?Compared with photosensitive resistance, directionality, can sense the direction of the light source fixed?
2 adjustable sensitivity?The blue digital potentiometer adjustment?
3 Operating Voltage 3.3V-5V
4 digital switching output?0 and 1?
5 has a fixed bolt hole for easy installation
6 small PCB board size: 3.2cm * 1.4cm
Instructions for use
1 photodiode module ambient light intensity of the most sensitive, generally used to detect ambient brightness and intensity, can be common with the sensor module photoresistor In most cases, the difference between the two is that the photodiode module direction, can perceive a light source fixed direction.
2 module in conditions without light or light intensity not reach the threshold value, DO port output high, when the ambient light intensity exceeds the set threshold, the module D0 output low;
3 small board digital output D0 can be directly connected to the microcontroller through the microcontroller to detect high and low, thereby detecting the light intensity changes in the environment;
4 small board digital output DO OUR relay module can directly drive, which can be composed of a photoelectric switch ;


This series module ducts are negative Appearance



duct structure and wiring diagram



Open circuit diagrams, need friends can refer to the figure



SCM test cedure

#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;




Related Images

Additional Information

SKU CC1212130020
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