Arduino UNO R4 Lesson 07. Understanding Photoresistors | nested if, else-if, and for-loop

preview_player
Показать описание
This is the 7th lesson of the Arduino UNO R4 - Ultimate Training Series. In this video, Joed Goh explains the use of photoresistors, also known as Light-Dependent Resistor (LDR), in creating a light-activated LED sequence project. He also explains how to use nested if, else-if, and for-loop statements.

Where to buy?
Amazon US
SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima -
SunFounder Ultimate Starter Kit with Original Arduino Uno R4 Minima -

SunFounder Official Website:

------------------------------------------------------------------------------------------------------------------
TABLE OF CONTENTS
00:00 Introduction
02:05 Materials
03:09 How Photoresistors work?
05:37 Photoresistors in a Voltage Divider Circuit
09:01 Axel Benz Formula
11:46 SunFounder Photoresistor Module
15:23 For-Loop
17:29 nested if conditions
22:51 else-if statement
26:48 Challenge Activity
27:51 Up Next

------------------------------------------------------------------------------------------------------------------
Refresh Voltage Divider Circuit with:
Lesson03. Circuit and Breadboarding for Beginners | Series & Parallel | Arduino UNO R4 Minima

Lesson06. How to Read Analog Sensors?

PLAYLISTS:
Arduino UNO R4 Minima Ultimate Training Course

SunFounder Kit Product Review

Designing Database Solutions with Microsoft SQL Server 2019

Artificial Intelligence and Machine Learning Foundations

IoT Development

Android App Development in Kotlin

Embedded Systems using Arduino Uno

Data Structures and Algorithms using C#

References:

#SunFounder #arduino
Рекомендации по теме
Комментарии
Автор

still underrated, it's unacceptable. The quality of demos and explanations is incomparable. Thank you

naboulsikhalid
Автор

Hi Joed, your lessons have been top class! Really enjoyed every lesson u put up so far. Hope to learn more from you thru this series. Thank u!

VictorPang-iqyh
Автор

More power Sir Joed! I still learned a lot from this. 😊

martinleonardsarte
Автор

I received my SunFounder Ultimate Sensor Kit the other day and my Photoresistor Module only has 3 pins (VCC, Ground & DO). Can I get an updated sigmatic and code to use?

wells
Автор

I need some guidance. When I block light from hitting the photo resistor the voltage only reads 4.0000 volts (ADC 875). I would expect a voltage closer to 5V. When I shine a light on the photo resistor the voltage reads 20000 (ADC 602) I would expect a voltage closer to 0.7 V. Using the same sketch using the potentiometer module the Serial monitor returns a voltage from 0 to 5 V. as I would expect. I'm thinking I have a faulty photoresistor module. What else might be causing the unexpected readings?

spotbe
Автор

Complimenti ❤ Bel corso ... Spero che farai molti video su Arduino. Quanti video sono previsti su questo corso ? Ha fatto anche dei corsi su piattaforma Udemy o scritto libri su Arduino ? Grazie

michelealbanese
Автор

thank you sir Lesson 7 pa lang me Im late

mixme
Автор

In simulator WokWi pin 0 e 1 non si possono utilizzare ...

michelealbanese