 So this is a vibration motor. What it does is create vibrations. You want to hear what it sounds like? Check this out. This is a vibration motor. It uses the piezo effect to generate a vibration. If you don't know what the piezo effect is, what it is is you have two electrodes squeezing in some type of material in the middle. I'll put up a picture on the screen so it makes more sense than me just putting two blurry hands in front, but these two electrodes have electricity flowing through them, compressing and messing with the material in between, and that causes it to kind of go aggressive and crazy and create this vibration. It's actually somewhat similar to how speakers work, except it's not trying to do these beautiful sounds or some kind of buzz sounds. It's just doing raw vibration output. So when I connect the sensor and I plug it in and I power it up. It's not going to sound nice at all. It's just going to go Kind of like your phone when you leave it on the table and it buzzes. It's kind of unrelated to the video, But I was thinking if we should take some of these ultrasonic sensors take like five or six of them and make some kind of Circular helmet that I could put on my head and then with these vibration motors each Ultrasonic sensor would have a vibration motor that would tell me if I'm too close to something in that direction And we can blind me and see if I could walk around with this blind helmet on and if I can actually have some vision Or will I just walk into a wall face first? So what you're gonna need for this build is three cables and your Arduino I'm gonna be using a breadboard as always because it holds a sensor for me Instead of it just flinging around The sensor has three pins ground VCC and in ground always stands for ground VCC stands for five volt power in this case And then the next one is going to be our input pin, which is where we're gonna trigger this sensor Right now it has all the power it needs to operate But this yellow cable is gonna be what it tells it to trigger So we're gonna plug that in And we should be ready to go plug the Arduino into your computer and open up your Arduino editor to start writing code The process was really simple this time All you have to do is tell it what pin you're plugged into so I plug it in my yellow pin into the digital 3 port Which is just the number 3 after that you got to go and tell it the board that pin mode Pin 3 is going to be an output pin Now it knows that it's going to be sending power out from that pin and not receiving it or doing anything else Then you can go in your loop and you can potentially do anything that you want You can have this go and connect to switch So when you flick the switch on it starts vibrating you can make a button that when the buttons press it starts vibrating You can make it so it's triggered by a sensor like let's say a motion sensor So when somebody walks in front of the motion sensor, it starts vibrating like crazy letting you know that something is in front of it We're not gonna do that. We're just gonna go super simple with this stupid simple and just write out digital Right Inside of that we're gonna go and call the pin that we're on and we're gonna start off with low Then because I'm lazy. I'm just going to take this copy paste it a couple times and In between the others I'm going to add a delay of one second Which is a thousand milliseconds. So just put that over there and again We're going to copy paste that control T If you wanted to shift it over and then the one last step is to change this right here to be high Now what's gonna happen is it's gonna make sure the sensor is off Wait a second turn it on wait a second turn it off and repeat the process. So every second it's going to buzz Upload the code to your Arduino if it says you have a problem with your board Make sure in my case that it's actually plugged into the computer now that it's plugged in We want to try it one more time and if we're on the wrong board Just go to tools and update board to be on the right comport I can feel it vibrating on the table, but I don't know if you guys will actually be able to hear it So I'm going to take the mic off of my shirt and put a metal spoon or a plastic spoon on the sensor so you guys can hear it buzzing So here's what it sounds just as ambient sound Sure, you guys can't hear that. So we're going to take this plastic spoon right here Place it on top and then you can hear the vibrations If I had to guess this would be about what a phone would have in it. It's not too powerful It's not shaking my hand, but it's definitely noticeable and if I had it in my pocket I would be pulling it out to see what's wrong