Single axis solar tracker project tutorial

Introductions of single axis solar tracker:- 

What do you know about solar trackers?

A single axis solar tracker system is a system that follows the light according to its intensity. this is one of the most searched Arduino projects.

there are two types of solar tracker projects available single axis solar tracker and dual axis solar tracker.

single axis solar tracker has one motor so it can rotate only on two dimensions. and dual axis can rotate into 4 directions.

A Preview image of Single axis solar tracker single axis solar tracker

Hey guys, welcome back to Techatronic. we are Shahid and Adnan. I hope you all are good. This time we brought a very amazing project for you. which is knowns as the Single axis solar tracker project.

Usually, solar panels are steady and always the front face of the sun rises in direction. this causes less amount of light incident on it. at the time of afternoon and evening when we will use this amazing solar tracker.

it will move in the direction of the sun and catch more amount of light.

Single axis solar tracker solar panel

What is a Single Axis solar tracker?

The single axis solar tracker project is a very good example of a mini project if you are looking for an electronics mini project. it is one of the most popular projects recently.

  • single axis solar tracker is just a system that follows the sunlight. by using this system you can make more power collected through the sunlight by the solar system.
  • this system has a solar panel on it, all the systems track the light in two directions. for example, if the sun rises in the morning the system moves toward the same direction and for the evening also.
  • now the sunset is in the opposite direction so the system will also move with the sun so the system can get the maximum power by the sun tracking.
  • in solar panels make more power to more intensity. that means the solar power converted to electricity is directly proportional to the intensity of light.
  • In solar tracker we use LDR sensor For detecting the light
Single axis solar tracker ldr sensor

How does it work? Working of single axis solar tracker 

  • Single axis solar tracker system content servo motors which help it to move in two directions on one axis.

for example, it is for the x-axis then it will move in the +x axis and -x axis. and the rotating degree is dependent upon us usually we use 60 degrees in each direction.

now, understands the working of this project.

  • there is a sensor called LDR (light-dependent resistor).
  • which decreases the resistance in the circuit when the light incident on it.
  • there is two LDR sensor in the circuit on both sides.
  • so, which LDR sensor shows the less resistance the motor will start to move in that direction.
  • LDR sensor gives output to the Arduino every time. and Arduino process the data that comes from the  LDR and Sends instructions to the Servo motors.

PCBWay PCB Prototyping Services

I have assembled the whole circuit on a breadboard. As you know breadboard assembly is not effective for this type of project. So, PCBWay offers Rapid PCB Prototyping for Your Research Work. I personally, recommend PCBWay because you can get your first-try boards right in 24 hours!

PCBWay website

The prototyping stage is the most critical period of time for engineers, students, and hobbyists. PCBWay not only makes your boards quick but also makes your job right as well as cost-effective. This greatly reduces your cost and shortens the time for developing your electronic

PCBWay can provide 2 Layer PCBs to highly advanced HDI and flex boards. Even though the PCBs they produce differ a lot regarding functionality and areas of use. I am impressed with the quality of the boards, the delivery time, and the cost-effectiveness

I hope the above working on the project is sufficient to understand the single axis solar tracker project.

Single axis solar tracker servo motor

Components Used in Single Axis Solar tracker

Single axis solar tracker component

Circuit Diagram for single axis solar tracker

Fritzing-based circuit diagrams of single axis solar tracker help you to make the connections clear. and still, if you are stuck anywhere you can ask us in the comment section.

single axis solar tracker circuit

Connection Table of single axis solar tracker

Arduino UNOServo Motor
D9 PinOut Pin
+5V VCC
GND GND
Arduino UNOLDR 1LDR 210k ohm Resistor, 2 p
A0 PinTerminal 1 Terminal 1
A0 Pin Terminal 1Terminal 1
+5V Terminal 2Terminal 2 
GND  Terminal 2

Learn How to use Single axis solar tracker using Arduino code

// Single axis solar tracker
// Techatronic.com
#include <Servo.h> //including the library of servo motor
Servo sg90;
int initial_position = 90;
int LDR1 = A0; //connect The LDR1 on Pin A0
int LDR2 = A1; //Connect The LDR2 on pin A1
int error = 5;
int servopin=9; //You can change servo just makesure its on arduino’s PWM pin
void setup()
{

sg90.attach(servopin);
pinMode(LDR1, INPUT);
pinMode(LDR2, INPUT);
sg90.write(initial_position); //Move servo at 90 degree
delay(2000);
}

void loop()
{
int R1 = analogRead(LDR1); // read LDR 1
int R2 = analogRead(LDR2); // read LDR 2
int diff1= abs(R1 – R2);
int diff2= abs(R2 – R1);

if((diff1 <= error) || (diff2 <= error)) {

} else {
if(R1 > R2)
{
initial_position = –initial_position;
}
if(R1 < R2)
{
initial_position = ++initial_position;
}
}
sg90.write(initial_position);
delay(100);
}

Upload the given code into the Arduino. if you have any questions regarding the single axis solar tracker project you can ask in the comment section.

What is an Arduino dual Axis solar tracker? Dual-axis solar tracker System Engineering Project

Solar Panel Voltage Measure project using Arduino

Light Dependent Resistor | LDR sensor | Photoresistor

LDR sensor with Arduino Tutorial

Automatic Street Light Control System With Arduino

Single axis solar tracker

Video Sample

Learn 10+ basic activities & sensor interfacing with our Arduino ebook. Well explained program. And brief circuit diagram WhatsApp and email support. which will help you to learn basic electronics, Arduino Coding, Sensor interfacing with Arduino, Arduino, and much more. buy Arduino Ebook to learn https://techatronic.com/arduino-ebook/

7 thoughts on “Single axis solar tracker project tutorial”

Leave a Comment