Sunlight Director is a device which allows you to direct reflected Sun to a predefined location. As the Sun moves, Sunlight Director adjusts the angle of the mirror to make sure that the reflected rays continue to hit the same spot.


Sunlight Director was created to better utilize the sun's energy. By directing the sun's light to where it is needed, it is possible to:

  1. Generate productive warmth such as heating buildings during the Winter, or complement other energy sources to produce hot water
  2. Generate electricity, by vaporizing water into steam, which then turns the turbines
  3. Sending sunlight into special light-conducting ducts can complement indoor lighting


Often, the sun's energy is not where our needs require it. Hence, we have developed heating and air-conditioning technologies, to compensate for too little, or too much Sun. With one or more Sunlight Directors, users can send the sun's energy to where it is needed.


The solution uses a pan/tilt platform, set of sensors, and a microcontroller to change the direction of the mirror. The mirror's position makes sure that the sun's reflected light always hits the predefined location.

The mirror is attached to the arms at a point which is equal in distance from the pivot point. If the Sun-tracking arm always points to the Sun, while the Target arm always points to the target, then the mirror will form an Isosceles Triangle. This way, incoming rays are parallel to the Sun-tracking arm, hit the mirror, and are reflected exactly along the Target arm.

Step 1: Mechanical and Electric Setup

A. The light path setup:

- Sun-tracking arm (moving)

- Target direction arm (fixed)

- Mirror (attached to both arms equidistant from the pivot point)

The Sun-tracking arm is fixed to the pan/tilt base. As the base pans and tilts, so will the Sun-tracking arm. Target arm points to the object we want to illuminate. This arm is fixed in place, so that it always points to our target object.

The mirror is attached to both arms. It has to be able to slide onto one of the arms, to maintain the equal distance from the pivot (see photo showing a slit in the mirror platform). The goal is to make sure that the mirror is equidistant from the pivot, regardless what the angle between the arms is - this way, the light comes in along the sun-tracking arm, and is reflected along the target arm. The mirror also has to be perpendicular to the plane of the two arms.

B. Electronic Setup

This specific implementation uses the following components:

1) Intel Edison microcontroller

2) Grove light sensors x 4

3) Grove sensor shield

4) Electrical Relays x 4

5) Pan/Tilt Camera base (can be obtained online http://www.mcmelectronics.com/product/82-12440?sc...

For this project Intel Edison provides:

  • WiFi connectivity
  • Analog inputs and digital GPIO
  • Sufficient computing power to develop complex applications

The four sensors are arranged in 2x2 matrix, with a barrier separating them. The four quadrants allow us to know how to better position the sun-tracking arm. For left/right decision, we sum up light values from sensors 1 and 3 and compare the result with the sum of 2 and 4. For up/down decision, we sum up values from sensors 1 and 2 and compare result with 3 and 4. If the percentage difference is greater than the threshold value (5%), we send a move command.

The sensors supply microcontroller with information. Microcontroller decides if the arm needs to be re-positioned. Motion is performed using a security camera pan/tilt base. This particular base uses high voltage inputs, so we need to control AC current using relays. This part of the implementation is specific to the base you are using. In our case, we needed two relays per dimension. For each dimension, first relay controls power, second relay controls direction.

Step 2: Code

The code

The attached C++ code was developed in Eclipse, with Intel IoT plugin. Using Intel's IoT toolkit it is possible to build and deploy the application to Edison, right from within Eclipse.

The source code has comments describing the purpose of each major section.

Step 3: Demonstration

This video shows how the sun-tracking arm moves toward the sun. At about 40 seconds, the arm reached the brightest area and started to move back and forth (this vacillation can be avoided by increasing the threshold value).

The moving device is another project...<br>I would like to understand your project first but I couldnt understand yet, maybe you can post a video showing the device working for another angle?<br>The video does not show it well.<br>Thank you.
<p>Hello friend.<br>I'm trying to understand the &quot;target arm (fixed)&quot; but it is not very clear or I'm missing something.<br>Can you explain better? Maybe show something?<br>Thank you.</p>
<p>Thanks for asking. Basically, there are two arms between which the mirror is attached. In this design, one arm needs to always point to the sun, the other arm needs to always point to the target. My assumption is that target is stationary. In that case, the arm which points to the stationary target can be fixed (in other words, &quot;not moving&quot;). Does this help?</p>
<p>You mean, the &quot;fixed&quot; arm is not really necessary?<br>Just the moving arm with the mirror attached?<br>My idea is to point always to a fixed target, same as yours.<br>I have another idea, which was to put this system in a device like a gun, then it always throw the light forward, but I'm not sure how to this as the entire device will be moving.<br>Thanks for your answer :D</p>
<p>Hi, if the device is moving, then you will need to make sure that the &quot;fixed&quot; arm always points at the target, and the sun-tracking arm, always at the sun. In this case, both arms will be moving. Sounds like an interesting project. Definitely let me know if you decide to build it and get it working.</p>
<p>This is a heliostat.</p>
<p>This is an interesting idea. Thanks!</p>

About This Instructable



More by robosuncatcher:Sunlight Director 
Add instructable to: