What is Arduino?

Arduino is an open source hardware and software company , project and user community that designs and manufactures single – board microcontroller kits for building digital devices. Using we can built many prototypes like door-lock system, bluetooth controlled cars, agriculture system etc.

Smart SunLight detection using Arduino

In our daily technological advancements we should utilize the renewable sources like sun ,wind, water etc. Particularly for the solar energy the operations and applications are huge. For the applications of solar energy we should monitor and optimize the solar powered systems using these types of embedded systems. So in here we will use Arduino ,LDR in this embedded project .In the description below we will get a complete idea of how does this system works ,what are the major advantages, disadvantages ,How does each component works with detailed diagrams and simulations.

Table of Content

  • What is Smart Sun Light Detection?
  • Components Required for Smart Sun-Light Detection
  • Working of Smart SunLight Detection using Arduino
  • Pin Connections
  • Program
  • Simulation
  • Output
  • Advantages
  • Disadvantages
  • Conclusion
  • Frequently Asked Questions

Similar Reads

What is Smart Sun Light Detection?

The purpose of Smart Sunlight detection is monitoring ,analyzing the Sunlight using technology and based on that we will apply changes in our life like decreasing or increasing the intensity of bulbs , changing speed of fans ,adjusting the thermostat in our homes etc. We can also make the water flow into the farms using this system automatically. Without intervening of any humans this system will process the sunlight data and take actions like turning on the bulb ,buzzer in this system ....

What is Arduino?

Arduino is an open source hardware and software company , project and user community that designs and manufactures single – board microcontroller kits for building digital devices. Using we can built many prototypes like door-lock system, bluetooth controlled cars, agriculture system etc....

What is Light Detecting sensor?

In this project the importance of LDR is very important as the intensity of sunlight is required. It is crucial in Horticulture and Indoor Farming ( control lighting conditions for the cultivation of crops),solar tracking systems in renewable energy installations, photography and film production, aquariums(maintaining the right light levels is vital for the health of aquatic life) etc....

Components Required for Smart Sun-Light Detection

Arduino Uno LDR (Light Dependent Resistor) 10kΩ Resistor Piezo Sensor Breadboard and jumper wires USB cable for Arduino Arduino IDE Software...

Working of Smart Sun-Light Detection Using Arduino

LDR is a light-dependent resistor that changes its resistance when different amounts of light fall on it. Based on that it gives a analog value of resistance. Since, We can use light source like Sun or flash light As the LDR is connected to the analog input pin (A0) on Arduino, we can get the light intensity as the Arduino will calculate the LDR’s resistance, which is inversely proportional to light intensity....

Pin Connections

Connect one terminal of LDR to 5V on Arduino. Connect the other terminal to a 10kΩ resistor. Connect the other end of 10kΩ resistor to ground (GND) pin on Arduino. From the junction between LDR and resistor make a connection to analog input pin on Arduino (example:- A0 In this case). Check all the connections are properly connected....

Program

// initialize pins as input,output for Sensorvoid setup(){ pinMode(A0,INPUT); pinMode(13, OUTPUT); Serial.begin(9600);}// Defining global variablesint value=0;void loop(){ // Reads the LightIntensity and stores in variable value value=analogRead(A0); Serial.print(value); Serial.print("\n"); if(value>500) { digitalWrite(13,HIGH); } else { digitalWrite(13,LOW); }}...

Simulation

The Tinkercad to create this simulation – You can create an account(Google, Autodesk, email) and use Tinkercad for free....

Output

The following table and the graph gives the output of this experiment of sunlight detection using Arduino ....

Advantages

This is system which does not need to monitor 24/7 It is fully automated and useful...

Disadvantages

we have to provide battery power to Arduino from time to time. This system should not get wet like keeping in a environment near to rain etc. This data can only seen through Arduino ide....

Conclusion

In conclusion by using this Smart Sunlight detection project also an (Embedded circuit ) we can track the amount of light we are receiving from the Sun from time to time using the LDR , monitor , Arduino we are goin to see the data (Sunlight values ) using the Arduino IDE . The main objective of this smart sunlight detection project is to track or alert us if there is any sudden high increase in Sunlight or Sunlight value crossing the threshold value (It is an analog value which will we given by us in the program) ,we will get an alert using the Alarm (Piezo Buzzer) and lights which is the output we want to stay alert at any give moment of time safe from the sunlight. we can also add a display screen to show the time and Sunlight we are receiving from the sun at that moment of time using this project....

Frequently Asked Questions

1. Does building this system requires any coding knowledge?...