The LDR is a resistor that depends on the amount of light that to change the amount of resistance that the LDR gives to the flow of power.
This shows that the with the more light their is the less resistance that the power has to go through so the LED is brighter. I did not know this at the time but i was actually getting my 5V of power form the Arduino which is something that should not be done.
The less light that is allowed o go into the LDR the greater the resistance it will give the flow therefore the LDR becomes dimmer and eventually is does not have enough current to turn on.


No comments:
Post a Comment