Solar energy is regarded to be a clean and ecologically friendly energy source due to the fact that it is renewable and sustainable. As a consequence, solar energy has a lower influence on the environment in comparison to other energy sources. Despite the widespread use of solar energy, the inefficiency converting it into electrical power stems from the fixed angle of most solar panels. As a result of the Earth’s constant motion, these stationary or fixed panels do not directly face the sun. Therefore, we developed an automatic solar tracking system to address the limitation of fixed solar panel systems, which can generate maximum power during many intervals when the sun is available during the day and ignoring cloudy and shadowy spots due to its motion. This will optimize the power generation efficiency of the solar panel and to create a model that maximizes solar energy production while minimizing the number of solar panels required, resulting in significant advantages for the general population. Consequently, we developed a solution using the Arduino Uno system. This system serves as the main controller for the entire arrangement and consists of four LDR,( light dependent resistor), sensors that detect the intensity of sunlight.