Arduino Tutorial - Controlling LEDS with LDR Sensor

How to control LEDS with LDR sensor.

Mar 31, 2020

13226 views

6 respects

Components and supplies

1

Resistor 220 ohm

1

Arduino UNO

1

Jumper wires (generic)

1

LDR, 5 Mohm

1

Breadboard (generic)

1

Resistor 10k ohm

1

LED (generic)

Tools and machines

1

Plier, Needle Nose

Apps and platforms

1

Arduino IDE

Project description

Code

The code

arduino

The code

arduino

Downloadable files

Diagram

Diagram

Comments

Only logged in users can leave comments

Anonymous user

5 years ago

Great tutorial! I can only offer one improvement, usually when using an acronym such as "LDR" the first instance of it should be preceded by the full word, followed in capital letters in parentheses the acronym to help those that don't know what it stands for. Example: Arduino Tutorial - Controlling LEDS with Light Dependant Resistor (LDR) Sensor