Let us know at the infrared remote controller to our secret, so, as always, I'm going to start first
with the Dinko get simulation and then do the real secret.
And we are going to start from the previous secret, which contains the LCD display screen that I'm
going to duplicate.
And I'm going to rename it directly, I am for Infrared Remote Control.
So, again, I'm not going to change anything in the existing Secrett.
I'm just going to add one new component.
OK, so far, the infrared remote control that we actually need to add two components.
I'm going to infrared.
So not to confuse with the sensor, which is a passive infrared sensor, which is different here.
We are going to use the infrared sensor, that one.
I'm going to take that component, which has three things here and the infrared remote control.
OK, you need the sensor and control so the controller will not be plugged to anything.
OK, this is something you can put just on the side of your second.
And this one we are going to put it.
So let's put it, for example, here, willing to put it on the secretes.
So we have three different pins.
OK, you have about Genndy and Power, that one thing to pay attention here is that actually the other
of the things for the simulation will be different from the other of the thing you may have in the infrared
sensor from your kit.
OK, I'm going to come back to this just a little bit later.
So on this component, you have three piece, OK, you have the ground being the pope and the data.
OK, so let's find the ground.
First round here is in the middle.
I'm going to plug it to the ground like that and then let's find.
So we have power, OK?
Power.
It's power to power.
Right.
Make sure you have correctly plugged here.
This is the ground that this is the power.
And we have another beam here out, which is output, which is the data.
And we are going to need to use just a simple digital pinacate.
Nothing special for this one.
So I'm going to take this and we still have an empty being here.
No.
Five.
And let's change color to let's use think here.
OK, great, so Genndy to Genndy, power to the power.
And then the thing that goes to Digital Opinium five or any other digital pen you want, OK.
Or any other opinion to use as a digital B and then these I can just put it there.
So this controller will send an infrared signal to this syncytial and then we will be able to read that
on the avenue and know what button was pressed.
OK, and the way you are going to use this in the simulation is very simple.
When you run the code, you simply are going to click with your mouse on the different numbers and that
the different buttons here.
And that will send a signal to your infrared sensor and your other will be able to read it.
So just press on the button and when the code is running, of course, and that will work just fine.
And this is the real hardware system, so I have put here the infrared sensor and here I have the remote
controller, so the first thing to pay attention to is make sure you have correctly.
But the battery inside the controller.
So maybe it's already there or you have to put it and it's on the side.
So make sure the battery is OK.
Once the battery is in the controller, you are sure that is going to work.
So you can just put it on the site.
The battery is not here.
And then, of course, that's not going to work.
Now, the infrared controls, I have put it there, I left some place here for the next sensor.
We are going to add and make sure that I don't put it in front of the ultrasonic sensor.
And so I don't connect it to any of the pain of the engine.
You can make sure you take three empty lines.
So I'm going to run it here to show you.
And this is actually different from the sense we have on the simulation with Dinko Karaoke with DeCock,
and we had the ground in the middle here.
But here, the ground, as you can see, is only one of the opposite, one of the sides here on the
left.
So unlicenced.
So I have G and why.
So if you have the same as me, G means ground here, which is the first you can see Blakeway or goes
to ground and then the middle one is the poem.
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
is white light wire which goes it to digital team number five.
OK, just like I did in the simulation.
So for me it's ground power and data.
So make sure you correctly check your sensor and that you read the information and maybe it's different
than me.
OK, maybe it's the same as the simulation.
So make sure you have the correct setup before you pull on.
And all right.
The secret is no.