Arduino tutorials

Light sensor, LDR

The light sensor is also called a light-dependent resistor (LDR) or photocell. It is connected to Arduino pin A0. analogRead measures the voltage at the pin. You will get a value between 0 and 1023 (where 0 equals ground and 1023 equals +5 volts). Changing the type of lamps and ambient light will give a bit of variation in your readings. In many cases […]

Read More

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.