HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  RESOURCE CENTER  |  INDUSTRIES
REGISTER   |   LOGIN   |   HELP
Blogs
Gadget Freak
Gadget Freak Case #217: Finding the Sun With a Microcontroller
6/22/2012

Image 1 of 2      Next >

Jerald Cogswell's sun finder multiplexes 64 light samples to one microcontroller pin.
Jerald Cogswell's sun finder multiplexes 64 light samples to one microcontroller pin.

Image 1 of 2      Next >

Return to Article

View Comments: Newest First|Oldest First|Threaded View
<<  <  Page 2/5  >  >>
componenx
User Rank
Iron
Re: Any Analog Solutions?
componenx   7/2/2012 4:24:00 PM
NO RATINGS
I built a a simple tracker in the mid-80's using 5 small, matched solar cells, voltage comparators and two shading strips.  I forget how the motors were driven, just that it wasn't very pretty and it used dual battery packs.  It worked really well, though.

 I've also seen a cone shaped design which had 4 parallel holes with CdS cells at the bottom and a reference cell at the tip.

78RPM
User Rank
Silver
Re: A question of efficiency
78RPM   6/29/2012 12:13:23 AM
NO RATINGS
Dear Mydesign,

Have fun making the circuit and entering the program.  I hope the focus of the device shifts to its multiplexing purpose. Everyone is focused on the solar application, but the sensors can be anything.

The program compares TWO banks (vertical and horizontal) of 30 analog sensors EACH. It uses one-byte precision or a maximum of 256 digital values.  256 divided by 30 sensors gives approximately 1 in 8 chance of two sensors having the same value.  If you modify the PIC program to sense all 64 possible switches of the MUX into one pin of the MCU, you should consider right justifying the bits to get 10 bits of precision or 1024 values. This involves modifying the code at comments provided in the code. Contact me with any questions.

Think of other applications for MULTIPLEXING now.

The author.

kf2qd
User Rank
Platinum
Interresting solution -
kf2qd   6/27/2012 10:33:32 AM
NO RATINGS
That freon, or maybe Propane as it has some similar properties and is somewhat cheaper, solution for moving the collector is an interresting solution. I'll have to think about that one.

Rob Spiegel
User Rank
Blogger
Re: A question of efficiency
Rob Spiegel   6/26/2012 1:50:34 PM
NO RATINGS
Hi Mydesign. The source code has now been added to the end of the build instructions. So, click on the build instructions link and you're there.

Mydesign
User Rank
Platinum
Re: A question of efficiency
Mydesign   6/26/2012 5:21:00 AM
NO RATINGS
1 saves
Rob, oh that’s great. I think there after we can make/test the same product in our own lab. Hope you will provide the source code without much delay.

Gregarious2
User Rank
Iron
Re: Not very simple
Gregarious2   6/25/2012 7:58:07 PM
NO RATINGS
Aloha kaua...

Yep, the analog quad cell / baffle arrangement worked well for detection but in a purely analog system, the servo motors were always being tickled. Digital lets you add hysteresis, averaging and any other sort of condition mediation you'd like. It's also stepper friendly. It works pretty well here in Hawai'i but I did much of my tracker work in Seattle, land of grey skies. 

Everyone usually manages to settle on a solution that works for their situation ( cost, available parts, space, time,  etc..  ) It's fun to learn from the diversity.

At 40-60K$ for a home PV system, I want to see every watt I can possibly get. I wonder if the contractor panels have to be marked" this side up"?

Charles Murray
User Rank
Blogger
Re: Today's method?
Charles Murray   6/25/2012 7:36:27 PM
NO RATINGS
Nice work, Jerald. What I find interesting about your design is that it uses a solution that a human brain would use. No human would calculate the sun's position in order to find it quickly. Asking, "where's the sun?" should work for machines, too.

gsmith120
User Rank
Platinum
Re: Great Project
gsmith120   6/25/2012 7:25:18 PM
NO RATINGS
Nancy, I agree this is a great project.  PIC processors are used a lot of places.  I have played around with their development kits.  It's always nice to see/read about the different projects people develop. 

cvandewater
User Rank
Gold
Re: A question of efficiency
cvandewater   6/25/2012 7:08:28 PM
NO RATINGS
@kf2qd: You probably never measured the output of a solar panel when a cloud appears. It is simply actually - the output power is linear with the amount of light.

Since it does not get pitch dark when a cloud appears, the solar panel does not stop delivering power. It may be half the amount and on very severely overcast (dreadful dark grey rainy days as there are in The Netherlands) the output may be in the order of 10%, but they still deliver power.

Since the tracker should consume a minuscule amount of power, it has a very large gear reduction since it does not move fast, so it can be powered by a small motor and even that motor needs to operation only part time, there is no reason to stop tracking when "the sun disappears" behind a cloud. The power consumed by the tracker should be in the order of 1% of the array output and it has the potential to double the daily energy output - depending on latitude and shadowing.

At the end of the day the panels are typically parked in more or less horizontal position anyway, which is safety in case a storm comes at night.

Note that the tracker will not lose the sun even when it is clouded for a long time, since the sun has a predictable path. So, as long as you do not completely reset your tracker and it has either a clock or knowledge of the previus sun position it can continue to point the panels to the correct position even when it has no good measurements for some time (or ever - it may be completely based on time and latitude to calculate the sun position).

I wonder why so many sensors were used. I know that it is in theory possible to make a tracker with a single photo sensor, but the simplest systems I have seen always use two pairs of sensors, one in X and one in Y direction to find the sun when starting from any orientation.

78RPM
User Rank
Silver
Any Analog Solutions?
78RPM   6/25/2012 6:59:30 PM
NO RATINGS
It's me, the author again. Does anyone have a good circuit for Gadget Freak that finds the sun with analog comparators?  I tried using several op amp comparators all voting on who had the brightest signal. It didn't work very well. Show me where I went wrong. Maybe you used your method for some other purpose.

Jerald Cogswell

<<  <  Page 2/5  >  >>
Partner Zone
More Blogs from Gadget Freak
A team of Colorado State University students has created a gadget that guides a remote control airplane through the sensors in a glove.
Jerald Cogswell created a sonic telescope to grab sound and bring it as close to the user as the image.
Bernard R. Smith Jr. created a bridge rectifier that eliminates the flicker in LED light strings.
Thomas W. Manning created an automatic switch that uses a solid state relay to adjust the florescent lights in his garage automatically.
Jitendra Tailor's gadget uses a proximity sensor and a flashing LED to tell his family members when to load or unload the dishwasher.
Design News Webinar Series
5/15/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
5/1/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
5/22/2013 9:00 a.m. California / 12:00 p.m. New York / 5:00 p.m. London
5/29/2013 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
Blogs from Our Sponsors
From Dell / Intel®
New Paradigms in Design Work
Scott Hamilton, vertical market strategist for Dell Precision workstations, 5/2/2013    3
Early in my career, I worked as a draftsman and remember the days of drawing on vellum with numbered pencils and Mylar with plastic lead. This was a fun experience in the sense that I ...
From Dell / Intel®
Increased Workstation Performance Is as Easy as 'DPPO'
Trey Morton, Dell, 4/25/2013    2
I've been using workstations for more than 10 years and love finding ways to get more performance from my system. With demanding professional applications that require more power each ...
From Dell / Intel®
Taking Some of the Grit out of Manufacturing
Kirsten Billhardt, Manufacturing Industry Marketing Strategist, Dell, 3/26/2013    5
A lasting memory from my first job as an engineer in an auto assembly plant is standing on hard concrete at six in the morning, vending-machine coffee clutched in hand, listening to ...
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
May 20 - 24, Automation Technologies & Trends for Smarter Homes & Buildings
SEMESTERS: 1  |  2  |  3


DN Radio
Sponsored by
NEXT UPCOMING BROADCAST
A quick look into the merger of two powerhouse 3D printing OEMs and the new leader in rapid prototyping solutions, Stratasys. The industrial revolution is now led by 3D printing and engineers are given the opportunity to fully maximize their design capabilities, reduce their time-to-market and functionally test prototypes cheaper, faster and easier. Bruce Bradshaw, Director of Marketing in North America, will explore the large product offering and variety of materials that will help CAD designers articulate their product design with actual, physical prototypes. This broadcast will dive deep into technical information including application specific stories from real world customers and their experiences with 3D printing. 3D Printing is
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Copyright © 2013 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service