Skip to content

sshokoor/solarTracker

Repository files navigation

Solar Tracker

Image

A program using Astropy library and Raspberry Pi to control a servo to get maximum sun exposure, it involves tracking the position of the sun in the sky and adjusting a servo motor to align a solar panel or other device with the sun's rays.

Authors

Installation

To use this solar tracker you will need Python 3.7 or later. You will also need to install the astropy library with pip, as well as pytest to run the test code.

  pip install -r requirements.txt

Usage

  • To use Solar Tracker you will need two devices:
    • Raspberry PI and a Servo.
  • You will need to ssh into your Raspberry PI in order to control the servo
ssh <IP address>
  • Then you will need to clone the repository onto your device
git clone https://github.com/sshokoor/solarTracker.git

Resources

  1. Astropy : astropy documentation for using date and time
  2. Solar Calculator : solar calculator we used for reference to test our azimuth and altitude calculations
  3. Servo Documentation : documentation for the Servo Driver HAT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages