Photovoltaics Sun-Direction ControllerPublished on October 06, 2018.
For about 30 years my Grandfather has been using Photovoltaics to generate electricity. First for his small electric car that stored the energy in dozens of 12V lead batteries, later for feeding into the general electrical grid with an inverter.
The solar panels are mounted on a mast, about 5m high, in the garden. They can be rotated to follow the sun. A simple (pre-bought) PCB uses two LDRs to sense the suns direction in relation to the solar panels, moving the motor accordingly to balance their signals.
Last week I had to take a look at this system because the solar panels were no longer rotating. Luckily, only the old Bosch 12V 2.6A power supply for the logic circuit and the motor was broken. I simply replaced it with a cheap wall-wart.
I was already thinking about replacing the whole circuit with an ESP32 or something similar. But it still seems to work fine, so this plan is on hold for now.
Below you can find the original description as well as the schematic for the logic circuit.
My Grandfather has modified this circuit. In its original form it was only using a third LDR on the PCB to move toward the east-endstop at night, to prepare for the next day-cycle. In cloudy weather, this has been causing problems because in the morning the light levels were not high enough for the motor to move. Then, at noon, the sun was shining brightly again but was already too far westwards to be sensed by the LDRs. So my Grandfather installed a time-switch in the cellar to output a signal everyday at noon. He added some circuitry to move the motor to a new south-endstop (rather a mid-stop) to avoid the problem described above. I was not yet able to find his notes about these modifications, and I was not motivated enough to reverse-engineer them, so maybe I will deliver in future on that...