Arduino Solar Tracker

In modern solar tracking systems, the solar panels are fixed on a structure that moves according to the position of the sun.

Let us design a solar tracker using two servo motors, a light sensor consisting of four LDRs and Arduino UNO board.

Arduino Solar Tracker Circuit Diagram

Solar Tracker Arduino

The circuit design of solar tracker is simple but setting up the system must be done carefully.

Four LDRs and Four 100KΩ resistors are connected in a voltage divider fashion and the output is given to 4 Analog input pins of Arduino.

The PWM inputs of two servos are given from digital pins 9 and 10 of Arduino.

Components Required

  • Arduino UNO
  • Servo Motor
  • Light Sensors
  • LDR
  • Resistors

Arduino Solar Tracker Working

LDRs are used as the main light sensors. Two servo motors are fixed to the structure that holds the solar panel. The program for Arduino is uploaded to the microcontroller. The working of the project is as follows.

LDRs sense the amount of sunlight falling on them. Four LDRs are divided into top, bottom, left and right.

For east – west tracking, the analog values from two top LDRs and two bottom LDRs are compared and if the top set of LDRs receive more light, the vertical servo will move in that direction.

If the bottom LDRs receive more light, the servo moves in that direction.

For angular deflection of the solar panel, the analog values from two left LDRs and two right LDRs are compared. If the left set of LDRs receive more light than the right set, the horizontal servo will move in that direction.

If the right set of LDRs receive more light, the servo moves in that direction.

Setup

Step-1

  • Take cardboard. Make a hole in the middle and four holes on four sides so that LDR fit into that.
  • Stick the solar panel to the cardboard and bring two wires of the panel out as shown.

solar-panel-diy-step-1
Step 2

  • Now cut one of the two leads of the LDR so that one lead is shorter and other is longer.
  • Insert these four LDRs into four holes as shown.
  • Bend the straight Perforated metal strip as shown below.
  • Place the bent metal strip on the back side of the cardboard
  • Apply glue to the LDR to fix them firmly.

solar-panel-diy-step-2
Step 3

  • Solder the two leads of LDR as shown
  • To the other ends of LDR Solder resistors of 10k ohm
  • Join the four leads of the 4 LDRs by connecting with a wire.

solar-panel-diy-step-3

Step4

  • Now take a bus wire.This is used to connect the Outputs of four LDRs to Arduino board.
  • Insert it into metal strip as shown in the image.
  • Now Solder the four wires to four LDRs at any point between LDR and resistor.

solar-panel-diy-step-4

Step 5

  • Insert another two wire bus into the perforated metal strip as shown.This is used for supplying Vcc and GND to LDR circuit.
  • Solder one wire to the leads of LDRs which are connected to resistors and other wire to the other leads.
  • Short the leads of LDRs connected to resistors using a wire as shown.

solar-panel-diy-step-4Step 6

  • Now connect a servo motor to the Perforated metal strip using Screw.
  • Apply glue to the servo to fix it firmly.

solar-panel-diy-step-5Step 7

  • Take another straight Perforated metal strip and bend it as shown in the figure.

solar-panel-diy-step-6Step 8

  • Now place the set up of solar panel and first servo motor to the metal strip of second servo motor as shown.

solar-panel-diy-step 8

Project Code

If you are the one who loves to craft inspiring projects then Arduino solar tracker is for you. But still, if you are unable to design projects on your own that may be due to the lack of components or some other issues. To them, we bought the Best Solar Panel Kits for Homes that completely satisfies their requirements.

In this article, detailed information on solar panels like prices, power usage and performance is given for the convenience of users. Make a try with these wonderful solar panel kits to install them in your homes.

101 Responses

    1. This designed only for tracking sun and increasing its efficiency….Power of the solar panel is not considered…Servo motors used here consume very less power..They are powered from arduino board it self

      1. Can you please explain the steps for the programm….what do you declare of each entry into the programm?

        Thank you in advanceQ!!!!!

  1. Page excellent , and excellent projects for beginners im a student and I think this is awesome because we need projects like this to be best. congratulations !

  2. greetings to you sir and all on this site. please i want to work this project in my school. as my second year project in the university. What i want to ask is the solar panel tracker tracking the sun light intensity for other panels on 100w or others?thank you will be waiting for your reply

  3. sir,if one has about 10 100w solar panels how can he connect the solar tracker,and how many connection of the solar straker does he need

  4. Hello,
    I tried makin the project bt d motors r moving very slow. They r not moving as fast as given in d video. I tried changin d servo motor bt d isssue remains d same. Cn der b ny oder prob

  5. Hi, Anyone else noticed that the diagram might be wrong? It states 100k resistors, however i believe it should be 10k? 10k is also listed in the picture text step 3