Skip to content

ESP32 project that reads light intensity from an LDR sensor and displays real-time data on a web interface.

Notifications You must be signed in to change notification settings

Eddieramirez29/esp32-ldr-web-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 LDR Web Monitor

A simple ESP32 project that reads light intensity from an LDR sensor and displays the data on a web interface in real time.

🔧 Features

  • Reads analog values from an LDR (photoresistor)
  • Serves a local web page using the ESP32's internal web server
  • Displays real-time light intensity data
  • Built with Arduino IDE

🧰 Hardware

  • ESP32 Dev Module
  • LDR (photoresistor)
  • 100kΩ potenciometer to calibrate (voltage divider)

💻 Software

  • Arduino IDE
  • ESP32 Core (version 3.0.7 recommended)

⚙️ Setup

  1. Connect the LDR and potenciometer(pull down) as a voltage divider to an analog pin (e.g., GPIO 32).
  2. Open the project in Arduino IDE.
  3. Select your ESP32 board and port.
  4. Upload the sketch.
  5. Open the Serial Monitor to get the IP address.
  6. Access that IP in your browser to view the web interface.

📸 Preview

image image image

📄 License

MIT License

About

ESP32 project that reads light intensity from an LDR sensor and displays real-time data on a web interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published