Professional Documents
Culture Documents
TECHNOLOGY, JAMMU
Keeping up with the tradition of torch bearer of the nation, we would like
to highly acknowledge and pay respect to one and all associated with this
project report at different stages, we owe our sincere gratitude and
humbleness to respected head of the department Dr. SAMERU
SHARMA, the professors and associates of Department of E&C
Engineering especially our project guide Er. AYUSHE for being the
guiding light and whose pursuits and confidence in us were an instant
booster during this endeavor. They also help us in understanding basic
aspects of project. Our parents and family also deserve a special mention
here for believing in us and supporting us. We are also thankful to our
friends who helped us in understanding the basic concepts regarding the
project topic.
Solar panels are devices that convert light into electricity. Solar panels use
sunlight to generate power. Solar panels work best when the sun is shining.
As the angle of the sun varies throughout the day and seasons, this affects the
amount of electricity a solar power system will generate. To make solar
power systems work more efficiently, this project will include the design and
construction of a microcontroller-based solar panel tracking system. Solar
tracking allows more energy to be produced because the solar array can
remain aligned to the sun. In this project, we will design a dual-axis solar
tracker that allows solar panels to move on two axes, aligned both north-
south and an east-west. This type of system is designed to maximize solar
energy collection throughout the year. This project will make use of the Light
Depending Resistor (LDR) which is important to detect the sunlight by
following the source of the sunlight location. Arduino Uno microcontroller is
used to control the motors based on LDR. This project discusses the
development of a prototype for a dual-axis solar tracking system.
ACKNOWLEDGEMENT 3
ABSTRACT 4
CHAPTER 1
1.1 INTRODUCTION 10
1.2 APPROACHES TO MAKE DUAL 11
AXIS SOLAR TRACKER.
CHAPTER 2
13-31
DUAL AXIS SOLAR TRACKER
13
2.1 HARDWARE COMPONENTS
13-17
2.1.1 ARDUINO UNO
2.1.2 VOLTAGE REGULATOR 17-19
CHAPTER 3
HARDWARE IMPLEMENTATION 32-39
3.1 CONSTRUCTION OF DUAL AXIS SOLAR TRACKER 32-37
3.2 WORKING OF DUAL AXIS SOLAR TRACKER 38-39
CHAPTER 5
CONCLUSION AND FUTURE AVENUES 42-43
5.1 CONCLUSION 42
5.2 AVENUES FOR FUTURE WORK 43
REFERENCES 44
Fig 1.1 LDR layout for Dual Axis Solar Tracker with a 12
Divider.
Fig 1.2 IR Sensor Module. 12
Fig 2.1 Diagram of Arduino Uno. 14
Fig 2.2 Pin layout of Arduino Uno. 15
Fig 2.3 LM7805 pinout diagram. 18
Fig 2.4 Conversion of Voltage generated by Solar Panel 19
to 5V using LM7805.
Fig 2.5 Electricity generated from Single Solar 20
Photovoltaic cell
Fig 2.6 Solar Panel. 21
Fig 2.7 Light Dependent Resistor (LDR). 22
Fig 2.8 Infrared Sensor. 23
Fig 2.9 Working of IR Sensor. 24
Fig 2.10 IR Sensor without a Transmitter and Receiver. 25
Fig 2.11 L298N Motor Driver. 26
Fig 2.12 Pin layout of L298N IC. 27
Fig 2.13 Internal Voltage Drop in L298N Motor Driver. 28
Fig 2.14 Pin layout of L298N Motor Driver. 29
Fig 2.15(a) DC Motor. 29
Fig 2.15(b) Geared DC Motor. 30
Fig 2.16 9V Batteries. 31
Fig 2.17 Battery Cap. 31
Fig 3.1 Structure of Dual Axis Solar Tracker. 32
Fig 3.2 Circuit diagram for Dual Axis Solar Tracker. 33
Fig 3.3 Circuitry of Dual Axis Solar Tracker. 34
Fig 3.4 Dual Axis Solar Tracker. 37
Fig 3.5 Block diagram of Dual Axis Solar Tracker. 38
Fig 3.6 Solar tracking along both Axes. 39
GND: Ground
This project will utilize the maximum solar energy through solar panels. To do so, a
digital automatic sun tracking system is proposed. The project will help solar panels to get
the maximum sunlight automatically thereby increasing the efficiency of the system.
In this project, a working dual-axis solar tracker is built by using a balanced concept which is
four signals from the different sensors are compared. Light Dependent Resistor (LDR) as a
light sensor has been used. The four light-sensors are separated by a divider which will create
a shadow on one side of the light sensor if the solar panel is not perpendicular to the sun.
This will create a variation in light intensities sensed by the light sensors. The difference in
these values will the Arduino know that solar panel isn’t perpendicular to the sun, Arduino,
as a microcontroller, will control the movement of the motors via motor driver IC (L298n).
Data will be received from the sensors and then processed by the Arduino. The Arduino will
send the processed data to the Bi-directional DC-geared motor via motor driver IC (L298n) to
ensure the solar panel is perpendicular towards the Sun. Motor driver IC(L298n) controls the
rotation of the motor either to rotate clockwise or anticlockwise. The solar panel that attached
to the motors will be reacted according to the direction of the motors.
To get maximum intensity of light and zero voltage difference (error degree) the position of
the panel must always perpendicular to the light source. Uses of Single Axis throughout the
year do not maintain the output power. The position of the sun will change from the position
of installed solar tracker and make the panel no more perpendicular to the sun which affects
the output power. Therefore, dual-axis solar tracking moves the solar panel to be always
perpendicular to the sun. The tracker will track the sun throughout the years and maintaining
the output power generated by the solar panel.
The Arduino microcontroller controls all the motors of the tracker. The solar panel is aligned
according to the intensity of sunlight under the control of the microcontroller. Since Arduino
uses much less voltage than DC motor, so, we need to Interface a DC motor with the
microcontroller, usually H-bridge is preferred way of interfacing a DC motor. These days
many IC manufacturers have H-bridge motor drivers available in the market like L298n. A
10 | P a g e
LDR is a component that has a (variable) resistance that changes with the light intensity that
falls upon it. They are also called as photoconductors, photoconductive cells or simply
photocells. Here we have used four LDRs to sense the light falling on the solar panel is
perpendicular to all four directions. So, the values of all four LDR should be the same to
achieve the correct direction for the solar panel. A DC geared motor is a device that uses DC
electricity to produce mechanical energy. The energy in electric current causes the DC geared
motor to spin. Any devices attached to the motor can then take advantage of this spinning
motion to create another type of motion. In a gear motor, the magnetic current turns gears
that are either in a gear reduction unit or an integrated gearbox. A second shaft is connected
to these gears. Gear head or gear motor was used in solar trackers which has the advantage of
producing high torque, A well-designed solar tracking system is necessary to improve the
efficiency of the panel in a most economical way. The amount of power available to a solar
panel is proportional to the amount of light that reaches it. The more light it gets, the more
power it produces. By using a single-axis solar tracker can only capture the minimum power
tracking sunlight in one direction which is the elevation movements from east to west by
rotating the structure along the vertical axis. The use of single-axis tracking can increase the
electricity yield by as much as 27% to 32%, but by using a dual-axis solar tracker, it can
capture the maximum sunlight in two movements at the same time, so, dual-axis tracking
increases the electricity output as much as 35% to 40%. Dual-axis solar trackers allow for
two degrees of flexibility, offering a much wider range of motion. The primary and
secondary axes work together to allow these trackers to point the solar panels at specific
points in the sky.
11 | P a g e
Fig1.1: LDR layout for Dual-Axis Solar Tracer with a Divider.
In this project, the photodiode or phototransistor of the IR-sensor module is replaced with
LDR. The IR-sensor module sends an output signal whenever it’s photodiode or
phototransistor generates any signal. But here we have replaced its photodiode or
phototransistor by LDR, so whenever LDR generates a signal, an output signal is sent by the
IR-sensor module to the Arduino microcontroller.
12 | P a g e
CHAPTER 02
DUAL AXIS SOLAR TRACKER
Arduino Uno
Voltage regulator (7805)
Solar Panel
LDR Sensor [4 units]
IR sensor [4 units]
9-volt battery [2 units]
Motor Driver (L298N)
10 RPM gear motor [2 units]
The Arduino Uno is a microcontroller board based on the ATmega328.It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz
ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.
Arduino board designs use a variety of microprocessors and controllers.
The boards are equipped with sets of digital and analog input/output (I/O) pins that may be
interfaced to various expansion boards or breadboards (shields) and other circuits. The
boards feature serial communications interfaces, including Universal Serial Bus (USB) on
some models, which are also used for loading programs from personal computers.
The microcontrollers are typically programmed using a dialect of features from the
programming languages C and C++. In addition to using traditional compiler toolchains the
Arduino project provides an integrated development environment (IDE) based on the
Processing language project.
Most Arduino boards consist of an Atmel 8-bit AVR microcontroller (Atmega8, Atmega168,
Atmega328, Atmega1280, Atmega2560) with varying amounts of flash memory, pins, and
features. The 32-bit Arduino Due, based on the Atmel SAM3X8E was introduced in 2012.
13 | P a g e
The boards use single or double-row pins or female headers that facilitate connections for
program
and incorporation into other circuits. These may connect with add-on modules termed
shields.
Multiple and possibly stacked shields may be individually addressable via an I²C serial
buses. Most boards include a 5V linear regulator and a 16 MHz crystal oscillator or ceramic
resonator. Some designs, such as the LilyPad, run at 8 MHz and dispense with the onboard
voltage regulator due to specific form-factor restrictions.
Arduino microcontrollers are pre-programmed with a boot loader that simplifies uploading of
programs to the on-chip flash memory. The default bootloader of the Arduino UNO is the
optiboot bootloader Boards are loaded with program code via a serial connection to another
computer. Some serial Arduino boards contain a level shifter circuit to convert between RS-
232 logic levels and transistor-transistor logic (TTL) level signals. Current Arduino boards
are programmed via Universal Serial Bus (USB), implemented using USB-to-serial adapter
chips such as the FTDI FT232. Some boards, such as later-model Uno boards, substitute the
facilitate connections for programming and incorporation into other circuits. These may
connect with add-on modules termed shields. Multiple and possibly stacked shields may be
individually addressable via an I²C serial bus. Most boards include a 5V linear regulator and a
16 MHz crystal oscillator or ceramic resonator. Some designs, such as the Lilypad, run at 8
14 | P a g e
MHz and dispense with the onboard voltage regulator due to specific form-factor restrictions.
FTDI chip with a separate AVR chip containing USB-to-serial firmware, which is
reprogrammable via its own ICSP header. Other variants, such as the Arduino Mini and the
unofficial Boarduino, use a detachable USB-to-serial adapter board or cable, Bluetooth, or
other methods. When used with traditional microcontroller tools, instead of the Arduino IDE,
standard AVR in-system
programming (ISP) programming is used.
Vin: The input voltage or Vin to the Arduino while it is using an exterior power supply
opposite to volts from the connection of USB or else RPS (regulated power supply). By
using this pin, one can supply the voltage.
5Volts: The RPS can be used to give the power supply to the microcontroller as well as
components which are used on the Arduino board. This can approach from the input
voltage through a regulator.
3V3: A 3.3 supply voltage can be generated with the onboard regulator, and the highest
draw current will be 50 mA.
GND: GND (ground) pin.
15 | P a g e
memory is utilized for the Boot loader), and also it includes SRAM-2 KB as well as
EEPROM-1KB.
Input and Output: We know that an arguing Uno R3 includes 14-digital pins which
can be used as an input otherwise output by using the functions like pin Mode (), digital
Read(), and digital Write(). These pins can operate with 5V, and every digital pin can
give or receive 20mA, & includes a 20k to 50k ohm pull up resistor. The maximum
current on any pin is 40mA which cannot surpass for avoiding the microcontroller from
the damage. Additionally, some of the pins of an Arduino include specific functions.
Serial Pins: The serial pins of an Arduino board are TX (1) and RX (0) pins and these
pins can be used to transfer the TTL serial data. The connection of these pins can be
done with the equivalent pins of the ATmega8 U2 USB to TTL chip.
External Interrupt Pins: The external interrupt pins of the board are 2 & 3, and these
pins can be arranged to activate an interrupt on a rising otherwise falling edge, a low-
value otherwise a modify in value.
PWM Pins: The PWM pins of an Arduino are 3, 5, 6, 9, 10, & 11, and gives an output
of an 8-bit PWM with function analog write.
SPI (Serial Peripheral Interface) Pins: The SPI pins are 10, 11, 12, 13 namely SS,
MOSI, MISO, SCK, and these will maintain the SPI communication with the help of the
SPI Library.
LED pins: An arguing board is inbuilt with a LED using digital pin-13. Whenever the
digital pin is high, the LED will glow otherwise it will not grow.
TWI (2-Wire Interface) Pins: The TWI pins are SDA or A4, & SCL or A5, which can
support the communication of TWI with the help of Wire library.
AREF (Analog Reference) Pin: An analog reference pin is the reference voltage to the
inputs of an analog i/ps using the function like analog Reference().
Reset (RST) Pin: This pin brings a low line for resetting the microcontroller, and it is
16 | P a g e
very useful for using an RST button toward shields which can block the one over the
Arduino R3 board.
UART: An Arduino Uno uses the two functions like the transmitter digital pin1 and the
receiver digital pin0. These pins are mainly used in UART TTL serial communication.
I2C: An Arduino UNO board employs SDA pin otherwise A4 pin & A5 pin otherwise
SCL pin is used for I2C communication with wire library. In this, both the SCL and
SDA are CLK signal and data signal.
SPI Pins: The SPI communication includes MOSI, MISO, and SCK.
MOSI (Pin11): This is the master out slave in the pin, used to transmit the data to the
devices.
MISO (Pin12): This pin is a serial CLK, and the CLK pulse will synchronize the
transmission of which is produced by the master.
SCK (Pin13): The CLK pulse synchronizes data transmission that is generated by the
master. Equivalent pins with the SPI library is employed for the communication of SPI.
ICSP (in-circuit serial programming) headers can be utilized for programming AT mega
microcontroller directly with the boot loader.
7805 IC also finds usage in building circuits for inductance meter, phone charger,
portable CD player, infrared remote-control extension and UPS power supply circuits.
LM7805 is applied in a wide range of circuits like Fixed-Output Regulator, Positive
Regulator in Negative Configuration, Adjustable Output Regulator, Current Regulator,
Regulated Dual-Supply, Output Polarity-Reversal-Protection Circuit, Reverse bias
projection Circuit.
19 | P a g e
Fig 2.4: Conversion of Voltage generated from Solar Panel to 5v using LM7805.
21 | P a g e
bottom are metal films which are connected to the terminal leads. It is designed in such
a way as to provide maximum possible contact area with the two metal films. The
structure is housed in a clear plastic or resin case, to provide free access to external
light. As explained above, the main component for the construction of LDR is cadmium
sulphide (CdS), which is used as the photoconductor and contains no or very few
electrons when not illuminated.
In the absence of light, it is designed to have a high resistance in the range of mega
ohms. As soon as light falls on the sensor, the electrons are liberated and the
conductivity of the material increases. When the light intensity exceeds a certain
frequency, the photons absorbed by the semiconductor give band electrons the energy
required to jump into the conduction band. This causes the free electrons or holes to
conduct electricity and thus dropping the resistance dramatically (< 1 Kilo ohm).
A photoresistor (or light-dependent resistor, LDR, or photo-conductive cell) is a light-
controlled variable resistor. The resistance of a photoresistor decreases with increasing
incident light intensity; in other words, it exhibits photoconductivity. A photoresistor
can be applied in light-sensitive detector circuits, and light-activated and dark-activated
switching circuits.
A photoresistor is made of a high resistance semiconductor. In the dark, a photoresistor
can have a resistance as high as several mega ohms (MΩ), while in the light, a
photoresistor can have a resistance as low as a few hundred ohms.
If incident light on a photoresistor exceeds a certain frequency, photons absorbed by the
semiconductor give bound electrons enough energy to jump into the conduction band.
The resulting free electrons (and their hole partners) conduct electricity, thereby
lowering resistance.
The resistance range and sensitivity of a photoresistor can substantially differ among
dissimilar devices. Moreover, unique photoresistors may react substantially differently
to photons within certain wavelength bands.
The solar tracker system will obtain its data from two CDS (Cadmium Sulphide)
photocells, which are type of LDR. The material used in CDS photocell is of high
resistance semiconductor. Therefore, once light falls on its surface, photons absorbed by
the semiconductor will give bound electrons enough energy to jump into the conduction
band. As a result, free electrons conduct electricity and thus lower the resistance. In case
of high intensity, the photocell will produce the lowest resistance, the opposite will
occur in case of complete darkness.
22 | P a g e
Fig 2.7: Light Dependent Resistors (LDR).
2.1.5 IR-SENSOR
An infrared sensor is an electronic device, that emits in order to sense some aspects of
the surroundings. An IR sensor can measure the heat of an object as well as detects the
motion. These types of sensors measure only infrared radiation, rather than emitting it
that is called a passive IR sensor. Usually, in the infrared spectrum, all the objects
radiate some form of thermal radiation. These types of radiations are invisible to our
eyes, which can be detected by an infrared sensor. The emitter is simply an IR LED
(Light Emitting Diode) and the detector is simply an IR photodiode that is sensitive to
IR light of the same wavelength as that emitted by the IR LED. When IR light falls on
the photodiode, the resistances and the output voltages will change in proportion to the
magnitude of the IR light received.
23 | P a g e
detectors. Passive infrared sensors do not use any infrared source and detects energy
emitted by obstacles in the field of view. They are of two types: quantum and thermal.
Thermal infrared sensors use infrared energy as the source of heat and are independent
of wavelength. Thermocouples, pyroelectric detectors and bolometers are the common
types of thermal infrared detectors.
Quantum type infrared detectors offer higher detection performance and are faster than
thermal type infrared detectors. The photosensitivity of quantum type detectors is
wavelength dependent. Quantum type detectors are further classified into two types:
intrinsic and extrinsic types. Intrinsic type quantum detectors are photoconductive cells
and photovoltaic cells.
Active infrared sensors consist of two elements: infrared source and infrared detector.
Infrared sources include an LED or infrared laser diode. Infrared detectors include
photodiodes or phototransistors. The energy emitted by the infrared source is reflected
by an object and falls on the infrared detector.
IR Transmitter:
Infrared Transmitter is a light emitting diode (LED) which emits infrared radiations.
Hence, they are called IR LED’s. Even though an IR LED looks like a normal LED, the
radiation emitted by it is invisible to the human eye.
There are different types of infrared transmitters depending on their wavelengths,
output power and response time.
A simple infrared transmitter can be constructed using an infrared LED, a current
limiting resistor and a power supply.
When operated at a supply of 5V, the IR transmitter consumes about 3 to 5 mA of
current. Infrared transmitters can be modulated to produce a particular frequency of
infrared light. The most commonly used modulation is OOK (ON – OFF – KEYING)
24 | P a g e
modulation.
IR transmitters can be found in several applications. Some applications require infrared
heat and the best infrared source is infrared transmitter. When infrared emitters are used
with Quartz, solar cells can be made.
IR Receiver:
Infrared receivers are also called as infrared sensors as they detect the radiation from an
IR transmitter. IR receivers come in the form of photodiodes and phototransistors.
Infrared Photodiodes are different from normal photo diodes as they detect only infrared
radiation.
Different types of IR receivers exist based on the wavelength, voltage, package, etc.
When used in an infrared transmitter – receiver combination, the wavelength of the
receiver should match with that of the transmitter.
It consists of an IR phototransistor, a diode, a MOSFET, a potentiometer and an LED.
When the phototransistor receives any infrared radiation, current flows through it and
MOSFET turns on. This in turn lights up the LED which acts as a load. The
potentiometer is used to control the sensitivity of the phototransistor.
The one we use in our project does not contain its transmitter and receiver because we
do not need to sense infrared light, here we need to sense sunlight so we connect LDR
in place of photodiode at the receiver’s place. The one used in the project looks like in
the figure given below:
There are other applications of this module in which we do not need a transmitter and a
receiver where we can connect any other sensor like LDR, Rain sensor PCB, and much
25 | P a g e
more.
This module has its variety of uses that are not related to infrared sensing only but can
be of any type because it consists of IC LM358 which is a great, low power and easy to
use dual channel op-amp IC.
LM 358 has a lot of real-life applications e.g., Operational Amplifier (Op-amp) circuits,
transducer amplifiers, DC gain blocks, etc. LM-358 is available in as small size as chip.
It is the most commonly used device due to its cost-efficiency.
The L298N is an integrated monolithic circuit in a 15- lead Multiwatt and PowerSO20
packages. It is a high voltage, high current dual full-bridge driver designed to accept
standard TTL logic level sand drive inductive loads such as relays, solenoids, DC and
stepping motors. Two enable inputs are provided to enable or disable the device
independently of the input signals. The emitters of the lower transistors of each bridge
are connected and the corresponding external terminal can be used for the connection of
an external sensing resistor. An additional supply input is provided so that the logic
works at a lower voltage. Interfacing a dc motor with a microcontroller, usually H-
bridge is preferred way of interfacing a dc motor. These days many IC manufacturers
26 | P a g e
have H-bridge motor drivers available in the market like L298N is one of the most used
H-Bridge driver IC. H-Bridge can also be made with the help of transistors and
MOSFETS etc. rather than being cheap; they only increase the size of the design board,
which is sometimes not required so using a small 16 pin IC is preferred for this purpose.
If you want to regulate the speed of motor A by PWM, you need to set IN1 and IN2,
confirm the rotational direction of the motor, and then output PWM pulses for enabled
terminals. Please note the motor is in the free stop state when the signal of the enabled
terminal is 0. When the enabled signal is 1, if IN1 and IN2 are 00 or 11, the motor is in
brake state, and the motor stops rotating. If IN1 is 0 and IN2 is 1, the motor A rotates
clockwise; if IN1 is 1 and IN2 is 0, the motor A rotates counterclockwise. This is the
control method for motor A. The control method for motor B is the same as that for
motor A.
POWER PINS:
The L298N motor driver module is powered through 3-pin 3.5mm-pitch screw
terminals. It consists of pins for motor power supply(Vs), ground and 5V logic power
supply(Vss). From Vs pin the H-Bridge gets its power for driving the motors which can
be 5 to 35V. Vss is used for driving the logic circuitry which can be 5 to 7V. And they
both sink to a common ground named ‘GND’. The module has an on-board 78M05 5V
27 | P a g e
regulator from STMicroelectronics. It can be enabled or disabled through a jumper.
When this jumper is in place, the 5V regulator is enabled, supplying logic power
supply(Vss) from the motor power supply(Vs). In this case, 5V input terminal acts as an
output pin and delivers 5V 0.5A. You can use it to power up the Arduino or other
circuitry that requires 5V power supply. When the jumper is removed, the 5V regulator
gets disabled and we have to supply 5 Volts separately through 5 Volt input terminal.
Voltage drop:
29 | P a g e
Fig 2.15(a): DC Motor
30 | P a g e
Fig 2.16: 9V Batteries.
BATTERY CAP: - The battery has both terminals in a snap connector on one end. The
smaller circular (male) terminal is positive, and the larger hexagonal or octagonal
(female) terminal is the negative contact. The connectors on the battery are the same as
on the load device; the smaller one connects to the larger one and vice versa.
31 | P a g e
CHAPTER 03
HARDWARE IMPLEMENTATION
STEP 1: First we have to construct a structure frame for solar panel which is capable to
rotate along both axes.
STEP 2: Now mount the solar panel on the frame and then place the four LDR setup on
it.
After these steps, the project will look like the fig given below:
32 | P a g e
Fig 3.2: Circuit diagram for Dual Axis Solar Tracker
The complete circuit will look like the figure given below:
33 | P a g e
Fig 3.3: Circuitry of Dual Axis Solar Tracker
34 | P a g e
} // the loop function runs over and over again forever
void loop ()
{
if( digitalRead(2)&&digitalRead(3)&&digitalRead(4)&&digitalRead(5)==HIGH)
{
digitalWrite(6,LOW);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(9,LOW);
}
else if( digitalRead(2)&&digitalRead(4)==HIGH)
{
digitalWrite(6,HIGH);
digitalWrite(7,LOW);
digitalWrite(8,HIGH);
digitalWrite(9,LOW);
}
else if( digitalRead(3)&&digitalRead(5)==HIGH)
{
digitalWrite(6,LOW);
digitalWrite(7,HIGH);
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
}
else if( digitalRead(2)&&digitalRead(5)==HIGH)
{
digitalWrite(6,HIGH);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
}
else if( digitalRead(3)&&digitalRead(4)==HIGH)
{
digitalWrite(6,LOW);
35 | P a g e
digitalWrite(7,HIGH);
digitalWrite(8,HIGH);
digitalWrite(9,LOW);
}
else if( digitalRead(2)==HIGH)
{
digitalWrite(6,HIGH);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(9,LOW);
}
else if( digitalRead(3)==HIGH)
{
digitalWrite(6,LOW);
digitalWrite(7,HIGH);
digitalWrite(8,LOW);
digitalWrite(9,LOW);
}
else if( digitalRead(4)==HIGH)
{
digitalWrite(6,LOW);
digitalWrite(7,LOW);
digitalWrite(8,HIGH);
digitalWrite(9,LOW);
}
else if( digitalRead(5)==HIGH)
{
digitalWrite(6,LOW);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
}
else
{
36 | P a g e
digitalWrite(6,LOW);
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(9,LOW);
}
}
////////////////////////////////////////////////////////////////////////////////////////////////
STEP 5: Now upload the code using USB cable to the Arduino, and the prototype is
ready to work.
The complete project looks like the figure given below:
37 | P a g e
3.2 WORKING OF DUAL AXIS SOLAR TRACKER
The project is built using a balanced concept which is four signals from the different
sensors are compared. Light Dependent Resistor (LDR) as a light sensor has been used.
The four light sensors are separated by divider which will create shadow on one side of
the light sensor if the solar panel is not perpendicular to the sun. The Arduino
microcontroller will take continuous readings of LDR and control the motors
accordingly by sending signals to motor driver. Motor driver IC(L298n) controls the
rotation of the motor either to rotate clockwise or anticlockwise depending on the signal
from Arduino microcontroller. The solar panel that attached to the motors will be
reacted according to the direction of the motors.
The basic working of the system is shown below in the diagram:
Here, Arduino microcontroller plays an important role in calculating the desired output
depending on the input conditions. These conditions are manipulated by the Arduino
program which is uploaded in it.
The Arduino program works according to the following conditions:
39 | P a g e
CHAPTER 04
APPLICATIONS, ADVANTAGES AND
DISADVANTAGES
41 | P a g e
CHAPTER 05
CONCLUSION AND FUTURE AVENUES
5.1 CONCLUSION
The aim of this project was to design a dual axis tracking system which can sense the
incident solar light on the panel and move it in the direction of maximum solar light
incident. The tracking controller is implemented by means of ATmega328p
microcontroller. The necessary software is developed via Arduino Uno IDE. In building
the solar tracking system, LDRs (Light Dependent Resistors) are used to determine solar
light intensity. The proposed solar tracking system can track sun light automatically.
From this study the main conclusions are:
Proposed system is low cost and compact as compared to the other tracking
systems in use for same application.
It is very easy to program and modify because it is Arduino based and no external
programmer is required.
The designed system is automatic and provides better efficiency of the panel.
Reflection on the Solar panel has been decreased and, the efficiency of solar
energy generation is increased.
Solar trackers are slightly more expensive than their stationary counterparts, due
to the more complex technology and moving parts necessary for their operation.
But solar trackers generate more electricity in roughly the same amount of space
needed for fixed tilt systems, making them ideal optimizing land usage.
The purpose of renewable energy from this paper offered new and advanced idea to help
the people. It has been proved through previous research that solar tracking system with
single- axis freedom can increase energy output by approximately 20%, whereas the
tracking system with double axis freedom can increase the output by more than 40%.
Therefore, this work in this paper is to develop and implement a dual-axis solar tracking
system with both degree of freedom and the detection of the sunlight using sensors.
The proposed system is eco-friendly.
42 | P a g e
5.2 AVENUES FOR FUTURE WORK
With the available time and resources, the objective of the project was met. The project is
able to be implemented on a much larger scale. For future projects, one may consider the
use of more efficient sensors, which should also be cost effective and consume little power.
This would further enhance efficiency while reducing costs. If there is the possibility of
further reducing the cost of this project, it would help a great deal. This is because whether
or not such projects are embraced is dependent on how cheap they can be. Shading has
adverse effects on the operation of solar panels. Shading of a single cell will have an effect
on the entire panel because the cells are usually connected in series. With shading
therefore, the tracking system will not be able to improve efficiency as is required.
43 | P a g e
REFERENCES:
1. Bhagwan Deen Verma, Prof. (Dr.) Mukesh Pandey, Asst. Prof. Anurag Gour. "A
Review Paper on Solar Tracking System for Photovoltaic Power Plant”. International
Journal of Engineering Research & Technology Vol. 9 Issue 02, February(2020): 2278-
0181
2. Pavan kalyan .G, Dharma .B, Anil kumar .B, Sagar nayak. "Sun Tracking Solar System
Using Microcontrollers."International Journal of Innovative Research In Technology
147981: 2349-6002.
3. Cotfas, D. T., and Cotfas P. A. "Multiconcept methods to enhance photovoltaic system
efficiency." International Journal of Photoenergy 2019 (2019).
4. Premkumar, M., and R. Sowmya. "An effective maximum power point tracker for
partially shaded solar photovoltaic systems." Energy Reports 5 (2019): 1445-1462.
5. Obara, Shin'ya, Kazuhiro Matsumura, Shun Aizawa, Hiroyuki Kobayashi, Yasuhiro
Hamada, and Takanori Suda. "Development of a solar tracking system of a nonelectric
power source by using a metal hydride actuator." Solar Energy 158 (2017): 1016-1025.
6. Carballo, Jose A., Javier Bonilla, Lidia Roca, and Manuel Berenguel. "New low-cost
solar tracking system based on open source hardware for educational purposes." Solar
Energy 174 (2018): 826-836.
7. Hoffmann, Fábio Moacir, Rolf Fredi Molz, João Victor Kothe, Elpidio Oscar Benitez
Nara, and Leonel Pablo Carvalho Tedesco. "Monthly profile analysis based on a two-axis
solar tracker proposal for photovoltaic panels." Renewable energy 115 (2018): 750-759.4
8. Abdollahpour, Masoumeh, Mahmood Reza Golzarian, Abbas Rohani, and Hossein
Abootorabi Zarchi. "Development of a machine vision dual-axis solar tracking system."
solar energy 169 (2018): 136-143. 75
9. Lim, Boon-Han, Chern-Sing Lim, Hu Li, Xing-Lan Hu, Kok-Keong Chong, Jin Long
Zong, Ke Kang, and Woei-Chong Tan. "Industrial design and implementation of a large-
scale dual-axis sun tracker with a vertical-axis rotating-platform and multiple-row-
elevation structures." Solar Energy 199 (2020): 596-616.
10. Fernández-Ahumada, L. M, Ramírez-Faz. J, López-Luque. R, M. Varo Martínez,
Moreno-García. I. M., and Casares de la Torre. F. "A novel backtracking approach for two-
axis solar PV tracking plants." Renewable Energy 145 (2020): 1214-1221.
44 | P a g e
45 | P a g e