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:

Comments

author
Tchakounte Hyacinthe (author)2016-06-20

Great work, thank for sharing. Please, How can i do to increase the sensibility of LDRs and the speed of servo?

author
Tchakounte Hyacinthe (author)2016-06-20

Great work, thank for sharing. Please, How can i do to increase the sensibility of LDRs and the speed of servo?

author
AdrianL19 (author)2015-10-27

mine servos do not move at all, can you give me some ideas>

author
lheise (author)2015-06-09

Mine is not working... can you help me??

author
abhirooprobotics (author)lheise2015-06-10

Yes ofcourse.

Just tell me what problem are you getting.

author
lheise (author)abhirooprobotics2015-06-11

i dont know hahah, sometimes when i pt the ldr`s in one way, the solar tracker follow the sun just on the x axis, sometimes when i chage the ldr`s just follow on y axis, and sometimes dont follow, the solar tracker tries to escape from the light...

I am amost 100% that is the order that i put the ldr`s, but i cant make it work..

Sorry fot my english, i am brazillan.

Thanks

author
abhirooprobotics (author)lheise2015-07-01

Just make some changes in the code and it will work.

I had also encountered the same problem .I fixed it by altering the horizontal and vertical axis part of the code.

Also check the wiring of LDR's.

author
lheise (author)lheise2015-06-11

Put***

author
tomatoskins (author)2015-04-25

Such a cool design!

author

Thanks!
Its inspired by Geo Bruce's Solar Tracker.

author

Does this design run smoothly, accurately and does it return to start;. goes to start point in the morning?

author

yes it works smoothly.

No it does not returns to the original point as it will be very much annoying.

author
mimax (author)2015-06-21

Not tracking properly!How I do it to change the sensitivity within the code.I'm debugging dtime and tol two parameters, and sensitive but I don't like your vedio can quickly follow the moving light, what reason be?

author
abhirooprobotics (author)mimax2015-06-21

The code is alright.Worked for me.

My first error came when the connections of LDR were not properly done.Check the connections of LDR to Ardunio and see if its not loose or something.

If its working byt not tracking properly , try editing the code i.e Changing the horizontal and vertical values.

About This Instructable

4,580views

69favorites

License:

More by abhirooprobotics:Arduino Temperature and Humidity on 7 Segment DisplayMains Hum Detector / Static Electricity DetectorArduino Temperature and Humidity Display With 7-Segment Display
Add instructable to: