Today we learn about the LDR (light dependent resistor) and I tried to put it on my bunny.
A LDR is very similar to a pot but instead of turning the rod to change the resistance, the resistance is changed by the light it received.
The resistance is pretty low (around 200 ohms) under the normal light condition
The resistance gets very high we I blocked the LDR with my hand, and you can see that the resistance is big enough to turn off the LED.
I tried to use the LDR to control the toy's motor moving speed.
I plug a signal wire to the arduino board to get the LDR data and write a code that changes the motor speed based on the LDR value.