This is the RC servo demonstration running on the base 3 board and what you'll see have is the 3 board
with the RC several lab completed running on the basis 3 and we have the RC servo and there's a little
circuit back here which is taking the pulse with modulated output from 3.3 volts and converting it to
5 volts.
And if you look at the tasks sheet provided in the file you downloaded it will it will give you the
schematic and show you how to connect that up.
So what we have is on the R C servo VHDL file I gave you we had the second set out which is displayed
on our 7 segment display we have enabled 0 3 which is used to enable each one of the different segments
on our 7 segment display.
And this is going to represent the output that we're putting out our pulse with modulated output to
control the RCA servo and then we also have our pulse with modulated output which I have coming out
of this p mod which is one of the places you can plug a wire into when your base is through board and
it's the orange Why are there we have it running out and going into the 3.3 FEIBEL conversion circuit.
Then we have my one which is the push button right and that's used to increment or decrement or pulse
with modulation value by one and we have the five which is the push button left which is used incremented
increment are pulse with modulation value by 5 and the clock which is just the oscillator going into
the Apogee to generate the closest modulation value and everything else.
We also have the Enable switch which is the switch one on our bases three board and we had the ADD switch
which is a switch 0 and it's used to determine whether we add or subtract.
So right now we have a value of zero on our 7 segment display.
And you notice that our RC servo is not moving.
If we go ahead and switch the ADD sliders switch move it to the up position and we'll press on the one
button.
You'll notice that I held it down so it counted several times but our 7st display now is outputting
three.
And you notice that the RC has sort of moved.
So I'm just going to push the button several times and what that's going to do is increment or pulse
with modulation count value which you'll notice on the 7th saying with display.
And also you know with the RCC you will move which is relative to the output.
So if I push this keep pushing it here that you'll see that it moves and I can also increment it by
five which is just a faster way of moving it.
See it moves as I do that.
And I can also switch if I bring a switch down.
Now we're subtracting if I press the one we're subtracting one and when the rest of the RC server is
checked by 5 go down to 6 subtract by 1 go down to zero again.
And also if I go ahead and then you can just play with this here as you move your switch up and down
to increment and deck Romit.
Notice that as we move the RC server moves in relation to the value that's output it on our 7st display.
And if you look at the data sheet it'll tell you that what corresponds this output should correspond
to a specific angle with the RC servo is outputting the unable to test this if we go ahead and slide
that switch up what should happen is the RC servo will go back to its zero position and that's because
we're effectively making the output zero.
So it's go ahead and switch this up.
And we notice that now if you press the buttons nothing increment nothing more decrement.
So it will just stay where it is I put it back down.
I can now increment my value and change my R C servo.
Push it up again.
It kind of locks our value so it stays where it is and doesn't move anymore.
And so that is a demonstration of how the lab should work.