Using OpenMV for solar tracking

Discussion related to "under the hood" OpenMV topics.
mike14mile
Posts: 2
Joined: Tue Jul 05, 2016 4:34 pm

Using OpenMV for solar tracking

Postby mike14mile » Tue Jul 05, 2016 4:44 pm

Hi, thanks for the hard work guys, all the examples seem to be working well for me.
I'm starting a build and wanted some advice. I have an array of solar panels that are stationary today. I'd like to start moving them to track the sun through the day.
I was going to use the Openmv to detect the location of the sun in the sky (thinking it would be the brightest, could locate based off of light intensity or white light) then centering this in the field of view with the servo control. I've tried the color blob tracking with a desk lamp but haven't got it to pick up yet, I have had good luck picking up red, green and blue objects though. The RGB values were at about 254 on all 3. Any ideas?
Thanks
Mike
User avatar
kwagyeman
Posts: 4430
Joined: Sun May 24, 2015 2:10 pm

Re: Using OpenMV for solar tracking

Postby kwagyeman » Tue Jul 05, 2016 4:55 pm

Hi, the color tracking is done in the lab color space, not the RGB color space. Please use the framebuffer and select and area of color and then once you stop dragging a show color stats option will appear. Click that and the GUI will output the best color values to use.

Also, I'd use grayscale instead of color for tracking the sun.

And... you'll find the Cam is really good at this job.
Nyamekye,
mike14mile
Posts: 2
Joined: Tue Jul 05, 2016 4:34 pm

Re: Using OpenMV for solar tracking

Postby mike14mile » Wed Jul 06, 2016 11:34 am

Works like a charm, thanks buddy

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests