Skip to product information
1 of 5

vendor-unknown

Make a IOT LDR Alarm circuit using LDR module and NodeMCU ESP8266-12E Wi-Fi Module - KT571

Make a IOT LDR Alarm circuit using LDR module and NodeMCU ESP8266-12E Wi-Fi Module - KT571

SKU:KT571

Low stock: 7 left

Regular price Rs. 1,199.00
Regular price Sale price Rs. 1,199.00
Sale Sold out
Shipping calculated at checkout.

For refund/return/replacement, call us at +91 95995 94524 For bulk and B2B enquiries kindly mail us at support@rees52.com

View full details

Introduction


Introduction

In this project, we will design an IOT based LDR alarm circuit using Node MCU ESP8266-12E Wi-Fi Board and LDR module. When the value exceeds above the set value, alarm will start ringing.

HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE 1.8.10 (programmable platform for Arduino)

Click To Download: https://www.arduino.cc/en/Main/Software

SPECIFICATIONS

NodeMCU ESP8266 CP2102 NodeMCU WIFI Serial Wireless Module

The development board equips the ESP-12E module containing ESP8266 chip having Tensilica Xtensa® 32-bit LX106 RISC microprocessor which operates at 80 to 160 MHz adjustable clock frequency and supports RTOS.

  • Operating Voltage: 2.5V to 3.6V
  • On-board 3.3V 600mA regulator
  • 80mA Operating Current
  • 20 µA during Sleep Mode
  • ESP8266 CP2102 NodeMCU LUA ESP-12E WIFI Serial Wireless Module
  • Built-in Micro-USB, with flash and reset switches, easy to program
  • Full I/O port and Wireless 802.11 supported, direct download no need to reset
  • Arduino compatible works great with the latest Arduino IDE/Mongoose IoT/Micro python


WARNING

The ESP8266 requires a 3.3V power supply and 3.3V logic levels for communication. The GPIO pins are not 5V-tolerant! If you want to interface the board with 5V (or higher) components, you’ll need to do some level shifting.

LDR Module

The Light Dependent Resistor (LDR) is just another special type of Resistor and hence has no polarity

  • Operating Voltage: 3.3V to 5V DC
  • Operating Current: 15ma
  • Output Digital - 0V to 5V, Adjustable trigger level from preset
  • Output Analog - 0V to 5V based on light falling on the LDR

Pin details

  • VCC = 3.3V to 5V DC
  • GND = Ground
  • S = Output

CIRCUIT CONNECTION

  • Connect the “A0 (Signal)” pin of the LDR module to the “A0” pin of NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect the “GND” pin of the LDR module to Gnd pin of NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect +5v pin of LDR module to 3.3v pin of NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect the LED ground pin to the GND pin of the NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect LED VCC to D2(GPIO4) pin of NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect Buzzer Gnd to Gnd pin of NodeMCU ESP8266-12e Wi-Fi Module.
  • Connect Buzzer Positive to D1 (GPIO5) pin of NodeMCU ESP8266-12e Wi-Fi Module.

CODE

Click to see the code

https://drive.google.com/open?id=1nWeHuBT6Nx8ZkdWkzVNa4cabqisnA5Eh

WORKING AND OUTPUT

Welcome to the IoT based project in which we are using an LDR Module using the ESP8266-12E wifi module. When Light falls upon an LDR Module and exceeds the set value in the code then the buzzer will start beeping.

Click to watch the tutorial

For more tutorials subscribe our channel REES52 on YouTube

https://www.youtube.com/channel/UCKuJ1KCjJGat7PrdAcWtu5g