You Are Here: Home » AVR ATmega Projects » Sensor - Transducer - Detector Projects » Sun Tracking Solar Panel

Sun Tracking Solar Panel

As the non renewable energy resources are decreasing, use of renewable resources for producing electricity is increasing. Solar panels are becoming more popular day by day. We have already read a post about how to install solar panel for home. Solar panel absorbs the energy from the Sun and is stored in the battery. This energy can be utilized when required. Utilization of the energy stored in batteries is mentioned in below given applications. Solar panels should absorb energy to a maximum extent. This can be done only if the panels are continuously placed towards Sun direction. So solar panel should continuously rotate in the direction of Sun. This article describes about circuit that rotates solar panel.

Sun Tracking Solar Panel Principle:

The Sun tracking solar panel consists of two LDRs, solar panel and stepper motor and ATMEGA8 Micro controller.

Two light dependent resistors are arranged on the edges of the solar panel. Light dependent resistors produce low resistance when light falls on them. The stepper motor connected to the panel rotates the panel in the direction of Sun. Panel is arranged in such a way that light on two LDRs is compared and panel is rotated towards LDR which have high intensity i.e. low resistance compared to other. Stepper motor rotates the panel at certain angle.

When the intensity of the light falling on right LDR is more, panel slowly moves towards right and if intensity on the left LDR is more, panel slowly moves towards left. In the noon time, Sun is ahead and intensity of light on both the panels is same. In such cases, panel is constant and there is no rotation.

Sun Tracking Solar Panel

Automated Sun Tracking Solar Panel Circuit Design:

The proposed system consists of ATmega8 micro controller, Solar panel, Light Dependent resistors and motor driver IC.

ATmega8 is AVR family micro controller. It is based on advanced RISC architecture. It is an 8 bit controller. It has 4KB Flash memory, 512 bytes of EEPROM and 1Kb of SRAM. It has 23 programmable pins. It supports peripheral features like two 8-bit timers, one 16 bit timer, 6 channel ADC with 10-bit resolution, programmable USART, Serial peripheral interface, 2 wire serial interface, etc.

Solar panel is connected to Stepper motor. Solar panel consists of photovoltaic cells arranged in an order. Photovoltaic cell is nothing but a solar cell. Photo resembles light and voltaic is electricity. Solar cell is made up of semiconductor material silicon. When a light ray from Sun is incident on the solar cell, some amount of energy is absorbed by this material. The absorbed energy is enough for the electrons to jump from one orbit to other inside the atom. Cells have one or more electric field that directs the electrons which creates current. By placing metal contact energy can be obtained from these cells.

Light Dependent Resistors are the resistors whose resistance values depend on intensity of the light. As the intensity of light falling on the LDR increases, resistance value decreases. In dark, LDR will have maximum resistance. LDR will output an analog value which should be converted to digital. This can be done using analog to digital converter. ATmega8 has analog to digital converter internally. It has six ADC channels from ADC0 to ADC5.The two LDRs are connected to ADC pins i.e. PC0 and PC1. ADC conversion is done using successive approximation method.

Stepper motor rotates the panel in a stepwise angle. To drive this motor a driver IC is used. Driver IC amplifies the input voltage and protects the microcontroller from back EMF. Generally, motors generate back EMF. This may damage the controller. The driver IC used is L293D. It has H bridge internally made up of transistors. This IC has 16 pins. Output pins are connected to the stepper motor pins. Input pins are connected to the controller pins as shown in circuit diagram.

By connecting a battery to the solar panel, one can store the energy generated by the solar cells and this energy can be used when required.

[Also Read: How To Make an Adjustable Timer ]

How Sun Tracking Solar Panel Works?

  • Initially power the circuit.
  • Place the set up in dark
  • When the two LDRs are in dark, there is no movement in the panel.
  • Now place a torch in front of the left LDR. Panels slowly move towards its left.
  • Now move light from left to right. You can observe the panel moving slowly with the torch towards right.
  • In the middle, when intensity on both LDRs is equal, panel will not move until there is difference between the light intensity falling on the LDRs.

For more detail:  Sun Tracking Solar Panel

Leave a Comment

You must be logged in to post a comment.

Read previous post:
Line Follower Robot using Microcontroll
Line Follower Robot using Microcontroller

When robot is placed on the fixed path, it follows the path by detecting the line. The robot direction of...

Scroll to top