WEBVTT

00:08.450 --> 00:15.740
This is the RC servo demonstration running on the base 3 board and what you'll see have is the 3 board

00:15.740 --> 00:24.260
with the RC several lab completed running on the basis 3 and we have the RC servo and there's a little

00:24.260 --> 00:31.910
circuit back here which is taking the pulse with modulated output from 3.3 volts and converting it to

00:31.910 --> 00:32.900
5 volts.

00:33.140 --> 00:37.790
And if you look at the tasks sheet provided in the file you downloaded it will it will give you the

00:37.790 --> 00:40.600
schematic and show you how to connect that up.

00:40.640 --> 00:49.310
So what we have is on the R C servo VHDL file I gave you we had the second set out which is displayed

00:49.310 --> 00:56.630
on our 7 segment display we have enabled 0 3 which is used to enable each one of the different segments

00:56.690 --> 00:58.530
on our 7 segment display.

00:59.030 --> 01:04.880
And this is going to represent the output that we're putting out our pulse with modulated output to

01:04.880 --> 01:11.960
control the RCA servo and then we also have our pulse with modulated output which I have coming out

01:11.960 --> 01:19.460
of this p mod which is one of the places you can plug a wire into when your base is through board and

01:19.550 --> 01:26.750
it's the orange Why are there we have it running out and going into the 3.3 FEIBEL conversion circuit.

01:26.820 --> 01:33.440
Then we have my one which is the push button right and that's used to increment or decrement or pulse

01:33.440 --> 01:40.190
with modulation value by one and we have the five which is the push button left which is used incremented

01:40.190 --> 01:46.490
increment are pulse with modulation value by 5 and the clock which is just the oscillator going into

01:46.880 --> 01:52.030
the Apogee to generate the closest modulation value and everything else.

01:52.070 --> 02:02.030
We also have the Enable switch which is the switch one on our bases three board and we had the ADD switch

02:02.420 --> 02:06.410
which is a switch 0 and it's used to determine whether we add or subtract.

02:06.410 --> 02:10.360
So right now we have a value of zero on our 7 segment display.

02:10.490 --> 02:14.160
And you notice that our RC servo is not moving.

02:14.450 --> 02:22.160
If we go ahead and switch the ADD sliders switch move it to the up position and we'll press on the one

02:22.220 --> 02:23.170
button.

02:23.450 --> 02:30.830
You'll notice that I held it down so it counted several times but our 7st display now is outputting

02:30.830 --> 02:31.540
three.

02:31.570 --> 02:33.520
And you notice that the RC has sort of moved.

02:33.710 --> 02:38.240
So I'm just going to push the button several times and what that's going to do is increment or pulse

02:38.240 --> 02:41.970
with modulation count value which you'll notice on the 7th saying with display.

02:42.200 --> 02:47.000
And also you know with the RCC you will move which is relative to the output.

02:47.000 --> 02:52.250
So if I push this keep pushing it here that you'll see that it moves and I can also increment it by

02:52.250 --> 02:55.460
five which is just a faster way of moving it.

02:55.480 --> 02:57.070
See it moves as I do that.

02:57.070 --> 03:01.000
And I can also switch if I bring a switch down.

03:01.040 --> 03:06.560
Now we're subtracting if I press the one we're subtracting one and when the rest of the RC server is

03:07.160 --> 03:16.980
checked by 5 go down to 6 subtract by 1 go down to zero again.

03:17.260 --> 03:22.420
And also if I go ahead and then you can just play with this here as you move your switch up and down

03:22.570 --> 03:24.600
to increment and deck Romit.

03:24.710 --> 03:32.350
Notice that as we move the RC server moves in relation to the value that's output it on our 7st display.

03:32.350 --> 03:37.600
And if you look at the data sheet it'll tell you that what corresponds this output should correspond

03:37.600 --> 03:47.320
to a specific angle with the RC servo is outputting the unable to test this if we go ahead and slide

03:47.320 --> 03:52.810
that switch up what should happen is the RC servo will go back to its zero position and that's because

03:52.840 --> 03:55.820
we're effectively making the output zero.

03:55.870 --> 03:58.730
So it's go ahead and switch this up.

03:58.810 --> 04:04.190
And we notice that now if you press the buttons nothing increment nothing more decrement.

04:04.240 --> 04:08.220
So it will just stay where it is I put it back down.

04:08.260 --> 04:11.630
I can now increment my value and change my R C servo.

04:12.040 --> 04:13.400
Push it up again.

04:13.500 --> 04:19.130
It kind of locks our value so it stays where it is and doesn't move anymore.

04:19.380 --> 04:22.400
And so that is a demonstration of how the lab should work.
