Solar panel optimizer

Designing and building a system that holds two solar panels and directs them to be perpendicular to the sunlight all the time in order to produce maximum energy, in addition directing the solar panels to be perpendicular to the sunlight allows knowing the position of the sun.

In the recent years the integration of renewable energy sources in the field of energy
conversion is going and growing, and it is known that the largest source of energy is the sun,
so it is important to produce maximum energy from the sun, and that happens
when the solar panels are perpendicular to the sunlight, and fixed solar panels
cant do that since the place of the sun in changing during the day hours,
so in this project we designed and built a system that holds two solar panels and directs them to be
perpendicular to the sunlight all the time in order to produce maximum energy,
and when we direct the solar panel to be perpendicular to the sunlight we can know angles of the sun.

We used ESP32 as a micro controller, current sensor (INA 219) to know the current/power in each point,
MPU 6050 to know the angles of the sun, two servo motors that were controlled by Arduino code and they moved the whole system and LCD screen to show the results.

This project is divided into 3 parts:
1- Mechanical part: Designing and building the system with no rotation problems.
2- Hardware: The components we used and the connection between all of them.
3- Software: The Arduino code that controlled the Servo motors.