Introduction: Sun Tracker - Arduino
The use of renewable resources for producing electricity is increasing. Solar panels are becoming more popular day by day. Solar panel absorbs the energy from the Sun and they transform it into electricity and also should absorb energy to a maximum extent. This can be done only if the panels are continuously placed towards Sun direction. So solar panel should continuously rotate in the direction of Sun.
This article describes about circuit that rotates solar panel toward sun.
Step 1: Components for the Project
For this project you will need:
- Arduino UNO
- Solar Panel (60 x 60)
- LED diod (representing the electricity from the solar panel)
- Servo motor (Tower Pro SG90)
- Four resistors (220 Ohm) for protecting GPIO pins
- Wooden box
Step 2: Wiring Up
First of all make sure that your Arduino is turned off.
Then each of the photo sensors should be connected with the resistors and each of them with the suitable analog pin(eastLDR on A0, westLDRPin on A2,,northwestPin on A4, northeastPin on A5).
The servo should be attached on pin 9.
The solar panel should be connected with the LED Diode.
Step 3: Coding
It is code turn now. In this section you have the code that you need for this project.
Do not worry about the understanding of the code, we did commented everything you should now.
The GitHub link of the code you can find it here.
Step 4: Evaluation
Connect the Arduino with your computer, put the code on the Arduino Software and the project is ready for testing.
Contributors: Aleksandar Trajkovski(151083) and Martin Shterjoski(151070).
We have a be nice policy.
Please be positive and constructive.