To track the sun i used four ldc sensors and arduino compares the data from them to rotate the panel in the direction with the most sunlight using two dc motors one for each axis and motor driver.
Arduino solar tracker using dc motor.
Below is the program that will interface servo motor ldr with arduino for solar tracking.
In this article we are going to make a sun tracking solar panel using arduino in which we will use two ldrs light dependent resistor to sense the light and a servo motor to automatically rotate the solar panel in the direction of the sun light advantage of this project is that solar panel will always follow the sun light will always face towards the sun to get charge all the time and can.
Now you can use this project to track the solar panel and increase its efficiency by 40.
What is the rate and power of servo motor which u have used.
In modern solar tracking systems the solar panels are fixed on a structure that moves according to the position of the sun.
In this project an arduino nano is used which works as a controlling unit.
It searches for the brightest light source like the sun.
It consists of only this components ldr module l293d motor driver module dc motor 30 rpm solar panel.
Schematic of the arduino solar tracker circuit as you can see in the schematic all that you need to make the electrical part is the board one servo 2 ldrs and 2 x 10k resistors.
Two ldr s light dependent resistor are also connected to analog pins of the arduino.
Photovoltaic powers the solar tracker no external source needed.
A dummy solar plate is attached in parallel to the axis of servo motor and both the sensors are kept on the dummy solar plate as shown in the figure below.
Finally we have completed interfacing dual axis solar tracker arduino project using ldr servo motors.
Copy this code and upload it to your arduino board.
Arduino solar tracker working.
Drop a comment below if you have any doubts or queries.
Circuit diagram the circuit design of solar tracker is simple but setting.
And a micro servo motor sg90 to control the solar tracker according to the horizontal axis which is the up down servomotor.
For designing arduino based solar tracker using ldr servo motor you need to program atmega 328 arduino microcontroller.
Usually the servo has a yellow wire that is used to control the rotation and it must be connected on pin 9 on the board.
Let us design a solar tracker using two servo motors a light sensor consisting of four ldrs and arduino uno board.
The advantage of the servomotor is that we can control its stop run the direction of rotation and speed using a single low current wire connected directly to an output of the microcontroller without needing any drivers.
We hope you found this project useful.