How to Use a Photoresistor (Light Sensor) with Arduino (Lesson #27)

  Рет қаралды 49,908

Science Buddies

Science Buddies

Күн бұрын

Пікірлер: 25
@TateIsaacs
@TateIsaacs 7 ай бұрын
Literally the best videos on Arduino, I always come here first
@rndmplay
@rndmplay 2 ай бұрын
Finally! after years of searching a fluent english language rushing through my ears! 😭 What a nice surprise!
@jamboo8329
@jamboo8329 21 күн бұрын
ikr
@AyeshaKhurram-tu8ow
@AyeshaKhurram-tu8ow 10 сағат бұрын
xd
@thehypex5002
@thehypex5002 22 күн бұрын
Good video, I would like to know what is the meaning of the sensor value (dimension and unit) , thank you
@MartyHuie
@MartyHuie 8 ай бұрын
Thank you this is very helpful. I'm sending this to someone for. It's over my head. Basically what I am trying to get someone to create it to have a circuit that went so much light is hitting it. The circuit comes on. Definitely need to measure the light. Here is my application. I'm trying to solve and if it exist please point me in that right direction. We're building a home off grid and there are some appliances such as my deep freeze, that does not run all that often and if it is off for one to three days, it would be OK. I'm only wanting it to come on when it is fully sunny outside, so it does not run at night and it does not run on rainy days. There are other devices that I'm wanting to do the same with yet. This is the easiest application to speak to.
@Science.Buddies
@Science.Buddies 8 ай бұрын
Hi - we're a K-12 STEM education nonprofit and can't really help with projects like this, you may want to ask in the official Arduino forums or other electronics communities like Reddit or Stackexchange.
@zain3532
@zain3532 7 ай бұрын
Thanks, I modified the code and wiring a bit to make a nightlught with high light level LEDS when it is dark. Automatically turn off when photo cell detects light.
@yungrut6553
@yungrut6553 6 ай бұрын
The vilos ultimate starter kit has the resistor on the 5 volt (+) side which i also think is not intuitive . Thanks
@y-it4207
@y-it4207 4 ай бұрын
Thank you, its about time I find a guy who i can understand😭
@venikavenkatesan5775
@venikavenkatesan5775 Жыл бұрын
Please do a model for electromeric effect
@GeorgePantel84
@GeorgePantel84 4 ай бұрын
Hello. I have a similar setup but I have a problem. The photoresistor measures the outside light and when the light level is around the threshold value and the light starts to flicker. The photoresistor values vary over and under the threshold value. I trayed adding a 1 second delay but now the flicker is every second. What should I add to the code so this doesn't happen any more?
@Science.Buddies
@Science.Buddies 4 ай бұрын
Hi - you could try taking an average of the last 10 (or 100, or so on) readings and that will help with the flickering. We don't have our own tutorial on taking an average but you should be able to find examples online and in the built-in example code.
@nevermind-wp3bf
@nevermind-wp3bf 2 ай бұрын
Well, it's a sensor and as he said in this video this sensor is not that precise. When the light reaches the treshhold, becouse the sensor is not that precise, of course it will register different values and it will flicker. Programming also means that you need to solve a problem. In your case the problem will be how to trick the photoresistor to act more "precise". You can add a function outside the loop function and call it in the loop function which will monitor the treshold. Let's say you monitor 6 values in a row every time and if 2 of them are below the treshold, than set the led LOW. after that set a delay time and call that function again without turning the led ON if you encounter a "hit". This way, you won't notice if the led is flickering anymore
@user-mw2vq9oj7i
@user-mw2vq9oj7i 8 ай бұрын
Thank you so much. I appreciate u brother
@nohing2311
@nohing2311 2 ай бұрын
Could you make a video using opt 101? Or refer me to some videos showing its working....i am using it but the value Fluctuates so much i dont know what to do
@Science.Buddies
@Science.Buddies 2 ай бұрын
Hi - we do not have our own tutorial on that or plan to make one anytime soon, but you could try asking on the official Arduino forums for help.
@raihansami1509
@raihansami1509 Ай бұрын
why isnt it working
@Bl1tz4n
@Bl1tz4n Ай бұрын
what is the problem for yours
@raihansami1509
@raihansami1509 Ай бұрын
It is not Turning on
@williamkakooza4603
@williamkakooza4603 9 ай бұрын
This is great
@AyeshaKhurram-tu8ow
@AyeshaKhurram-tu8ow 9 сағат бұрын
if it doesnt work try switching the HIGH with the LOW and the LOW with the HIGH
@معتصممحمد-ظ2ن
@معتصممحمد-ظ2ن 4 ай бұрын
the app name please
@Science.Buddies
@Science.Buddies 3 ай бұрын
the app is called Tinkercad and we have a tutorial for it here: kzbin.info/www/bejne/b4OpkHWQZqiaas0si=V6bJ0g_BvGkCiagS
@aoifish0
@aoifish0 4 ай бұрын
tttttthankyyyyyyou!
RGB LED Color Mixing with Arduino (Lesson #28)
11:03
Science Buddies
Рет қаралды 10 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,4 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Light Sensor circuit on Breadboard + Darkness Detector | LDR & Transistor Projects
5:42
Elonics - Electronics Projects on Breadboard
Рет қаралды 385 М.
Arduino Tutorial 25: Understanding Photoresistors and Photo Detectors
36:19
How to Use a Hall Effect Sensor with Arduino (Lesson #31)
19:48
Science Buddies
Рет қаралды 31 М.
How to use Pushbuttons with Arduino. Pull up vs Pull down resistors
10:36
12 Best Arduino Projects for Beginners in 2024!
7:38
ToP Projects Compilation
Рет қаралды 222 М.
How to use a BreadBoard - Electronics Basics 10
7:22
Simply Electronics
Рет қаралды 990 М.
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН