Module Description
1 can detect the ambient brightness and light intensity (compared with photosensitive resistance, better directionality, can sense light fixed direction)
2 adjustable sensitivity (shown in blue digital potentiometer adjustment)
3 Operating Voltage 3.3V-5V
5 outputs an analog voltage output in the form of a
b digital switching output (0 and 1)
6 has a fixed bolt hole for easy installation
7 small board PCB size: 3cm * 1.6cm
Description Module Interface (4-wire)
1 VCC 3.3V-5V external voltage (can be directly connected to the 5v and 3.3v microcontroller MCU)
2 GND External GND
3 DO small board digital output interface (0 and 1)
4 AO small plates analog output interface
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 better 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;
5 small plates AO analog output module can be connected and the shop AD, by the AD converter, you can get a more accurate ambient light intensity value;
Test Description
By using our 51 Boards and photodiode module test
Wiring instructions:
Module development board connected to VCC VCC
GND GND connection module development board
Connect the VCC and GND, module power indicator lights
The module is placed at the light, adjust the blue panel potentiometer until the indicator light switch plate, then hands over a photodiode module indicator will switch off. The hands off, then switch indicator will light up to the state. This phenomenon is described, the light source can trigger module, so that the switch indicator lights.
Further information on the program which comes with a 51 for detecting photodiode module digital interface D0 high and low
Specifically described as follows:
wiring:
Module development board connected to VCC VCC
GND GND connection module development board
D0 module development board connected to P0.1
SCM: STC89C52
Serial port to send data baud rate: 9600
Phenomenon: a light source module is triggered, serial keep sending 01, while switch indicator light;
No light trigger module, serial port does not transmit data while switching lights off.