This is really cool. However, since when did the position of the sun become unpredictable requiring us to "find" it. By the way - you could also look up "fearlessthinker" on youtube. He has built a similar sun tracker.
This is indeed a clever solution to a non-problem. We would really need it if the sun behaved like an aerobatic airplane. In actuality it "moves across the sky" at a reliable 15 deg/hour, so a simple clockwork or synchronous-motor heliostat is perfectly adequate. Even if there were a small aiming error, the derivative of the cosine is very weak in the vicinity of 0 deg, so your solar panels would still produce full output.
Jerald, your project is wonderful and stimulating on a number of levels. It is simple and elegant, from the design, to the selection of microcontroller for your purpose, to your use of multiplexing. Perhaps I have missed something, but is source code available for this project?
Thank you so much for sharing this excellent design.
Nancy, Microchip provides a variety of cool PIC micrcontrollers and tons of great app notes and source code examples. I've used them in several projects and the ease in which to get them running is truly amazing. This project is just one of several examples of how microcontroller technology can easily be implemented. Great project idea!
Your question is exactly the one I asked when I started the project.
Their methods are probably proprietary but I believe most of them would use the brute force method of calculating the sun's position. If one searches for solar position calculations, one finds that the calculation is far from simple. While C code is available free online, it would take a microcontroller that supports a multiple precision instruction set, an input of latitude/longitude, current time, real time clock, look-up trig tables, etc. While my approach is not purely minimalist, I wanted my device to just look up and say, "Where's the sun?"
I think this is a great project - very useful for efficient collection of solar energy! I particularly like PICs for these types of projects - they are so versatile and just plain fun. The inexpensive programmers that Microchip sells don't break the bank either and their MPLAB IDE is free and very user friendly. Great job!
Thanks, Beth, I'm working on documenting my work with directing a motor to do the output portion of this project. For now, I hope others see its usefulness as an input device to multiplex many inputs to a single pin. -- Jerald C
Yes, Naperlou, I tried using two photocells to find the brighter direction right/left. The trouble was that after the motor and photocells turned, they now found another decision -- go right or left. The motor turned erratically. I looked at charts of the sun's path and found that 110 degrees of east/west scan would be a useful range of solar energy for any latitude up to 49 degrees. 30 samples gives us 3.67 degrees of precision, so the the microcontroller could go to sleep for 3 minutes between scans. -- Jerald C
This could also be used for tanning. Either instructions could be given to the user, or a movable platform could be moved automatically. The microcontroller could allow one to add an audible roll over tone.
All kidding aside, it is interesting that Jerald found he had to use so many photo transistors, and that he had experimented to find the result. Good work.
In our third annual contest, Design News and Allied Electronics are going to crown a winner in early 2016 for the best reader gadget submission this year, and once again, you, the readers, are the judges!
The Attack Dyno brings car enthusiasts an attack timer and dynamometer in a small, portable package with the ability to output vehicle torque, speed, horsepower, 1/4 mile times, 0-60 mph acceleration times, ambient air temperature, and more.
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.