Тёмный

LDR (LIGHT DEPENDENT RESISTOR) - Arduino tutorial #20 

Bas on Tech
Подписаться 7 тыс.
Просмотров 11 тыс.
50% 1

In this tutorial I'll teach you how to read the data from a light dependent resistor (LDR).
The Arduino for beginners tutorials series guides you through the world of Arduino. A video is around 10 minutes and shows you step-by-step how to build the circuit and write the code. The website contains the course material, circuit diagram, Arduino code and shopping list of all the components used in the tutorial.
⬇️ Arduino code, circuit diagram and part list arduino-tutorials.net/tutoria...
👉 More tutorials and projects on arduino-tutorials.net
🇳🇱 Deze tutorial is ook in het Nederlands beschikbaar • 🇳🇱 LICHTGEVOELINGE WEE...
CHAPTERS:
00:00 Introduction
00:11 Components
00:32 The LDR
01:55 Building the circuit
02:39 Arduino code - LDR value reading
04:06 Arduino code - Switch LED with LDR
04:56 Running on the Arduino
COMPONENTS
🇨🇳 Arduino Uno (clone)
arduino-tutorials.net/r/KnSgtg
🇳🇱 Arduino Uno (clone)
arduino-tutorials.net/r/8237Hd
🇳🇱 Arduino Uno SMD (original)
arduino-tutorials.net/r/Ud29dh
🇳🇱 Arduino Uno Chip (original)
arduino-tutorials.net/r/Jd82ha
🇨🇳 3x breadboard
arduino-tutorials.net/r/k8rZRv
🇳🇱 1x breadboard small
arduino-tutorials.net/r/238Jds
🇨🇳 1x breadboard large
arduino-tutorials.net/r/ZnW9L4
🇳🇱 1x breadboard large
arduino-tutorials.net/r/8237Dh
🇨🇳 Jumper wire male-male
arduino-tutorials.net/r/pkoGV4
🇳🇱 Jumper wire male-male
arduino-tutorials.net/r/8237Jd
🇨🇳 20x GL5528 LDR
arduino-tutorials.net/r/HNB0xM
🇳🇱 5x GL5528 LDR
arduino-tutorials.net/r/JDJd92
🇳🇱 5x GL5537 LDR
arduino-tutorials.net/r/848Hfy
#arduino #BasOnTech

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@nirlekaplay
@nirlekaplay 4 года назад
it works
@BasonTech
@BasonTech 4 года назад
Great! 😃
@harshithramamurthy2820
@harshithramamurthy2820 4 года назад
Hello Creator, I loved your video quality and explanation. I have some doubts if you can answer, please. Why is the A0 connected at the junction of LDR and the resistor? Also, If I want to display the resistance of the LDR on the serial monitor, how do we do it? Looking forward to your reply.
@BasonTech
@BasonTech 4 года назад
Thanks! The connection is called a "pulldown resistor". I'll explain this in ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5aR0cHKc-JA.html 😃
@harshithramamurthy2820
@harshithramamurthy2820 4 года назад
@@BasonTech Thanks man!
@Brzndon
@Brzndon Год назад
Amazing video is it possible to show light intensity value on a LCD?
@BasonTech
@BasonTech Год назад
Sure! Just combine this tutorial with my tutorial about the LCD screen and you should be able figure it out! 😃
@flightsimguy3897
@flightsimguy3897 2 года назад
Can I use a attiny for this?
@BasonTech
@BasonTech 2 года назад
Yeah that should probably work 😃
@enesbozcal2359
@enesbozcal2359 7 месяцев назад
How can I calibrate LDR?
@BasonTech
@BasonTech 7 месяцев назад
You can't. The way the LDR works is via the chemicals in the sensor. However you can create an offset or make your code work with another sensor value. Keep in mind that over time these sensors wear so you might need to adjust the code anyway (or use a potentiometer to set the correct threshold)
Далее
Я ВЕРНУЛСЯ 🔴 | WICSUR #shorts
00:57
Просмотров 2,2 млн
Sensors - which one to use
17:06
Просмотров 1,3 млн
You can learn Arduino in 15 minutes.
16:34
Просмотров 10 млн
How to Use Arduino Interrupts The Easy Way
33:28
Просмотров 79 тыс.
Breadboarding tips
20:16
Просмотров 425 тыс.