LDR sensor tutorial with Arduino – Light Dependent Resistor

Опубликовано: 04 Октябрь 2024
на канале: DIY Engineers
2,317
28

Learn how to use an LDR (Light Dependent Resistor) with an Arduino. In this video we’ll go over the basics of the Light Dependent Resistor and an example on how to use an LDR to turn on a light when it’s dark.

*Note that the LED flash used in this example is a ready-to-use component with a built-in resistor, which is why a separate resistor is not needed.

Related Blog Post:
www.diyengineers.com/2021/02/25/ldr-sensor-tutorial-with-arduino-light-dependent-resistor

Items used in this video (affiliate links):
*As an Amazon Associate I earn from qualifying purchases.

Light Dependent Resistor (Module: KY-018):
https://amzn.to/3UWGNRs

Light Dependent Resistor (stand-alone):
https://amzn.to/3yByLpA

Hilitchi Transistors Assortment Kit:
https://amzn.to/4aI8Mux

Breadboard (Elenco 9440):
hhttps://amzn.to/4b5Onzq

Amprobe AM-510 Multimeter:
https://amzn.to/44gy2WE

Amprobe TL35B Test Leads with Alligator Clips:
https://amzn.to/3Utf8s0

Super bright LED Flash:
www.superbrightleds.com/moreinfo/led-wired-bolts/little-dot-smd-led-accent-light/639/

Chapters:
0:00 Intro
1:36 LDR Module Circuit
2:14 LDR Basic Circuit Equations
4:54 LDR Darkness Sensor - How it works
8:31 LDR Darkness Sensor - Breadboard Diagram
9:18 Arduino Programming
11:45 LDR Darkness Sensor with Arduino - Test