Project tutorial
Measure LUX with Arduino Using BH1750

Measure LUX with Arduino Using BH1750 © GPL3+

Measure your light intensity lux using this sensor and simple code.

  • 6,225 views
  • 0 comments
  • 4 respects

Components and supplies

A000066 iso both
Arduino UNO & Genuino UNO
×1
Adafruit bh1750 lux sensor
×1

Apps and online services

About this project

If you are looking to test a lux value of light with Arduino, then this project is suitable for you its easy and cool! Just connect the BH1750 module, upload the code, and run the serial monitor.

Code

codeC/C++
#include <Wire.h>
#include <BH1750.h>
 
 
BH1750 lightMeter;
 
 
void setup(){
  Serial.begin(9600);
  lightMeter.begin();
  Serial.println("Running...");
}
 
 
void loop() {
  uint16_t lux = lightMeter.readLightLevel();
  Serial.print("Light: ");
  Serial.print(lux);
  Serial.println(" lx");
  delay(1000);
}

Custom parts and enclosures

bh1750-master_IkmI0RZbUo.zip
bh1750-master_IkmI0RZbUo.zip

Schematics

lux_qo4Ni002ya.jpg
Lux qo4ni002ya
connections
Modulo i2c bh1750 sensor de luz ideal arduino pic etc 625 mec3740317867 012013 o jfsda1p85n

Comments

Similar projects you might like

Measure your reaction time

Project tutorial by Jayraj Desai

  • 28,798 views
  • 9 comments
  • 29 respects

How to Measure Air Quality on OpenSensors

Project tutorial by OpenSensors.io

  • 12,346 views
  • 8 comments
  • 60 respects

How to Use Modbus with Arduino

Project tutorial by hwhardsoft

  • 5,340 views
  • 2 comments
  • 14 respects

Up to Three RS485 Busses on One Arduino

Project tutorial by hwhardsoft

  • 3,454 views
  • 0 comments
  • 6 respects

Arduino DIY Light Meter With BH1750 Sensor

Project tutorial by Nick Koumaris

  • 1,343 views
  • 1 comment
  • 2 respects

Shooting Laser to Measure Distance

by remnis

  • 20,379 views
  • 3 comments
  • 14 respects
Add projectSign up / Login