initial angle. And when the ambient light sensor detects changes in light
intensity, servos rotate to the position where the light is the strongest and
LCD1602 shows the value of the light intensity and temperature and
humidity detected by the BH1750 and DHT11 respectively.
We could push the button on the servo to adjust the accuracy of the angle
to make it rotate faster. And 1 means 1 degree per push and 5 represents 5
degrees per push. And it can also be altered by changing the variable
m_speed in the code.
8.Trouble Shooting
(1) Solar tracking device doesn’t respond.
A:1. Ensure the battery capacity fully charged.
2. Check if the wiring-up is correct.
(2) USB port can’t recognized by computer.
A:1. Confirm that you’ve installed the driver.
2. Check if USB cable is good.