> Thanks all for the replies. More stuff learnt with every post. I just
> realised that oopic does not support double or float numbers? hmm
> this is because my application deals with controlling a stepper motor
> to move a solar tracker, not quite the usual applications that ppl
> use the oopic for. So i didn't realised when i ordered, how would i
> store a values from the calculations and calculate inverse. One more
> problem is i realised that only single step movement is possible for
> the stepper function. >.<
>
> Guess i have to make do, the oopic simple interfacing allows me to do
> the prototype that demostrates my solar tracking. Hmm perhaps i would
> list it as future improvement.
Why not just change from open-loop (time-of-day) to closed loop
tracking? When the sun goes down drive your tracker back to its
easternmost position. When the sun comes up, use a pair of light
sensors separated by a vertical baffle (parallel to the polar axis on
your tracker) with a light sensor on either side. If the panel is not
facing the sun, the baffle will shade one sensor or the other. Use
that do drive your tracking motor one way or the other until both
sensors see the same light level. Now you won't need to know the time
of day and your tracker will work just fine based on sun position.
Here is a bit of a diagram. Use a fixed-width font to view:
SSS
|
|
|
s | s
-------
P
SSS = sun
s = light sensor
P = polar axis (coming out of the screen toward you)
--
Brian Lloyd Granite Bay Montessori
brian AT gbmontessori DOT com 9330 Sierra College Blvd.
+1.916.367.2131 (voice) Roseville, CA 95661, USA
I fly because it releases my mind from the tyranny of petty things . . .
— Antoine de Saint-Exupéry
PGP key ID: 12095C52A32A1B6C
PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
No comments:
Post a Comment