WEBVTT

00:00.180 --> 00:06.390
Let us know at the infrared remote controller to our secret, so, as always, I'm going to start first

00:06.390 --> 00:11.070
with the Dinko get simulation and then do the real secret.

00:11.370 --> 00:17.310
And we are going to start from the previous secret, which contains the LCD display screen that I'm

00:17.310 --> 00:18.600
going to duplicate.

00:21.000 --> 00:27.700
And I'm going to rename it directly, I am for Infrared Remote Control.

00:29.070 --> 00:32.850
So, again, I'm not going to change anything in the existing Secrett.

00:32.850 --> 00:35.310
I'm just going to add one new component.

00:35.680 --> 00:40.580
OK, so far, the infrared remote control that we actually need to add two components.

00:41.070 --> 00:42.480
I'm going to infrared.

00:43.320 --> 00:49.650
So not to confuse with the sensor, which is a passive infrared sensor, which is different here.

00:49.660 --> 00:52.800
We are going to use the infrared sensor, that one.

00:53.100 --> 00:58.830
I'm going to take that component, which has three things here and the infrared remote control.

00:59.550 --> 01:05.480
OK, you need the sensor and control so the controller will not be plugged to anything.

01:05.520 --> 01:09.300
OK, this is something you can put just on the side of your second.

01:09.450 --> 01:11.310
And this one we are going to put it.

01:11.340 --> 01:16.440
So let's put it, for example, here, willing to put it on the secretes.

01:16.680 --> 01:18.880
So we have three different pins.

01:18.900 --> 01:26.280
OK, you have about Genndy and Power, that one thing to pay attention here is that actually the other

01:26.280 --> 01:33.900
of the things for the simulation will be different from the other of the thing you may have in the infrared

01:33.900 --> 01:35.340
sensor from your kit.

01:35.690 --> 01:38.600
OK, I'm going to come back to this just a little bit later.

01:38.610 --> 01:45.420
So on this component, you have three piece, OK, you have the ground being the pope and the data.

01:45.890 --> 01:47.580
OK, so let's find the ground.

01:47.790 --> 01:49.890
First round here is in the middle.

01:50.850 --> 01:55.670
I'm going to plug it to the ground like that and then let's find.

01:55.920 --> 01:57.240
So we have power, OK?

01:57.370 --> 01:58.110
Power.

01:58.140 --> 02:00.690
It's power to power.

02:01.320 --> 02:01.640
Right.

02:01.860 --> 02:03.640
Make sure you have correctly plugged here.

02:03.660 --> 02:05.880
This is the ground that this is the power.

02:06.510 --> 02:10.500
And we have another beam here out, which is output, which is the data.

02:10.950 --> 02:14.760
And we are going to need to use just a simple digital pinacate.

02:14.760 --> 02:16.280
Nothing special for this one.

02:16.560 --> 02:21.560
So I'm going to take this and we still have an empty being here.

02:21.570 --> 02:21.930
No.

02:21.930 --> 02:22.440
Five.

02:23.730 --> 02:28.470
And let's change color to let's use think here.

02:28.710 --> 02:34.530
OK, great, so Genndy to Genndy, power to the power.

02:34.530 --> 02:40.650
And then the thing that goes to Digital Opinium five or any other digital pen you want, OK.

02:40.650 --> 02:45.510
Or any other opinion to use as a digital B and then these I can just put it there.

02:46.230 --> 02:53.310
So this controller will send an infrared signal to this syncytial and then we will be able to read that

02:53.310 --> 02:56.430
on the avenue and know what button was pressed.

02:57.000 --> 03:01.170
OK, and the way you are going to use this in the simulation is very simple.

03:01.920 --> 03:07.470
When you run the code, you simply are going to click with your mouse on the different numbers and that

03:08.100 --> 03:09.450
the different buttons here.

03:09.570 --> 03:14.160
And that will send a signal to your infrared sensor and your other will be able to read it.

03:14.190 --> 03:19.500
So just press on the button and when the code is running, of course, and that will work just fine.

03:20.410 --> 03:27.790
And this is the real hardware system, so I have put here the infrared sensor and here I have the remote

03:27.790 --> 03:32.890
controller, so the first thing to pay attention to is make sure you have correctly.

03:33.610 --> 03:36.040
But the battery inside the controller.

03:36.040 --> 03:39.240
So maybe it's already there or you have to put it and it's on the side.

03:39.250 --> 03:41.860
So make sure the battery is OK.

03:42.070 --> 03:45.910
Once the battery is in the controller, you are sure that is going to work.

03:45.910 --> 03:47.640
So you can just put it on the site.

03:48.100 --> 03:48.960
The battery is not here.

03:48.970 --> 03:50.860
And then, of course, that's not going to work.

03:51.370 --> 03:57.070
Now, the infrared controls, I have put it there, I left some place here for the next sensor.

03:57.070 --> 04:03.700
We are going to add and make sure that I don't put it in front of the ultrasonic sensor.

04:03.970 --> 04:06.630
And so I don't connect it to any of the pain of the engine.

04:06.640 --> 04:09.790
You can make sure you take three empty lines.

04:10.030 --> 04:12.430
So I'm going to run it here to show you.

04:13.520 --> 04:21.020
And this is actually different from the sense we have on the simulation with Dinko Karaoke with DeCock,

04:21.030 --> 04:23.330
and we had the ground in the middle here.

04:23.660 --> 04:29.690
But here, the ground, as you can see, is only one of the opposite, one of the sides here on the

04:29.690 --> 04:30.050
left.

04:30.440 --> 04:31.480
So unlicenced.

04:31.480 --> 04:33.110
So I have G and why.

04:33.140 --> 04:39.410
So if you have the same as me, G means ground here, which is the first you can see Blakeway or goes

04:39.410 --> 04:43.260
to ground and then the middle one is the poem.

04:43.330 --> 04:51.500
OK, so I have put a red table which goes to the power line and the last one to Y is for the data which

04:51.500 --> 04:58.230
is white light wire which goes it to digital team number five.

04:58.250 --> 05:00.540
OK, just like I did in the simulation.

05:00.920 --> 05:04.300
So for me it's ground power and data.

05:04.850 --> 05:12.080
So make sure you correctly check your sensor and that you read the information and maybe it's different

05:12.080 --> 05:12.500
than me.

05:12.930 --> 05:15.100
OK, maybe it's the same as the simulation.

05:15.110 --> 05:18.890
So make sure you have the correct setup before you pull on.

05:19.790 --> 05:20.800
And all right.

05:21.020 --> 05:22.550
The secret is no.
