Mini Photosensitive Module Light Sensor Switch with Photoresistance Grove Port Compatible with M5GO/FIRE ESP32
Description:
LIGHT is a light inten sity sensor unit with an adjustable photoresistor
A photoresistor is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light inten sity, and vice versa. It exhibits photoconductivity which make it possiable to detect the varies based on Voltage, and use a AD to convert the digital data.
We add some extra work to strengthen the circult, a Dual Differential Comparators LM393, compares the differntial voltage between the photoresistor and the varistor. It could offer larger and accuracy ran ge of light inten sity.
Product Features:
- 10K adjustable resistor
- Software Development Platform: , UIFlow(Blocky,Python)
- Two Le go-compatible holes
- Product Size: 32.2mm x 24.2mm x 8.5mm
- Product weight: 8.8g
Package Included:
- 1x LIGHT Unit
- 1x Grove Cable
Related Link:
EasyLoader
1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.
2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial
Example
1. for IDE
The code below is incomplete. To complete code, please click here.
2. UIFlow
To get complete code, please click here.
Schematic:
PinMap:
M5Core(GROVE B) | GPIO36 | GPIO26 | 5V | GND |
LIGHT Unit | AnalogSignal Pin |