FREE SHIPPING FOR ALL ORDERS OF RM150
  • Newsletter
  • Contact Us
  • FAQs

ONLINE COMPONENTS SDN.BHD

Login / Register
Wishlist
ONLINE COMPONENTS SDN.BHD
  • Home
  • About us
  • Components
    • Buzzer/Speaker
    • Connectors
    • Fans
    • LED
    • PCB
    • Relays
    • Resistor/ Rotary
    • Switches
    • Capacitor
  • Modules/Sensors
    • Accelerometer/ Gyro/ Magnestic Modules
    • Battery/Batt. Charger
    • Development Boards
    • Finger Print & Touch Sensors
    • LCD/Display Screen
    • Motors, Solenoids, Drivers And Accessories
    • Opto and Imaging
    • Power Supply/ Modules
    • Raspberry Products
    • Relay Modules
    • Robotic/ Car Chassis
    • Shock/ Tilt
    • SOLAR PRODUCTS
    • Temperature/ Humidity
    • Timer Modules
    • Tools/Equipments
    • Ultrasonic Sensor/ Module
    • Voltage/ Current Sensor
    • Water & Rain Sensors
    • Weight Sensors
    • Wire/ Wireless Communication Modules
  • Customer Service
    • FAQ
    • Privacy Policy
    • Terms & Condition
    • Contact us
  • PROMOTION
  • BESTSELLER
Menu
Click to enlarge
Home Modules/Sensors Opto and Imaging DIGITAL LIGHT INTENSITY BH1750FVI WITH I2C MODULE
GSM-GPRS-GPS SIM808 Module Login to see prices
Back to products
LDR SENSOR MODULE Login to see prices

DIGITAL LIGHT INTENSITY BH1750FVI WITH I2C MODULE

Login to see prices

Dimensions 32 × 15 cm
Add to wishlist
SKU: GY-30 Categories: Modules/Sensors, Opto and Imaging
Share:
  • Description
  • Reviews (0)
  • Shipping & Delivery
Description

GY-30 BH1750FVI Digital Light Sensor Module is a carrier board for light intensity sensor BH1750FVI. The range of the board is between 0lx and 65535lx. The board has built in AD converter and it has digital output. The board communicates via I2C protocol.

  • Specification: Chip: BH1750FVI
  • Power Supply: 3 – 5V
  • Light Range: 0 – 65535 lx
  • Output: I2C
  • Size(L x W): Approx. 30mm x 15mm
/*
  This is a simple code to test BH1750FVI Light senosr
  communicate using I2C Protocol
  this library enable 2 slave device address
  Main address  0x23
  secondary address 0x5C
  connect this sensor as following :
  VCC >>> 3.3V
  SDA >>> A4
  SCL >>> A5
  addr >> A3
  Gnd >>>Gnd

  Written By : Mohannad Rawashdeh
 
*/

// First define the library :

#include <BH1750FVI.h> // Sensor Library
#include <Wire.h> // I2C Library

BH1750FVI LightSensor;


void setup() {   // put your setup code here, to run once:
   Serial.begin(9600);
  LightSensor.begin();
  /*
Set the address for this sensor
you can use 2 different address
Device_Address_H "0x5C"
Device_Address_L "0x23"
you must connect Addr pin to A3 .
*/
  LightSensor.SetAddress(Device_Address_H);//Address 0x5C
// To adjust the slave on other address , uncomment this line
// lightMeter.SetAddress(Device_Address_L); //Address 0x5C
//-----------------------------------------------
  /*
   set the Working Mode for this sensor
   Select the following Mode:
    Continuous_H_resolution_Mode
    Continuous_H_resolution_Mode2
    Continuous_L_resolution_Mode
    OneTime_H_resolution_Mode
    OneTime_H_resolution_Mode2
    OneTime_L_resolution_Mode
   
    The data sheet recommanded To use Continuous_H_resolution_Mode
  */

  LightSensor.SetMode(Continuous_H_resolution_Mode);
 
  Serial.println("Running...");
}


void loop() {
  // put your main code here, to run repeatedly:
  uint16_t lux = LightSensor.GetLightIntensity();// Get Lux value
  Serial.print("Light: ");
  Serial.print(lux);
  Serial.println(" lux");
  delay(1000);
}
Reviews (0)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shipping & Delivery

Related products

Quick view
Add to wishlist

OPT3001 AMBIENT LIGHT SENSOR MODULE I2C INTENSITY

Modules/Sensors, Opto and Imaging
Login to see prices
Quick view
Add to wishlist

RELAY MODULE 4CH WITH H/L SELECTION

Modules/Sensors, Relay Modules
Login to see prices
Quick view
Add to wishlist

AUTOMATIC PHOTO SWITCH AC220V 10A

Modules/Sensors, Opto and Imaging
Login to see prices
Quick view
Add to wishlist

VIBRATION SHOCK SENSOR MODULE DIGITAL OUTPUT

Modules/Sensors, Shock/ Tilt
Login to see prices
Quick view
Add to wishlist

DHT22 TEMPERATURE & HUMIDITY MODULE

Modules/Sensors, Temperature/ Humidity
Login to see prices
Quick view
Add to wishlist

ARDUINO SENSOR 37-IN-1

Modules/Sensors, Accelerometer/ Gyro/ Magnestic Modules, Infra Red IR/ PIR Module, Relay Modules, Shock/ Tilt, Temperature/ Humidity, Water & Rain Sensors
Login to see prices
Quick view
Add to wishlist

RASPBERRY PI CAMERA 5MPIXEL V1.3

Modules/Sensors, Opto and Imaging, Raspberry Products
Login to see prices
Quick view
Add to wishlist

INFRA RED DISTANCE SENSOR DC5V 3-80CM

Modules/Sensors, Infra Red IR/ PIR Module
Login to see prices
oc-fs

Fast Shipping.

All orders delivered fast

oc-qp

Quality Products.

Products tested for quality

oc-sp

Secure Payments.

Pay online securely with ssl

oc-cs

Customer Support.

We answer all your questions

Official Online Component online store. Get the best quality components for your next project with us.

03-2141 0154

Online Components Sdn Bhd, No.38,
Jalan Landak, 55100 Pudu
  • Customer Support
    • Terms & Conditions
    • Privacy Policy
    • Returns & Refunds
    • Shipping Policy
    • FAQs
  • Sitemap
    • Home
    • About Us
    • Components
    • Modules/Sensors
    • Services
  • Useful Links
    • Account
    • Shop All
    • Wish List
    • Login/Register
    • Newsletter
ONLINE COMPONENT 2021 CREATED BY WEBMORE’S; PROJECT
  • Home
  • About us
  • Components
    • Connectors
    • Buzzer/Speaker
    • Fans
    • LED
    • PCB
    • Relays
    • Resistor/ Rotary
    • Switches
    • Capacitor
  • Modules/Sensors
    • Accelerometer/ Gyro/ Magnestic Modules
    • Battery/Batt. Charger
    • Development Boards
    • Finger Print & Touch Sensors
    • Gas Sensor/ Modules
    • LCD/Display Screen
    • Motors, Solenoids, Drivers And Accessories
    • Opto and Imaging
    • Power Supply/ Modules
    • Power Supply/ Modules
    • Raspberry Products
    • Relay Modules
    • Robotic/ Car Chassis
    • Robotic/ Car Chassis
    • Shock/ Tilt
    • SOLAR PRODUCTS
    • Temperature/ Humidity
    • Timer Modules
    • Tools/Equipments
    • Ultrasonic Sensor/ Module
    • Voltage/ Current Sensor
    • Water & Rain Sensors
    • Weight Sensors
    • Wire/ Wireless Communication Modules
  • Services
  • Promotion
  • Bestseller
  • Wishlist
  • Login / Register

Sign in

close

Lost your password?
Or login with
Facebook
Google

No account yet?

Create an Account
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
Accept