﻿1
00:00:04,640 --> 00:00:11,270
‫Welcome to the potentiometer interface demonstration but the base is three board for this demonstration.

2
00:00:11,300 --> 00:00:20,090
‫We have a potentiometer connected to an external breadboard with three 2.2 K ohm resistors and with

3
00:00:20,090 --> 00:00:25,820
‫these resistors we are creating a voltage divider where we are taking the three point three bolts and

4
00:00:25,820 --> 00:00:27,270
‫dividing it by three.

5
00:00:27,320 --> 00:00:35,780
‫So we get down to approximately one volt and that is because the X A.D.C. on the core in the Artic seven

6
00:00:35,780 --> 00:00:40,410
‫chip on the basis your board can only read voltages from 0 to 1 volt.

7
00:00:40,730 --> 00:00:47,730
‫And with that being said we're putting 3.3 volts into the X ADC PMA port.

8
00:00:47,840 --> 00:00:53,690
‫So we have to create a voltage divider so that when we're at 3.3 volts We're actually only output 1

9
00:00:53,690 --> 00:00:54,430
‫volt.

10
00:00:54,470 --> 00:01:01,220
‫And so what we'll do as I turn the potentiometer the ADC reading inside the Artic seven chip on base

11
00:01:01,220 --> 00:01:06,970
‫3 board is being displayed in a BCT format on the 7 segment display.

12
00:01:07,960 --> 00:01:13,440
‫And the ADC core on the Artic 7 is a 12 bit 8 of the converter.

13
00:01:13,440 --> 00:01:18,430
‫So the maximum output it can have is four thousand ninety six.

14
00:01:18,600 --> 00:01:24,770
‫And so right now we're at like 8 8 or 0 and that's just because you can't get exactly zero.

15
00:01:24,770 --> 00:01:30,150
‫We're sampling so fast we're currently sampling at 200 thousand samples per second.

16
00:01:30,330 --> 00:01:31,700
‫So it's happening so quickly.

17
00:01:31,770 --> 00:01:36,480
‫They appear to all be lit up as I start to turn the potentiometer.

18
00:01:36,480 --> 00:01:37,940
‫You can see the values start to change.

19
00:01:37,950 --> 00:01:42,580
‫Now we're at like a 4 5 7 1 1 8 8.

20
00:01:42,780 --> 00:01:48,310
‫And the last two values are sincerely significant values change so fast that it appears there are a

21
00:01:48,360 --> 00:01:49,400
‫constantly.

22
00:01:49,440 --> 00:01:54,690
‫And so if I keep turning up that showing the voltage is getting higher and higher and you can see the

23
00:01:54,690 --> 00:01:57,600
‫corresponding ADC reading goes up as well.

24
00:01:57,600 --> 00:02:05,490
‫And if I turn the other way it goes down and if I go all the way over we get up to approximately 3 9

25
00:02:05,910 --> 00:02:12,480
‫8 8 and that's just because we do have some losses from the three point supply we are currently using

26
00:02:12,480 --> 00:02:17,640
‫some across these resistors we're having here to do a voltage divider boom we turn all the way over

27
00:02:17,640 --> 00:02:22,350
‫we'll get up pretty close and end and each board is going to be slightly different just due to the 3.3

28
00:02:22,560 --> 00:02:24,150
‫regulations supply they have.

29
00:02:24,300 --> 00:02:31,160
‫But you should see somewhere close to 4000 as your maximum on the potential on the ATC reading.

30
00:02:31,320 --> 00:02:35,700
‫And that is the potentiometer interface running on the bases three all board.

