And today, I will tell you how to interface Ardino Mega two five six zero that led you two thousand
twenty twenty or you can say 2020.
So over here, I have a DOT center.
As you see that that sensor has a signal.
This one is my say no red.
One is my boxy and black one is my ground.
And it is connected to the irony.
No makeup, makeup.
And over here I have a buzzer whose positive spin is connected to the Titan laser beam.
Thirteen and the negative is.
So this is the hard connection.
So just go to the software part.
So first we have to interface our already know mega.
Just click over here.
As you see, I already told you how to install this line from where we are.
So over here we just select the device family.
Right now, the device family is already know then our bodies already know.
Mega two five six zero.
Next over here we have to select dot com.
Right now my USB port is connected to seven.
Then just go next next door.
Right now, the program is Hulu in the mega, as you see there, and our expense blinks continuously.
So right now, the program or you can say the interfacing file is rooted in the Ardino makeup.
So over here, we just go to make our hub locate.
Make the hub.
And just like it so fast, we have to open our hair, we got on board.
So right now the Concorde is on seven.
Then we have to close and in between very close, we have to deal with these dolphins.
So, one, we have to read the signal.
They still signal and then we have to write the signal.
So over here, we have to just connect this line and so close to an exit of sorts at an bladder out.
And as you see, then we have to just select the PIN number, the PIN number nine.
Putin is seven because that sensor is connected to the spinning pin number seven.
And over here, we go to the venue.
And for displaying the value, I just use a lady over here.
As you see, this is my that sensor.
Then we just connect this over here right now, it demands the PIN number for the buzzer, so the PIN
number for the buzzer is PIN number eight and the output value is this.
OK, so when I touch that that sensor, the buzzer in middle school over here, I just played by Lou
and this is my button and I just make a simple error handler if there is some error.
So I just run it as you see.
So when I touch that, that sends the buzzer will blow.
LLB, that center on.
There is some at the PIN number is not a PIN number is 13.
That's why the buzzer is not blocked.
So just change the PIN number.
So then I again run this.
So then I touch
as you see, the buzzer will blow.
By the way, look, so you have to take care of these problems while creating a hardware project, so
you have to knock down your bins carefully.
So this is how you can acquire the signal and then read this digital signal and how you can interface
a buzzer and a sensor using Ardino Nagar.
Thank you.