Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Click on the arrow and follow us!

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Sensor 1 – Application of Photoresistor Sensor

1

Physical Sensor

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Physical Image 1

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Physical Image 2

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Circuit Diagram

2

Parameters and Uses

Parameters:

1. Uses a sensitive photoresistor sensor; 2. Comparator output, clean signal, good waveform, strong driving capability, over 15mA; 3. Equipped with adjustable potentiometer to adjust light detection brightness; 4. Operating voltage 3.3V-5V; 5. Output form: digital switch output (0 and 1); 6. Fixed bolt hole for easy installation; 7. Small PCB size: 3.2cm x 1.4cm; 8. Uses wide voltage LM393 comparator;

Uses:

Light brightness detection, light brightness sensor, intelligent car light-seeking module;

Module Usage Notes:

1. The photoresistor module is most sensitive to ambient light, generally used to detect the brightness of surrounding light, triggering microcontrollers or relay modules, etc.;2. When the ambient light brightness does not reach the set threshold, the DO output is high; when the ambient light brightness exceeds the set threshold, the DO output is low;3. The DO output can be directly connected to the microcontroller to detect high and low levels, thus detecting changes in ambient light brightness;4. The DO output can directly drive the relay module from this store, thus forming a light control switch.

3

Wiring Diagram and Other Images

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Wiring Diagram

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Uno Pin Diagram

4

Sample Code Download

Scan the download code:

Daily Learning! Arduino Zone: Application of Photoresistor Sensor

Download link:

https://pan.baidu.com/s/1VdAnvvX8rMwirR5g6zZFmw

Extraction code: 42ba

Leave a Comment

×