Search
Close this search box.

Home

Sun Tracking Solar Panel

In this project, we will see a simple Sun Tracking Solar Panel circuit which will track the Sun and position the solar panels accordingly.

Introduction

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, converts it into electrical energy and stores the energy in a battery.

This energy can be utilized when required or can be used as a direct alternative to the grid supply. Utilization of the energy stored in batteries is mentioned in below given applications.

The position of the Sun with respect to the solar panel is not fixed due to the rotation of the Earth. For an efficient usage of the solar energy, the Solar panels should absorb energy to a maximum extent.

This can be done only if the panels are continuously placed towards the direction of the Sun. So, solar panel should continuously rotate in the direction of Sun. This article describes about circuit that rotates solar panel.

Sun Tracking Solar Panel Image 1

Principle of Sun Tracking Solar Panel

The Sun tracking solar panel consists of two LDRs, solar panel and a servo motor and ATmega328 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 servo 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. Servo 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 Circuit Diagram

Sun Tracking Solar Panel Circuit Diagram

Components in the Circuit

  • Solar panel
  • ATmega328 Micro Controller
  • Light Dependent Resistor (LDR) x 2
  • 10KΩ x 3
  • Servo Motor
  • 16MHz Crystal
  • 22pF Ceramic Capacitors x 2
  • Push Button
  • Breadboard
  • Cardboard
  • Connecting Wires

Automated Sun Tracking Solar Panel Circuit Design

The proposed system consists of ATmega328 micro controller, Solar panel, Light Dependent resistors and Servo Motor.

ATmega328 Microcontroller

ATmega328 is an AVR family micro controller. It is based on advanced RISC architecture. It is an 8-bit controller. It has 32K Bytes of Programmable Flash memory, 1K Bytes of EEPROM and 2K Bytes of SRAM. It has 23 programmable I/O 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 (I2C), etc.

Solar Panel

Solar panel is placed on a piece of cardboard (just for demonstration) and the bottom of the cardboard is connected to Servo motor. Solar panel consists of photovoltaic cells arranged in an order. Photovoltaic cell is nothing but a solar cell. Solar cell is made up of semiconductor material silicon.

Sun Tracking Solar Panel Image 2

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.

LDR

Light Dependent Resistors or LDRs 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.

ATmega328 has analog to digital converter internally. It has six ADC channels from ADC0 to ADC5 (Pins 23 – 28). The two LDRs are connected to ADC pins i.e. 27 and 28 in a voltage divider fashion with the help of individual 10KΩ Resistors. ADC conversion is done using successive approximation method.

Servo Motor

Servo motor is used to rotate the panel. To drive the servo motor, a PWM Signal must be provided to its control pin and hence Pin 17 (which has PWM) is connected to the control pin of the servo motor.

By connecting a battery to the solar panel, you can store the energy generated by the solar cells and this energy can be used when required. There are separate charge controller circuits dedicated to efficiently control the charge acquired from solar panels and charge the batteries.

Sun Tracking Solar Panel Image 3

[Also Read: How To Make an Adjustable Timer ]

Code

In a previous tutorial, I have shown you “How to Burn Bootloader to ATmega328”. In this tutorial, you can understand how to upload code to the ATmega328 Microcontroller using Arduino IDE.

The code for the project is given below.

How Sun Tracking Solar Panel Works?

  • Assemble the circuit as described and upload the code to ATmega328 Microcontroller.
  • Power on the circuit and place the set up directly under the Sun (on the rooftop).
  • Based on the light falling on the two LDRs, the ATmega328 Microcontroller changes the position of the Servo Motor which in turn moves in the panel.

Advantages of Sun Tracking Solar Panel

  • The solar energy can be reused as it is non-renewable resource.
  • This also saves money as there is no need to pay for energy used (excluding the initial setup cost)
  • Helps in maximizing the solar energy absorption by continuously tracking the sun.

Sun Tracking Solar Panel Applications

  • These panels can be used to power the traffic lights and streetlights
  • These can be used in home to power the appliances using solar power.
  • These can be used in industries as more energy can be saved by rotating the panel.

Limitations of Sun Tracking Solar Panel Circuit

  1. Though solar energy can be utilized to maximum extent this may create problems in rainy season.
  2. Although solar energy can be saved to batteries, they are heavy and occupy more space and required to change time to time.
  3. They are expensive.

So far you came to know about the working principle of a sun-tracking solar panel. If you want to set up or install them on your home or office rooftops then we would like to share with you about Best Solar Panel Kits for Homes In 2018

This article will help you in understanding the concept of solar panel kits and guides you how to choose solar panels (vital considerations) when purchasing online. Read the complete article and choose the one that best matches your requirements.

58 Responses

  1. very super projects will be given .Thank u for this help everyone must use this sun tracking solar panel.

    1. We are doing the same project but instead of using microcontroller we are going to used Labview sofware.Is there any specific rating for the solar panel in this project.
      So,please do help.

      1. No specific rating for the panel. In this project, the solar panel only moves in the direction of Sun in order to produce more power.

      2. Hello dear. Have you done the project if yes then can you help me please as i am doing it as my semester project. Here is my mail, your contact will be appreciated. Thank you.

      1. Which solar panel is used ?
        There are many brands available online which offer different varity os solar panel ranging from 200 to 2000.Kindly provide the shopping link for the solar panel if possible

    1. Here Motor driver L293D can drive upto 30v maximum.So you can use motor upto 30v.While Solar Panel Rating is selected depending on your application

  2. Hello Sir, we are currently working on this concept, and stuck up in coding part, can you help us in that, Please…

    1. Then you would overheat the cell, that might destroy the cell also the heat creates inefficient pannel.

      1. we can use mirror… which is improve efficiency by 33% if its on good position with all solar panels in lines.

  3. what is the characteristic measurement of the sensor LDR like the range , span ,resolution and error band

  4. Hii..sir it is good project which gives much more efficiency then the normal solar panel .. I am also making the same project so .. I need a help that the exact ratings of the motor and solar panel and I want to know how the connections are give .. plz as much as quick rply me.. I need to do submit my project in very less time .. plz ..

    1. Did anyone respond to your Question I want to do this project for my Engineering class, Do you buy the parts from them are buy online somewhere else

  5. Thank u soo much electronics hub… This article helped us in our final year project….. The language used in your article is very easy to understand….also helped in external viva….tysm

  6. If you put the 2 photocells in series across the power supply and take the centrepoint to a processor input, you only need the single input line. If voltage is around half supply keep motor still. If higher, drive one way; if lower, drive the other way.

  7. Can you please give me some more references for this project since I am a sy student and don”t know much about micro controller?

Leave a Reply

Your email address will not be published. Required fields are marked *