WEBVTT

00:00.180 --> 00:05.940
In this activity, you are going to practice with the photoresistor, Senso, and to see what kind of

00:05.940 --> 00:08.190
application you can do with it.

00:08.520 --> 00:12.220
So your challenge is to do two things with LED's.

00:12.510 --> 00:16.170
OK, so first, so you can read the value.

00:16.180 --> 00:16.860
So read.

00:17.900 --> 00:21.110
For two reasons to the OK.

00:21.320 --> 00:23.690
And then you will define a threshold.

00:25.950 --> 00:34.620
OK, so depending on your hardware or just choose any threshold you want, and if the value is below

00:34.620 --> 00:35.520
that threshold.

00:37.770 --> 00:47.760
Then you are going to go on and on in TWIC, and if the value is greater than this threshold, which

00:47.760 --> 00:50.120
means that there is enough light, you power of the.

00:50.760 --> 00:54.560
So you only power on the energy when this is getting to dark.

00:54.960 --> 00:58.070
So with this you will have an automatic light system.

00:58.110 --> 01:05.020
OK, and then you are going to also put on the energy on 10, but this time using the analog.

01:05.820 --> 01:06.390
Right.

01:06.460 --> 01:09.570
OK, unspin and so on.

01:09.650 --> 01:10.740
Lipping 10.

01:12.830 --> 01:19.920
OK, which will be proportional to the luminosity, but actually inversely proportional.

01:20.210 --> 01:28.010
So when the photoresistor will go from zero to one thousand twenty three for the energy and then you

01:28.010 --> 01:30.580
will go from two hundred fifty five to zero.

01:30.590 --> 01:33.800
So you will need to divide the result by four before.

01:34.010 --> 01:41.840
But you will also need to reverse the value so that when it's dark, the brightness is higher and when

01:41.840 --> 01:45.660
there is a lot of light, the energy brightness is lower.

01:46.100 --> 01:51.800
So as you can see, two different ways of creating an automatic light system and then we see you in

01:51.800 --> 01:53.750
the next to listen for the solution.
