Sunny the Solar Bot
|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.