Sunny the Solar Bot
| Attachment | Size |
|---|---|
| Arduino source | 2.94 KB |
This robot try to follow the sun. The tracks come from a old RC toy, the power is provide by a dual H bridge (L298)

An arduino process informations from sensors and command motors.

A solar panel is set on 2 servomotor to be rotated in all directions

Thanks to all that the robot is able to follow the sun

The solar panel is omnidirectional, a tube was added to collect only the beams coming from the front. To find the brightest spot around him, the robot starts by scanning the environment with predefined positions, then it target to the brightest spot previously found and try again.
To find a brighter spot from its current position, the solar panel follow a curve type hypotrochoid, kind a clover. The interest of such a curve is to cover a surface smoothly. If the current spot is not the brightest, it focuses on the new and repeat this procedure. At each cycle, the robot sends an impulse to the engines to get in line. If it is in the axis, it forwards.



@ Mon, 2010-06-07 14:02
That's a cool little
That's a cool little bot.
What happens when it rolls into a long shadow? Does it go back to its last light position?
@ Mon, 2010-06-07 15:04
the robot searching the
the robot searching the brightest spot, when it rolls into a shadow, it only continues to follow the less dark spot. But I'm currently rewritting the program and I could introduce your idea.
@ Sun, 2010-06-06 11:47
Excellent video
For moment I thought you had it on fast forward. I would love to see the algorithm or the clover pattern.
@ Sun, 2010-06-06 12:08
Source
I just add source, I'm sorry, it's not very clean.
@ Sun, 2010-06-06 12:34
found it
Thanks, I found the section describing the curves. Very elegant.
@ Sat, 2010-06-05 20:03
Nice moves
Nice moves. Me likes.
And those tread cogs are the coolest :-)
@ Sat, 2010-06-05 19:52
What a fun robot to watch!
What a fun robot to watch! The ultimate ‘light follower’.
Add a lightsaber sound to it and you’ll make Fritsl’s day :-)
@ Mon, 2010-06-07 22:15
Yes!
Yes!