Skip to content

JayanthApagundi/LDR--Light-Depedent-Resistors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

LDR--Light-Depedent-Resistors

Whenever the LDR senses the light on to it the LED is off and when it does not sense the light the LED is switched on.

Software: Arduino IDE

Hardware required:

  1. Node MCU
  2. LDR module
  3. 10k ohm Resistor
  4. Jumper wires
  5. Bread Board

https://thingspeak.com/ - This is a website which is used for the analysis of the experiments done based on IOT(Internet of Things), Where in you can host your data or the output and examine the behaviour of the program to improve its performance.

Steps to Execute:

  1. Thing speak account and a channel created in it

  2. Open the Arduino IDE and go to Sketch >>Include library >>Manage libraries and download and install "Thingspeak" and go to Tools >>Board >>Board Manager and download the "node MCU" board if you are using it or else search for the board which you are using make sure it has wifi module imbuilt with it

  3. Set the board to "Generic ESP8266 Module" or see to which you are using

  4. Go to File >>Preferences and in URL section paste the following link: http://arduino.esp8266.com/stable/package_esp8266com_index.json

  5. When you create your channel in THINGSPEAK note your "channel number" and "API key" from your account and the channel your create and paste it in the code mentioned

  6. Connect to the respective WiFi and password mentioned in the code which your are using and compile the code.

Circuit:
Circuit

LDR(Light Dependent Resistors):
LDR

LED(Light Emitting Diode):
LDR

About

IOT - Internet Of Things

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages