Header Banner
wonderhowto.mark.png
Gadget Hacks Next Reality Food Hacks Null Byte The Secret Yumiverse Invisiverse Macgyverisms Mind Hacks Mad Science Lock Picking Driverless

Make Your Solar-Powered Projects More Efficient with This DIY Sun Tracker

Jun 29, 2012 04:09 PM
Solar panel with wiring connections.

Omniscience is not required to make some really cool shit happen. Yes, it took a while, but we can make fuel from the Sun! Solar panels are basically our answer to God. And now that we can make solar electricity, finding the most efficient way to harvest it is tricky.

Some solar farms are just acres of giant solar panels. Some are modular mirrors that direct the Sun to one super concentrated point on a single solar cell.

I would love to make a stadium-sized solar collector, but I lack the resources. Instead, I made a simple solar tracker using an Arduino and servo. I plan to mount this on a robot Mars Rover style, but it works just as well for stationary projects.

Materials

  • Arduino
  • 2 Light Dependent Resistors (LDRs)
  • 2 10k resistors
  • Servo
  • Solar panel (optional)
  • Wire

Setting Up the Breadboard

Connect up the circuit as shown in the diagram below. We are using two LDRs as sensors on analog pins 0 and 1. We are using the servo for output on pin 9.

Arduino circuit diagram with components connected on a breadboard.

Don't forget to power your Arduino!

Breadboard with components and wires connected for circuit assembly.

Here is how mine ended up looking.

Arduino circuit on a breadboard with colorful wires.

Code

There are tons of solar tracking Arduino programs out there and you should pick the one best suited to your project. I am only creating a one-axis tracker, but there are lots of online projects that explain the process for two-axis trackers.

The code for this project was taken from this guide for a two-axis solar tracker, so that if you add another axis later on, the code should still work fine. Download the code here.

Upload the code to your Arduino and bring the breadboard outside or to a lamp.

Test

Time to see what your solar tracker is made of. Power the Arduino and bring the whole system over to your lamp. When you move the lamp towards either side of the solar tracker, you should notice the servo pointing towards the direction of the sunlight.

Mount Panel

If you see your solar tracker working, it's time to mount up a solar panel. Strictly speaking, you could use a solar tracker for anything, from drying fruit to terrorizing ants, so don't feel obligated to buy a solar panel for this project.

You can just hot glue the breadboard to the servo horn if you want a super simple mount.

Electronics setup featuring a circuit board and colored wires.

However you mount the servo, panel, and LDRs, make sure the panel is facing the same direction as the light sensors.

Solar panel with wiring on a breadboard.

Above, if I had pointed the light sensors horizontally and the panel vertically, there would be at all times a perfect maximized sunbeam just out of reach of the solar panel!

Thoughts

Solar tracking usually only makes sense for small projects and special cases. The sun-concentrating mirror farms are much cheaper than both traditional solar and motorized solar tracker farms. On the small scale, I would love to create some animatronic flowers that follow the sun!

What would you do with a solar tracker? Let us know in the comments below or in the forum. As always, feel free to message me personally with any questions.

The next big software update for iPhone is coming sometime in April and will include a Food section in Apple News+, an easy-to-miss new Ambient Music app, Priority Notifications thanks to Apple Intelligence, and updates to apps like Mail, Photos, Podcasts, and Safari. See what else is coming to your iPhone with the iOS 18.4 update.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!