Let's Make Robots!

Sunny the Solar Bot

 
follow the sun
AttachmentSize
Arduino source2.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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

That's a cool little bot.

What happens when it rolls into a long shadow? Does it go back to its last light position?

 

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.

For  moment I thought you had it on fast forward. I would love to see the algorithm or the clover pattern.

I just add source, I'm sorry, it's not very clean.

Thanks, I found the section describing the curves. Very elegant.

Nice moves. Me likes.

And those tread cogs are the coolest :-)

 

What a fun robot to watch! The ultimate ‘light follower’.
Add a lightsaber sound to it and you’ll make Fritsl’s day :-)

Yes!