WEBVTT

00:00.080 --> 00:04.530
We now have the LGBT and the pushbutton in our circuit.

00:04.550 --> 00:13.310
Let's now add a buzzer so we can make some sound so the buzzer can also be named sometime piezo.

00:13.340 --> 00:21.530
Okay, so you take your buzzer and you just plug it, for example, here and well, you have two pins,

00:21.560 --> 00:23.780
a positive and a negative.

00:23.780 --> 00:26.180
So you just put it there.

00:26.330 --> 00:29.450
You just plug the negative to the ground.

00:30.520 --> 00:37.050
Is like that and you plug the positive directly to a digital pin.

00:37.070 --> 00:41.930
Let's use here the digital PIN number eight, which is available.

00:42.290 --> 00:45.770
And let's take, for example, yellow color.

00:45.950 --> 00:48.560
Okay, You don't need any resistor here.

00:48.560 --> 00:49.370
And you.

00:49.400 --> 00:50.490
So that's very basic.

00:50.510 --> 00:50.720
Okay.

00:50.720 --> 00:55.190
You just plug the negative to the ground and the positive to a digital pin.

00:55.220 --> 00:56.950
It doesn't matter which one.

00:56.960 --> 00:57.200
Okay.

00:57.200 --> 01:00.650
You don't need to have for the buzzer.

01:01.490 --> 01:04.580
And here is the secret with the buzzer.

01:04.580 --> 01:07.940
So, of course, make sure you disconnect and you power off the Arduino.

01:07.970 --> 01:10.400
You can see I have the buzzer here.

01:10.400 --> 01:15.040
And so one important thing you can see, you should have a passive buzzer.

01:15.050 --> 01:16.560
How to know this is a passive.

01:16.580 --> 01:21.440
Well, if you look at the back, you should see the PCB like this.

01:21.600 --> 01:23.900
It should be green or something similar.

01:23.900 --> 01:28.130
If it's completely black, it means you have an active buzzer.

01:28.160 --> 01:30.900
Okay, so here I'm using a passive and I see the PCB.

01:31.140 --> 01:33.480
You can see I have a minus and a plus.

01:34.080 --> 01:35.340
You have the plus here.

01:35.340 --> 01:37.230
So the plus is the positive side.

01:37.260 --> 01:40.020
So I'm just going to plug it back here.

01:40.290 --> 01:47.820
And so you have the negative side connected to the line here, the ground line and the positive, which

01:47.820 --> 01:52.650
is connected to digital PIN number eight here on the Arduino.
