|
Re: Can the CMU cam track the sun
Don't bother with the CMUCam!
Here is a simple way to do it with two photocells, some cardboard or thin wood, and an op-amp:
Place the two photocells on a rigid platform attached to the solar cells' mounting platform in the same plane. Stand the cardboard up beween them so that one photocell is partially shaded if the sun is at an angle relative to the solar cells. Now, if you drive the inputs of an op-amp difference amplifier with the photocell outputs, and drive the platform motor with the output of the op-amp (after a suitable power amplifier!) the solar cells should always track the sun.
If you want it to also track in the azimuth, then duplicate it, just orient the photocells and cardboard 90° to the original set.
DO NOT EVER point the CMUCam directly at the sun! It will burn a hole in the vision sensor after a few seconds! Even sunglasses may not help much here; you would have to make sure they block out infrared as well as visible light.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).
Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809
"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine
If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.
"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous
I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
|