BH1750 Digital Light intensity Sensor Module (GY-302) [S085]
2) Sensor/CDS_Photocell 2016. 9. 8. 17:14BH1750 Digital Light intensity Sensor Module (GY-302) [S085]
https://www.youtube.com/watch?v=oekWwsUYKuE
*GitHub : https://github.com/rdiot/rdiot-s085.git
* Specs
Model: GY-302
Chip: BH1750FVI
Power supply :3-5V
Data output range resembles luminance from 0-65535 lux
I2C Interface
No external parts required
Dimensions: 13.9mm X 18.5mm
* Contents
- DataSheet : http://rohmfs.rohm.com/en/products/databook/datasheet/ic/sensor/light/bh1750fvi-e.pdf
- Library : https://github.com/claws/BH1750
- Connect
VCC ----- 5V(3.3V)
GND ----- GND
SCL ----- A5
SDA ----- A4
ADD ------ X
- Key Code
#include <BH1750.h>
BH1750 lightMeter;
lightMeter.begin();
uint16_t lux = lightMeter.readLightLevel();
lcd.print("Light=" + (String)lux + " lx ");
'2) Sensor > CDS_Photocell' 카테고리의 다른 글
Load CDS sensor type values into DB by calling server API [P001] (0) | 2016.09.08 |
---|---|
Auto On Off Photo Switch (AS-10-220) [S157] (0) | 2016.09.08 |
Photo Resistor Module (KY-018) [S002] (0) | 2016.09.08 |
Mini Photocell (FIT0180) [S001] (0) | 2016.09.08 |
CDS5MM~CDS20MM Value [S003~S006] (0) | 2016.09.08 |