ข้อมูล
น้ำหนัก
บาร์โค้ด
ลงสินค้า
อัพเดทล่าสุด
รายละเอียดสินค้า

GY-302 BH1750 เซ็นเซอร์ วัดความเข้มแสง Light Intensity Illumination Module



Digital light intensity detection

Model: GY-302

Size: 13.9mm X 18.5mm

Adopt ROHM original BH1750FVI chip

Power supply: 3-5v

Data range: 0-65535

Sensor built-in 16bit AD converter

Direct digital output, omitting complex calculations, omitting calibration

Does not distinguish between ambient light sources

Spectral characteristics close to visual sensitivity

High precision measurement of 1 lux for a wide range of brightness


Code:

/*

  Example of BH1750 library usage.

    VCC -> 3V3 or 5V

    GND -> GND

    SCL -> SCL (A5 on Arduino Uno, Leonardo, etc or 21 on Mega and Due, on esp8266 free selectable)

    SDA -> SDA (A4 on Arduino Uno, Leonardo, etc or 20 on Mega and Due, on esp8266 free selectable)

    ADD -> (not connected) or GND

*/

#include "Wire.h"

#include "BH1750.h"

BH1750 lightMeter;

void setup(){

  Serial.begin(9600);

  // Initialize the I2C bus (BH1750 library doesn't do this automatically)

  Wire.begin();

  // On esp8266 you can select SCL and SDA pins using Wire.begin(D4, D3);

  lightMeter.begin();

  Serial.println(F("BH1750 Test begin"));

}

void loop() {

  float lux = lightMeter.readLightLevel();

  Serial.print("Light: ");

  Serial.print(lux);

  Serial.println(" lx");

  delay(1000);

 

}


เงื่อนไขอื่นๆ
Tags

วิธีการชำระเงิน

บมจ. ธนาคารกรุงไทย สาขาโรงไฟฟ้าบางปะกง ออมทรัพย์
ธนาคารกรุงเทพ จำกัด (มหาชน) สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
บมจ. ธนาคารกรุงไทย สาขาบิ๊กซี ฉะเชิงเทรา 2 ออมทรัพย์
พร้อมเพย์ สาขา- -
Scan this!
สนธยา ใจผ่อง
063-xxxxxx-8
Accept All Banks | รับเงินได้จากทุกธนาคาร
พูดคุย-สอบถาม