Project tutorial
Arduino Sun Tracker Turret

Arduino Sun Tracker Turret © CC0

Follow the sun with Arduino! In this tutorial, we'll be building an Arduino based Solar Tracking Turret.

  • 33,172 views
  • 1 comment
  • 160 respects

Components and supplies

Asm rg turreta
RobotGeek Desktop Roboturret
×1
Rg rotknob a
RobotGeek Rotation Knob
×2
Rg light a
RobotGeek Light Sensor
×4
RobotGeek Small Workbench
×1
A000066 iso both
Arduino UNO & Genuino UNO
The RobotGeek Desktop RoboTurret comes with a Geekduino, but you can use official hardware from Arduino if you prefer.
×1
DFRobot Analog UV Sensor V2
OPTIONAL: In place of the light sensors, you can use UV Sensors if you'd like to accurately report the UV index for your project.
×4

Apps and online services

About this project

Follow the sun with Arduino! In this tutorial, we'll be building an Arduino based Solar Tracking Turret. Most commonly, these are used in Photovoltaic systems to maximize the surface area of sun exposure on solar panels. This is an easy build, so let's get started!

Step 1: Assemble the Turret

Follow the Desktop RoboTurret Assembly Guide. Once your turret is built, there are many ways to build the top portion of the tracker. General advice for building the top portion: Attach your sensors to the top plates as close to center as possible. Shown in the first picture is the simplest way to get all of your sensors near center. Notice the wiring through the plate, kept loose so that there aren't any snags as the turret aims itself. The fins are 8 inches tall, which should be plenty to cast shadow on the sensors. I've used scrap cardboard for the fins, but you can use whatever material suits you best, so long as it is opaque and can throw a shadow. At the back of the turret base, there is plenty of room to mount your two potentiometers. one controls speed, the other controls the sensitivity threshold for the light sensors. Mounting them to the base allows you to fiddle with them to easily dial in your settings once you have it running.

Step 2: Wiring

Follow the Wiring Diagram carefully to hook up your electronics. Mind the position of your Light Sensors, as putting them in the wrong spot will cause strange behavior. Also mind that your jumper for the servo pins 9, 10, and 11 is set to VIN, so that your servos function properly.

Note: A 6V power supply will work just fine, and is included in the RoboTurret Kit.

Step 3: Programming

Download the desktopRoboTurretV3 sketches from Github if you haven't already, and extract it to your Arduino folder. Open up:

File → Sketchbook → desktopRoboTurretV3 → roboTurret3_solarTracker

and upload it to your Arduino.

Power up your turret, get a lamp ready, and start fiddling with the knobs! You'll notice as you adjust one of the knobs, the turret will turn faster or slower. As you adjust the other, the light sensitivity will rise and fall, giving you different behavior. Adjust these knobs until your turret tracks the light smoothly, and you're ready to get some sunburn!

Step 4: Let there be Light!

You've made a robot that just can't help but stare directly at the sun! What will you do now? We'd suggest looking into making your own solar panel to throw on it so you can reclaim the energy lost by the servos and maybe charge a cell phone while you're at it? What would happen if you swapped out the Light Sensors for something like a Flame Sensor or UV Sensor? Let us know what you come up with, we'd love to see it!

Code

Github
https://github.com/robotgeek/desktopRoboTurretV3/archive/master.zip

Schematics

Wiring Sun Tracker
Wiring Sun Tracker
Ldxdhsuwsj4dqlc7gvne

Comments

Similar projects you might like

Solar Panel Sun Tracker - Phone Charger

Project tutorial by FIELDING

  • 27,297 views
  • 11 comments
  • 118 respects

Solar Tracker with Live Data Feed - Windows IoT

Project tutorial by Jed Hodson

  • 10,819 views
  • 1 comment
  • 19 respects

Non Optical Solar Tracker (East Tower 2.4KW)

Project in progress by Team Trouble

  • 4,593 views
  • 8 comments
  • 29 respects

Controlling an Arduino Turret with IR Remote

Project tutorial by Team RobotGeek Projects Team

  • 4,101 views
  • 1 comment
  • 17 respects

Solar Charged Battery Powered Arduino Uno

Project in progress by Igor Fonseca Albuquerque

  • 60,690 views
  • 46 comments
  • 124 respects

Dual Axis Solar Tracker Panel with Auto and Manual Mode

Project tutorial by Giannis Arvanitakis

  • 7,142 views
  • 6 comments
  • 37 respects
Add projectSign up / Login