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
Arduino
Arduino boards are able to read inputs – light , a finger on a button through sensors and turn it into an output – activating a motor, turning on an LED etc. It has 13 digital pins for digital outputs, inputs, etc. and 6 Analog pins for analog input and outputs. It is main crucial component to implement the logic we have written in code.
Light Dependent Resistor
The resistance of the LDR decreases with an increase in light intensity. This property allows us to use them for making light sensing circuits. At one terminal it requires 5v and analog input pin and other requires the ground pin. Light-dependent resistors made with photosensitive semiconductor materials like Cadmium Sulphide (CdS), lead sulfide, lead selenide, indium antimonide, or cadmium selenide and they are placed in a Zig-Zag shape as you can see in the pic below.
Resistors
The resistor absorbs the electrical energy in the process where it acts as a hindrance to the flow of electricity by reducing the voltage, and it is dissipated as heat. It is one of the basic component that any circuit requires if it wants to pass current and manipulate the currents across the circuit like multiple joints etc.
Piezo Buzzer
Piezo buzzer works by applying an alternating voltage to the piezoelectric ceramic material. The introduction of such an input signal causes the piezoceramic to vibrate rapidly, resulting in the generation of sound waves. It is used in alarms ,buzzers etc .These are generally small in size ,making easier to integrate in circuits.
Breadboard
It is generally used for making connections of circuits simpler and easier especially for temporary purposes. The ports between red and blue line has connected internally across the horizontal line. While remaining ports are connected vertically, upper half and bottom half are not connected.
Arduino Cable
It is a cable required to connect the Arduino and power it up and you can dump the code in the Arduino through Arduino IDE . Once you dumped the code you can use a battery to power it as the code remains in the Arduino .But if you want to see the value you can only see it through the Arduino IDE ‘s Serial monitor.
Arduino IDE
This is the software we are going to use for this embedded project .This software is used for various projects .Here we are going to write the code and verify it whether we have any errors in our code if exists in which line and what is the error is shown by Arduino ide software. After verifying we will dump the code into the Arduino using Arduino cable .
We have to select : tools -> board -> Arduino uno in the Arduino IDE
We also have to select :tools -> COM port -> (you have to choose whatever the respective COM port is available for you)
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