kokwah520
Newbie level 5
i would like to design a solar tracker control by PIC 16F877A, the input is 4 LDR for left, right, up and down, output is the servo motor...
the design basically is when the light is spot on 4 LDR, sure have different intensity of the light, then the motor need to move to the high light intensity side.
but the problem i facing is i do not know how to compare the LDR and send the input to PIC to control the motor?
there is some suggestion which is using comparator to compare the LDR which left with right and up with down part compared, but i do not know how to connected and i got no idea on how to compare the LDR light intensity, anyone can please tell what i need to do in order to solve this problem, please...
the design basically is when the light is spot on 4 LDR, sure have different intensity of the light, then the motor need to move to the high light intensity side.
but the problem i facing is i do not know how to compare the LDR and send the input to PIC to control the motor?
there is some suggestion which is using comparator to compare the LDR which left with right and up with down part compared, but i do not know how to connected and i got no idea on how to compare the LDR light intensity, anyone can please tell what i need to do in order to solve this problem, please...