Building an Automatic Solar Tracker With Arduino Nano V2
by OmA17 in Circuits > Arduino
36080 Views, 165 Favorites, 0 Comments
Building an Automatic Solar Tracker With Arduino Nano V2
Hi! This Instructable is meant to be a part two to my Solar Tracker project. For an explanation of how solar trackers work and how I designed my first tracker, use the link below. This will offer context for this project.
https://www.instructables.com/id/Building-an-Autom...
The goal of this project was to improve on my old solar tracker, as well as add a couple of bells and whistles to make it more interactive. Some changes in the design are a new circuit board, fully laser cut wood body, and indicator LEDs and a buzzer.
Materials and Equipment
Here are the materials used to build the tracker:
- Arduino Nano
- 5x 220 Ohm Resistors
- 3x 10k Ohm Resistors
- 3x Light Dependent Resistors
- 2x Servos
- 4x Blue LEDs
- Red LED
- Buzzer
- Perfboard/Breadboard
- Wire
This is the equipment used to build the tracker:
- Laser Cutter
- Soldering Iron
- Heat Gun
Laser Cutting the Base Assembly
I have attached the SVG laser cut files below. Make sure the scale is set correctly before cutting.
Assemble the Base
After laser cutting the parts, we need to file the edges of the rectangular pieces so they fit together. After that, we can hot glue the entire thing together. Make sure to have the piece with the arrows in the same position as the picture above, and make sure the piece with the wire hole is on the opposite side.
Mount Servo, LEDs, and Buzzer
Now its time to mount the base hardware. For the LEDs and buzzer, I soldered wires to each lead and covered the bare sections with shrink wrap. I then labeled each component (to connect to Arduino properly) and glued it into place. Make sure to label each wire, otherwise, it will be difficult to troubleshoot later.
Laser Cut Solar Panel Assembly
Attach Side Panel Braces
Attach 3 braces to each side of the main panel.
Attach Side Panels and Sensor Divider
Make sure to attach the pieces as shown in the images so that sensors can be placed properly.
Assemble Solar Panel Arm
Mount Servo With Brace to Solar Panel Arm
First, attach the servo brace to the servo. Then hot glue the servo to the arm assembly.
Attach Solar Panel Mount to Arm
Attach Solar Panel Mount to Base
Attach Light Sensors to Panel and Drill Holes
Drill 2 1mm holes for each pin of each light sensor as shown in the image. Mount sensors as shown and solder wires to each lead. Make sure to label each wire.
Circuit Schematic
I have attached a circuit schematic as well as a breadboard version.
Solder Circuit Board
Following the schematic, build the circuit using a breadboard or solder together a chip using a perfboard.
Attach Wires
Now its time to attach the wires. Since all the wires were labeled beforehand, this will be easy.
Software
I have attached the Arduino code below. As all sensors are different, you may have to adjust some values to tune your solar tracker.
Downloads
Its Done!
That concludes this tutorial! I have attached a video of the tracker in action below. Please leave a comment and I will try to answer them. Thank you!