loading
Picture of Portable Solar Tracker (No microcontroller required!)
Ever wanted to keep your solar panel in full sun all day long without having to constantly move it?  A solar tracker may be the answer.  This tracker has the advantage of being portable - if you move it, the tracker will automatically adjust back to the sun, unlike the chronological solar trackers.  Another strong point of this solar tracker is its cost - there is no microcontroller or other expensive parts.

Principle of operation:
   To track the sun, this device uses 4 photoresistors arranged in a wheatstone bridge configuration.  A quad comparator controls movement.  One comparator acts as an oscillator to have the device turned on a small fraction of the time.  2 comparators 'decide' whether to yaw or pitch the solar panel, and the other comparator acts as an inverter.

Step 1: Round up the parts

Picture of Round up the parts
Solar Tracker_schem.jpg
Solar Tracker_bb.jpg
IMG_0501 wood labeled.jpeg
Parts List:
1 breadboard

1 L298N H-Bridge motor driver

preformed jumper wires

4 male-to-female wires (this is a pack of 40)

AWG 24 wire (for connecting solar panel to breadboard)

1 lm324 quad operational amplifier IC

solar panel of your choice with mounting holes (I used a 20V solar panel, but as long as your solar panel is between 5V and 32V, you should be fine).  If the solar panel is over 32V, you will exceed the maximum supply voltage to the lm324.  If the solar panel is below 12V, you may need a 12V battery to power the H-bridge.

1 220uF capacitor (make sure the voltage rating is greater than or equal to the voltage of your solar panel.  You only need 1 of these, even though the link shows a pack of 25).

4 2200uF capacitors.  (make sure the voltage rating is greater than or equal to the voltage of your solar panel.  You will need a capacitor with a higher voltage rating than this one if your solar panel exceeds 25V.  You only need 4, but the link shows a pack of 20.  If you want higher surge current capability, you can use all 20).

1 motorized rotating base (I used a "Hoberman Actuator" (which I believe is no longer sold).  here is a similar item  You need something that you can attach your solar tracker to that rotates slowly)

4 photoresistors (comes in pack of 20.  You only need 4 photoresistors)

1 IRF3205 N-MOSFET transistor (comes in a pack of 5.  You only need 1 MOSFET, but these puppies are fragile.  I reccomend buying a pack of at least 2 in case you break one).

4 signal switching diodes (This is a pack of 30.  You only need 4)

Resistors (You may want to buy a resistor kit if you plan to build other circuits.  Just be sure your resistor kit contains all the resistors required for this project)
   -1 100
   -4 1K
   -3 3.3K
   -3 10K
   -1 47K
   -3 100K
   -1 1.5M

1 geared motor (I used a K'nex motor.  Must have a shaft to which a string can be tied)

Wood Pieces:
   1 1/2" thick wooden board, approx. same length, width of the solar panel (From now on, this piece will be called "wood1")
   1 1"x2"xA" board, where A is about 2" to 3" more than solar panel width (From now on, this piece will be called "wood2")
   1 1"x2"xB" board, where B is about 1" more than the solar panel width (From now on, this piece will be called "wood3")
   2 1"x2"xC" board, where C is approx. solar panel length (From now on, this piece will be called "wood4")
   2 1.5"x1.5"x1/2" wood blocks (From now on, this piece will be called "wood5")
   2 3" long, 3/8" diameter wood dowels (From now on, this piece will be called "wood6")
   1 1"x3"x1/16" wood strip(From now on, this piece will be called "wood7")
   1 1/2"x1/2"x2" wood block(From now on, this piece will be called "wood8")
   1 breadboard-sized wood piece(From now on, this piece will be called "wood9")

Fasteners:
   6 1.5" long wood screws
   6 3/4" long screws
   3 bolts
   3 nuts that fit the bolts
   wood glue
optional parts:
   1 tactile button switch (This is a 10-pack.  You only need 1).  By using this optional switch, you can turn on the H-Bridge at any time without having to wait until the oscillator signals to turn on.

   1 330K resistor (must use this if you you the tactile button switch)

Tools requried:
drill
screwdriver (phillips and flat head)
adjustable wrench
allen wrench
 
laizo5 months ago
spencerearly (author) 1 year ago
Thanks. Did you build one and get it to work? I have always had trouble with the baseplate rotation and I took mine apart.
I built the circuit exactly as it was down on Fritzing, but it doesn't appear to operate correctly. Has anyone actually built this and gotten it to work?
spencerearly (author)  michael.julbe017 months ago

Specifically, what is the problem? Is power appearing to be supplied?

Sorry for the delayed response. I had disassembled the circuit before you replied and I wanted to reassemble it before replying so I can be as detailed as possible.

I reassembled verifying and reverifying each placement in the board by removing each piece from the breadboard view as I physically placed it into my breadboard. I also double-checked by disabling the parts view and alternatively the wire view to verify that I placed everything in the right place.
When power is initially placed on the circuit, nothing noticeable takes place.
Pressing and holding the momentary switch activates the circuit with the following characteristics:

Even lighting on Up/Down Photoresistors= Up/Down Motor is still
Light on Up OR Down= Proper operation of Up/Down Motor
Even Lighting on Left/Right Photoresistors= Motor spins clockwise
Light on Left Photoresistors= Motor continues to spin clockwise
Light on Right Photoresistors= Motor Stops

Left/Right motor does not spin counter-clockwise under any test applied to my circuit.

Hopefully you can spot my mistake if I placed a part in the wrong location.

Also, What is the function of the momentary switch supposed to be exactly. I am not sure I understand the circuit that well to know what it is supposed to do.

Thank you for your assistance and time. I truely appreciate it.

20150216_113502.jpg20150216_113516.jpg
spencerearly (author)  michael.julbe016 months ago

The way you described the operation, there are no problems.

What you call the Left/Right motor, I will call the yaw motor. The term "Left/Right" motor is misleading because that motor can only turn in 1 direction. If you are in the Northern hemisphere, the yaw motor should only turn clockwise (looking down at the tracker). If you are in the Southern hemisphere, the yaw motor should only turn counter-clockwise. As long as the motors are rotating in the correct directions (given your description, and assuming you are in the Northern hemisphere, they do) there is no problem.

The circuit was not designed to allow the yaw motor to turn in both clockwise and counter-clockwise directions for simplicity's sake - the Sun will not unexpectedly change directions as it moves across the sky (hopefully). The disadvantage of this is that at the beginning of each day, you will probably have to manually turn the tracker to its initial position.

The purpose of the momentary switch is described in the "Parts list" in Step 1,

"1 tactile button switch (This is a 10-pack. You only need 1). By using this optional switch, you can turn on the H-Bridge at any time without having to wait until the oscillator signals to turn on."

The circuit should make the motors move for a brief "burst" every several seconds. The button is there so you can press it without having to wait to see if the motors are moving in the right directions. Other than that, the button has no purpose and may be eliminated.

I hope that helps explain.

oh. I understand. I misunderstood its operation.

The design I am using this on has two motors that turn a threaded rod. Granted one of the axis will not move very often; however, I do want it to adjust to have the panels face the sun directly every time.

Its been a very long time since I was in electronics basics class, so I am quite clueless on the design of what I am looking for.

I can, however, follow a schematic. Do you think that it would be possible for you to modify this circuit design so that both axis respond to the light source? and if so, would it be possible to still use the same quad amp and motor driver?

I can't seem to find a design that will manage two axis anywhere online .

The closest I found was this one on YouTube:

The problem is that I don't want it to have a separate power source. That is redundant. I like that I can use the power from the panel/battery bank to supply the voltage needed for your circuit.

What do you suggest?

spencerearly (author)  michael.julbe016 months ago

Interesting design from YouTube. I'm not quite sure how it works. I'll look into it and try to get back to you in a few days. It looks like they might be using some sort of a "centre tap" motors (motors with 3 terminals). Also, don't try building the circuit from YouTube unless you use flyback protection diodes for the relays (the schematic linked in the video description http://g-e-i.net/tracker/Circuit_Diagram.jpg does not use flyback diodes). Otherwise, you may damage the op-amp. Use this circuit:

http://www.siongboon.com/projects/2006-06-19_switch/flyback_diode.gif

and connect the output of the op-amp to the open terminal of the resistor. The transistor (not included in the design from YouTube) amplifies the current from the op-amp to drive the relay.

I would recommend modifying my design over the YouTube design since I understand how mine works better.

Are you wanting the yaw motor to be able to rotate in both directions? If you want to modify my design to get that capability, you would need to have an additional op amp, requiring a total of 5 op amps (which would require another lm324 quad op amp chip). I'll post a picture of the modified (but untested) schematic in a few days, if you want.

I also have enough supplies. I ordered in bulk all of the parts you suggested
Yes. I want the yaw motor to go in both directions. The other main feature i like about your design is that it doesn't require a separate power supply to run the circuit
avelyn9411 months ago

Does the tracker needed power to works?

spencerearly (author)  avelyn9411 months ago
Yes. Look at the schematic(http://www.instructables.com/files/orig/F8B/45QZ/HJKC7VE8/F8B45QZHJKC7VE8.jpg). There is a power source labeled Vcc1 3V, but I used my 20V solar panel. I had to label it 3V because I couldn't find any 20V power source in Fritzing.

Also from step 1, "solar panel of your choice with mounting holes (I used a 20V solar panel, but as long as your solar panel is between 5V and 32V, you should be fine). If the solar panel is over 32V, you will exceed the maximum supply voltage to the lm324. If the solar panel is below 12V, you may need a 12V battery to power the H-bridge."

Did I answer your question?

yes. I had another question is what if the battery is out of juice will the tracker still be able to function?

spencerearly (author)  avelyn9411 months ago

There is no battery. The tracker is powered by the solar panel (the same solar panel that is mounted on the tracker). Whenever the tracker moves, usable power output from the solar panel drops, so making the tracker battery powered might be a good idea.

which mean if there is no sunlight available and the battery ran out of juice, the tracker will not be able to function when we required to tracker to track sunlight.

spencerearly (author)  avelyn9411 months ago

If there is no sunlight, it doesn't matter if the tracker can function because you can't power anything with the solar panel in the dark

erm.. for example there is sunlight on the right and the solar panel is facing to the left does that mean it will not be able to move because the battery is out of juice and its facing to no sunlight direction?

spencerearly (author)  avelyn9411 months ago

If the sun is in the west, but the solar panel is facing east, all of the photoresistors will be in the shade and the direction the tracker should turn is ambiguous. Look at the picture:

http://cdn.instructables.com/F4Z/HHBN/HKDFFVCK/F4Z...

The photoresistor on the left is in the shade. The circuit interprets this information and tells the tracker to rotate the solar panel (along with the photoresistor assembly) in such a way that all of the photoresistors are in direct sunlight.

In short, if the sun is not shining directly on the solar panel, the tracker doesn't know which way to turn since all photoresistors are in the shade. However, the diffuse sunlight should still be able to power the tracker.

gtoal1 year ago

How much did the tracker cost to build, and how much improvement did it give you in terms of total energy collected?

If you spent the same money on more solar panels or a larger panel, that didn't track, how much more energy would you collect?

I've not found any trackers at this small scale that are cost effective compared to just adding more real estate. They only really come in to their own on big arrays.

spencerearly (author)  gtoal1 year ago
This was quite cheap. The breadboard was $6 and the dual H-bridge motor controller was about $10. The cost of everything else was under $10 (I think) if you used scrap wood for free and scavenge through junk for a geared motor. You can look at the products for sale listed in the links at http://www.instructables.com/id/Portable-Solar-Tracker/ under "Parts List:"

I didn't do any quantitative tests comparing energy collected with vs without tracking, but I would say I got at least a 30% increase compared to moving the solar panel manually 3 times per day. Considering that my 10W solar panel was $80, an extra 30% would cost $24 extra in solar panels. So I guess I actually lost a little money.

You are right that the big arrays are cost effective, since the tracking technology used on a 10W panel can be used on a 10KW panel (but with more mechanical stability). Think about the other extreme of the spectrum - what if those little solar cells in calculators had tracking technology? So much cheaper just to add more cells!
hguzman31 year ago
Hi there, was wondering what was the wattage rating on the resistors that you used in this project. Thanks!
spencerearly (author)  hguzman31 year ago
I used 1/4 watt resistors. You should be fine as long as the wattage rating is at least 1/8 watt.
billgeo1 year ago
Thats just perfect!
Thats all you need for a good tracker.
I always thought that a micro for this job is an overkill!!!
Great instructable...