3D-printed Single-axis solar tracker with Energy Storage and Bluetooth Monitoring
Solar energy is converted by the solar array and charges the Battery pack. The Battery pack is supplying a controller which optimize the orientation of the solar array towards the sunlight, based on the light sensor attached to the solar array. In addition to powering the control system, the battery pack has enough capacity to concurrently charge a smartphone or a tablet. It takes approximately about 10 hours (under STC) -or about 1.5 day- to charge the battery pack completely.
EDIT: you may find here a DRAFT version of my post on Instructables :
https://github.com/nicolasfguillaume/3D-Solar-Tracker-IoT-Arduino/blob/master/3D-printed%20Single-axis%20Solar%20Tracker%20With%20Energy%20Storage%20and%20Bluetooth%20Monitoring_%2010%20Steps_Instructables_DRAFT.pdf
https://github.com/nicolasfguillaume/3D-Solar-Tracker-IoT-Arduino/blob/master/solar-tracker.c
Note : Sketchup files need to converted to STL files in order to sent to a 3D printer. You can use the following extension to do so : https://extensions.sketchup.com/en/content/sketchup-stl
if ((abs(average_diff) >= epsilon) || (abs(-average_diff) >= epsilon))
{
if (average_diff > 0)
{
angle += servo_step;
if(angle < 148) { myservo.write(angle); }
else { angle = 148; } // low limit -- high number is lower -- modify the design of structure to allow lower
}
else
{
angle -= servo_step;
if(angle > 53) { myservo.write(angle); }
else { angle = 53; } // high limit -- small number is higher
}
prog_speed = 200; // faster response to a light change
}
else
{
prog_speed = prog_break; // slower response if no major light change
}