0:00
I have one right here. This is what it looks like. It has five terminals on the bottom side of it
0:10
It has a positive terminal, a negative terminal, a normally closed terminal, a normally open terminal, and a common terminal
0:27
Now I have a setup down here where I have my power supply which is just a 9 volt battery
0:36
and the positive supply goes to this yellow jumper wire here and at the other end of this yellow jumper wire I'm going to place it onto the common pin
0:53
of the switch. So I have this yellow jumper or the wire to the common of the button
1:05
or the switch And now if we look here on the board I have a red jumper wire that goes to the positive rail of the breadboard
1:18
And I have a red jumper here where its probe is connected to this red jumper wire to the breadboard
1:27
And at the other end of this jumper wire, I'm going to place it onto the positive
1:36
terminal of the button or the switch and then also at this red jumper wire from the
1:52
breadboard I have a blue jumper wire where the probe is connected to this
1:58
red jumper wire and at the other end of the blue jumper I'm going to connect it to
2:06
the normally closed or sorry excuse me the normally open pin I've connected the
2:16
other end of the blue to the normally open pin and the reason why I have it on the normally open pin of the switch is because this type of switch here has this ring around it
2:30
and this ring lights up when you press down on the button and I want it to stay
2:36
off like it is right now when you're not pressing it and I want it I want this
2:41
you this ring light to turn on when the button is pressed down
2:47
So that's why I've placed this blue wire that goes to this red jumper wire for the positive power supply
2:59
That's why I've placed it here into the normally open position or the normally open terminal
3:06
Now I have from my red jumper wire to the positive rail or the positive supply of the breadboard
3:15
I have this orange jumper wire here that in line with the anode of the LED and the cathode of the LED is in line with this resistor here that goes to ground or the negative supply to the battery But you can see that I have this green probe here and I have it attached to this negative side leg of the resistor It just the ground So I have this
3:45
green jumper at ground and I'm going to attach the other end of the jumper to
3:52
the ground terminal of the switch. Oops. like so. So now if I press down on the switch, the green light lights up on the�
4:15
switch itself and the red LED comes on when I press down on it and it shuts off
4:23
when I release it. So on both the light on the light on the switch comes on and the red LED
4:29
LED comes on I let go of the button and both the light on the switch and the red
4:37
LED is off on off off