﻿1
00:00:08,450 --> 00: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

2
00:00:15,740 --> 00: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

3
00:00:24,260 --> 00:00:31,910
circuit back here which is taking the pulse with modulated output from 3.3 volts and converting it to

4
00:00:31,910 --> 00:00:32,900
5 volts.

5
00:00:33,140 --> 00:00:37,790
And if you look at the tasks sheet provided in the file you downloaded it will it will give you the

6
00:00:37,790 --> 00:00:40,600
schematic and show you how to connect that up.

7
00:00:40,640 --> 00: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

8
00:00:49,310 --> 00:00:56,630
on our 7 segment display we have enabled 0 3 which is used to enable each one of the different segments

9
00:00:56,690 --> 00:00:58,530
on our 7 segment display.

10
00:00:59,030 --> 00:01:04,880
And this is going to represent the output that we're putting out our pulse with modulated output to

11
00:01:04,880 --> 00:01:11,960
control the RCA servo and then we also have our pulse with modulated output which I have coming out

12
00:01:11,960 --> 00: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

13
00:01:19,550 --> 00:01:26,750
it's the orange Why are there we have it running out and going into the 3.3 FEIBEL conversion circuit.

14
00:01:26,820 --> 00:01:33,440
Then we have my one which is the push button right and that's used to increment or decrement or pulse

15
00:01:33,440 --> 00:01:40,190
with modulation value by one and we have the five which is the push button left which is used incremented

16
00:01:40,190 --> 00:01:46,490
increment are pulse with modulation value by 5 and the clock which is just the oscillator going into

17
00:01:46,880 --> 00:01:52,030
the Apogee to generate the closest modulation value and everything else.

18
00:01:52,070 --> 00: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

19
00:02:02,420 --> 00:02:06,410
which is a switch 0 and it's used to determine whether we add or subtract.

20
00:02:06,410 --> 00:02:10,360
So right now we have a value of zero on our 7 segment display.

21
00:02:10,490 --> 00:02:14,160
And you notice that our RC servo is not moving.

22
00:02:14,450 --> 00: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

23
00:02:22,220 --> 00:02:23,170
button.

24
00:02:23,450 --> 00:02:30,830
You'll notice that I held it down so it counted several times but our 7st display now is outputting

25
00:02:30,830 --> 00:02:31,540
three.

26
00:02:31,570 --> 00:02:33,520
And you notice that the RC has sort of moved.

27
00:02:33,710 --> 00: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

28
00:02:38,240 --> 00:02:41,970
with modulation count value which you'll notice on the 7th saying with display.

29
00:02:42,200 --> 00:02:47,000
And also you know with the RCC you will move which is relative to the output.

30
00:02:47,000 --> 00: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

31
00:02:52,250 --> 00:02:55,460
five which is just a faster way of moving it.

32
00:02:55,480 --> 00:02:57,070
See it moves as I do that.

33
00:02:57,070 --> 00:03:01,000
And I can also switch if I bring a switch down.

34
00:03:01,040 --> 00: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

35
00:03:07,160 --> 00:03:16,980
checked by 5 go down to 6 subtract by 1 go down to zero again.

36
00:03:17,260 --> 00: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

37
00:03:22,570 --> 00:03:24,600
to increment and deck Romit.

38
00:03:24,710 --> 00: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.

39
00:03:32,350 --> 00:03:37,600
And if you look at the data sheet it'll tell you that what corresponds this output should correspond

40
00:03:37,600 --> 00:03:47,320
to a specific angle with the RC servo is outputting the unable to test this if we go ahead and slide

41
00:03:47,320 --> 00:03:52,810
that switch up what should happen is the RC servo will go back to its zero position and that's because

42
00:03:52,840 --> 00:03:55,820
we're effectively making the output zero.

43
00:03:55,870 --> 00:03:58,730
So it's go ahead and switch this up.

44
00:03:58,810 --> 00:04:04,190
And we notice that now if you press the buttons nothing increment nothing more decrement.

45
00:04:04,240 --> 00:04:08,220
So it will just stay where it is I put it back down.

46
00:04:08,260 --> 00:04:11,630
I can now increment my value and change my R C servo.

47
00:04:12,040 --> 00:04:13,400
Push it up again.

48
00:04:13,500 --> 00:04:19,130
It kind of locks our value so it stays where it is and doesn't move anymore.

49
00:04:19,380 --> 00:04:22,400
And so that is a demonstration of how the lab should work.

