DIY Sun Tracker Robot Using Arduino

This is a tutorial for the sun tracker of this video, leave a follow! let's begin.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components!

For this you will be needing:

  • 1x Arduino Nano
  • 2x Servo Motors
  • 4x Photoresistors
  • 4x identical resistors of the same resistance, preferably 200Ω to 1kΩ

Step 2: Structure

For the light detection we are using four resistors that are affected by photons, these are called photoresistors. We're separating them by four walls. Everytime light hits from a certain corner the tracker will spin towards that light to have it centered between sections, dig two holes for each photoresistor and connect it to the circuit above (for the X-Axis and Y-Axis movement i glued a servo motor on top of the other).

Step 3: Code

I have attached my X-axis servo motor to digital pin 8 while Y-Axis to digital pin 7. You can copy this code, load it to the arduino and let the magic happen.

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    Discussions