Arduino Uno Light Sensor

The BH1750 uses photodiodes to convert light into an electrical signal, which is then processed and transmitted via I2C to a microcontroller (like the Arduino Uno).

It allows for easy integration and fast readings, making it popular in DIY electronics and prototyping.

Components Needed

Block Diagram

Hardware Wiring Explanation:

Software (Arduino IDE):

Open the Arduino IDE on your computer.

Write or paste the provided program into the IDE.

Select the correct board and port in the Arduino IDE under the Tools menu.

The BH1750, you can use the BH1750 library. You can install it via the Arduino Library Manager:

Go to Sketch

Upload the program to the Arduino.

Project Operation

Open the Serial Monitor (set to 9600 baud).

You should see the light intensity values displayed, updating every second.

Applications

Automatic lighting systems

Smart homes and IoT devices

Weather stations

Photography and cinematography lighting