Solar Panel Sun Tracker

This project is broken up into four sections
1. Dual Axis Stand
2. LDR Bracket
3. Controller Box
4. Switch Box
Mobirise Website Builder
Dual Axis Stand
Mobirise Website Builder
LDR Bracket
Mobirise Website Builder
Controller Box
Mobirise Website Builder
Switch Box
We used four Light Dependent Resistors (LDRs) and two motors to track the sun.

We mounted a small solar panel and a 3-D printed LDR bracket on a dual axis stand.  As you can see above, the LDR bracket is partitioned into four sections.  We placed an LDR in the corner of each section.  If you point the LDR bracket directly at the sun, the sun's rays fill each section with sunlight.  There will be no shadows from the partition walls.

Now, if the sun moves relative to the LDR bracket, shadows from the partition walls will start to move into three of the sections (or possibly only two).  Those shadows will start to cover a portion of the corresponding LDRs.   If an LDR receives less sunlight, the resistance of the LDR increases.

We used an Arduino Nano to determine the relative amount of sunlight in each section.  If the LDR bracket is not pointing directly at the sun, we activate the DC motors on the dual axis stand to reposition the LDR bracket to point directly at the newly positioned sun.  For details on how this is accomplished, see the Arduino source code below.

Solar Panel and LDR

Mobirise Website Builder
WingHome Solar Panel
Model: WH100
Mobirise Website Builder
LDR
Model: GL5516

Time-Lapse Video of the Sun Tracker

Source Code and Wiring Diagram

Mobirise Website Builder
Source Code
Mobirise Website Builder
Wiring Diagram

Best AI Website Creator