﻿1
00:00:04,690 --> 00:00:08,000
‫Welcome to the temperature sensor interface demonstration.

2
00:00:08,080 --> 00:00:14,950
‫But the base is three board whose demonstration we're using two four did seven segment displays with

3
00:00:14,950 --> 00:00:24,580
‫all the segments tied together through a 56 ohm resistor and all these are then fed into the j j b p

4
00:00:24,580 --> 00:00:25,680
‫mod port.

5
00:00:25,720 --> 00:00:32,440
‫We also have all the digits flex our control with two in thirty nine or four and transistors with the

6
00:00:32,440 --> 00:00:35,580
‫470 ohm resistor connected to the base.

7
00:00:35,740 --> 00:00:38,350
‫And these are fed into the J.

8
00:00:38,350 --> 00:00:41,730
‫C. P. core of the basic three development board.

9
00:00:41,770 --> 00:00:47,550
‫We also have the external temperature sensor now with the basic 3 board.

10
00:00:47,590 --> 00:00:50,430
‫It does not support a single ended analog signal.

11
00:00:50,470 --> 00:00:53,400
‫So you have to feed both the negative and the positive.

12
00:00:53,650 --> 00:01:01,750
‫And also with the X ADC core on the actual Arctic's FPGA chip you can't feed it a 3.3 volt signal.

13
00:01:01,750 --> 00:01:05,070
‫It can only handle a signal from 0 to 1 volt.

14
00:01:05,320 --> 00:01:12,670
‫So what we do is we are dividing down the circuit the analog signal is reading takes in a three point

15
00:01:12,670 --> 00:01:13,710
‫three volt signal.

16
00:01:13,720 --> 00:01:17,990
‫So we have to reference our voltage to that 3.3 volt reference.

17
00:01:18,250 --> 00:01:26,350
‫And so we have a voltage divider circuit which you can see is just consisted of three 2.2 ohm resistors.

18
00:01:26,350 --> 00:01:32,860
‫Now these are 5 percent resistors not your 1 percent or point 1 percent tolerance resistors if you wanted

19
00:01:32,860 --> 00:01:35,850
‫to have a super accurate temperature sensor.

20
00:01:35,920 --> 00:01:41,000
‫You want to have a lot more accurate resistors but this just shows you the point that you can read a

21
00:01:41,020 --> 00:01:42,440
‫temperature value off of this.

22
00:01:42,470 --> 00:01:51,700
‫And as you can see we also have a slide switch 15 which is used to reset or are unable or our temperature

23
00:01:51,700 --> 00:01:51,970
‫reading.

24
00:01:51,970 --> 00:01:55,850
‫So if I pull that high it goes into a reset state where everything's at zero.

25
00:01:56,050 --> 00:02:01,960
‫And our two other segments the one that indicates were negative or positive goes to an A and the one

26
00:02:01,960 --> 00:02:08,460
‫that tells us if we're Celsius or Fahrenheit goes to an 8 because the micro blaze core we're using has

27
00:02:08,470 --> 00:02:12,560
‫a default setting of setting everything to zero when it's in a reset.

28
00:02:12,580 --> 00:02:20,180
‫So we pulled out of reset and now we can see we have a temperature of seventy nine point six five degrees

29
00:02:20,180 --> 00:02:20,930
‫Fahrenheit.

30
00:02:21,080 --> 00:02:25,640
‫So I can make that go higher by holding the temperature sensor.

31
00:02:25,640 --> 00:02:28,820
‫If I put my fingers on there and hold it you'll see it jumps up there.

32
00:02:28,830 --> 00:02:33,060
‫We just went up to 84 and you'll notice it doesn't jump up right away.

33
00:02:33,110 --> 00:02:40,940
‫That's because we have a little delay built into the microbus processor where every half second we take

34
00:02:40,940 --> 00:02:43,310
‫a reading and then update the measurement.

35
00:02:43,460 --> 00:02:47,030
‫And that's just because your temperature typically doesn't jump around a whole lot.

36
00:02:47,030 --> 00:02:52,440
‫It doesn't change super fast so a half second is more than fast enough for an update rate.

37
00:02:52,520 --> 00:02:57,230
‫We also have our switch to zero which toggles between Fahrenheit and Celsius.

38
00:02:57,320 --> 00:03:03,200
‫And currently we're in Fahrenheit which you can see by the denoted by the F we have on the end of our

39
00:03:03,200 --> 00:03:03,910
‫display.

40
00:03:04,070 --> 00:03:09,950
‫And if we pull that low the next time we update you'll see we're now twenty seven point eight four degrees

41
00:03:09,950 --> 00:03:11,240
‫Celsius.

42
00:03:11,240 --> 00:03:13,410
‫And if I toggle back up we'll go back to Fahrenheit.

43
00:03:13,570 --> 00:03:14,910
‫So you can switch back and forth.

44
00:03:14,970 --> 00:03:21,140
‫And this is just an example of the temperature sensor interface demonstration running on the basis three

45
00:03:21,140 --> 00:03:21,850
‫development board.

