Light Intensity Meter Interfacing Arduino UNO

Light Intensity Meter Interfacing Arduino UNO

Light Intensity Meter Interfacing Arduino UNO
Light Intensity Meter Circuit

Light Intensity Meter Interfacing Arduino UNO

[otw_is sidebar=otw-sidebar-1]

In this article we will learn how to Interface Arduino UNO with Light Intensity Meter.
In the last post we will learn how to make RPM Counter Using Arduino UNO. You can visit our website,
I hope you appreciate my work, let’s discuss about today’s project.

 

 

 

Components:

  1. Arduino UNO
  2. LCD display
  3. I2C module
  4. LDR module
  5. Jumper wires

[otw_is sidebar=otw-sidebar-2]

Construction…

  • Connect VCC pin of LDR module with 5v pin of Arduino UNO
  • Connect GND pin of LDR module with GND pin of Arduino UNO
  • Connect signal pin of LDR module with A0 pin of Arduino UNO
  • Connect GND pin of LCD display with GND pin of Arduino UNO
  • Connect VCC pin of LCD display with 5v of Arduino UNO
  • Connect SDA pin of LCD display with A4 pin of Arduino UNO
  • Connect SCL pin of LCD display with A5 pin of Arduino UNO
  • Dress up the wires clean and Tidy

Hardware image of Intensity meter…

Light Intensity Meter hardware Image
Light Intensity Meter

Working…

A light intensity meter using an Arduino UNO can be used to measure the intensity of light in the surrounding environment and display the results on an LCD screen or transmit them to a computer for further analysis

[otw_is sidebar=otw-sidebar-3]

Applications…

  1. Home Automation
  2. Smart Lighting Control
  3. Artificial Lighting Quality Control
  4. Security Systems
  5. Energy Savings

Advantages…

  1. Affordability
  2. Ease of Use
  3. Customizability
  4. Real-time Monitoring
  5. Scalability

Program Images of Intensity meter…

Light Intensity Meter Interfacing Arduino UNO
Light Intensity Meter Circuit
Light Intensity Meter Interfacing Arduino UNO
Light Intensity Meter Circuit

Program code…

[dt_code]

#include <Wire.h>

#include <LiquidCrystal_I2C.h>

 

LiquidCrystal_I2C lcd(0x27, 16, 2);  // I2C address 0x27, 16×2 display

 

const int ldrPin = A0;  // Analog pin for the LDR

int lightIntensity = 0;

 

void setup() {

lcd.init();

lcd.backlight();

lcd.setCursor(0, 0);

lcd.print(“Light Intensity:”);

}

 

void loop() {

// Read the LDR sensor value

int sensorValue = analogRead(ldrPin);

 

// Map the sensor value to a display range (adjust as needed)

lightIntensity = map(sensorValue, 0, 1023, 0, 100);

 

// Display the light intensity on the LCD

lcd.setCursor(0, 1);

lcd.print(lightIntensity);

lcd.print(“%”);

 

delay(1000);  // Update the display every second

}

[/dt_code]