Project Overview
This student project uses light sensing to position a solar panel in two axes. Four LDRs provide directional light information to the PIC16F876A, which compares the sensor readings and commands two stepper motors to adjust the panel position.
The documented design includes A4988 stepper drivers, NEMA17 motors, a 12 V 50 W solar panel, a 12 V 7.5 Ah sealed lead battery and a 12 V charge controller.
How the System Works
- Four LDRs are arranged around the panel frame and produce analog signals through resistor dividers.
- The PIC16F876A reads the four sensor values through its ADC inputs.
- The controller compares opposite sensor pairs to determine the required horizontal and vertical correction.
- A4988 drivers convert the controller commands into step and direction signals for the two NEMA17 motors.
- The panel position is continuously adjusted toward the stronger light direction.
System Architecture
◆4 × LDRsLight sensing
→
◆PIC16F876AADC & tracking logic
→
◆A4988 DriversStep / direction
→
◆NEMA17 MotorsTwo-axis movement
→
◆Solar PanelTracked energy source
Project Video
Project Gallery
Actual project photographs and technical images.
Actual project photographs and circuit diagram
