Introduction: DIY Arduino Solar Tracker

Hello Nerds

Previous week i saw an amazing instrcutable of Geo Bruce's nice and simple solar tracker.

So,i thought to make my own and here is the output.

It is inspired from Geo Bruce's Work.

Step 1: Items Required

Some items will be required which are easily available in electronic stores.

The items are as follows:-

1. 10k Resistor 1/4W X 4 Piece

2.10k Potentiometer X 2 Piece

3.4 Light Dependent Resistor

5.An Arduino Board

6.Cardboard(2 Rectangular Strips)

7.Some Jumper Wires

8.Glue

9.2 Hobby Servos (9g)

Step 2: Solar Tracker Module

To make this you have to cut two strips of cardboard.

Then Cut Small Length from the middle of the strips so that the two pieces of strips can intersect each other perfectly.(as shown in the images)

Glue them properly and fix 4 leds into each quadrant(each corner).

Voila! You made the solar tracker .

Step 3: The Circuit

The Top left LDR Goes to A0 Analog Pin.

The Down Left LDR Goes To A1 Analog Pin.

The Top Right LDR Goes To A2 Analog Pin.

The Down Right LDR Goes To A3 Analog Pin.

One of the two pins of all the LDR's Go Through The 10k Resistor to the Ground.

And the other pins are connected to positive pins in the breadboard.

Same with the two servos.The X-Axis servo's signal pin goes to Digital Pin 9 and the signal pin of Y-Axis Servo Goes to Signal Pin 10 of the arduino board.The positive wires of the servos are connected to the positive pins of the breadboard and the ground pins to the ground pins of the breadboard.

The two potentiometer's Ground and positive are connected with each other and also connected to the positive and ground pins in the breadboard.The variable supply pins of one pot goes to A4 pin and the other variable supply of the other pot goes to A5 pin of arduino board.

The 5V Pin of arduino provides power to the breadboard and the ground of the breadboard gets connected to the ground pin of the arduino.

Hence,the circuit completes!

now get ready for the coding!

Step 4: CODE

Just Paste this code given in this instructables.

The solar tracker should work!

If your solar tracker is malfunctioning , please check if there's any faulty or lose connections in the ldr's wires which goes into the breadboard and check the breadboard too.

THANK YOU FOR READING!

Step 5: