1
00:00:07,000 --> 00:00:08,000
Hello, friends.

2
00:00:09,000 --> 00:00:17,000
Today I show you how to generate analog signal using any USB DAC card.

3
00:00:17,000 --> 00:00:22,000
In that case, I'm using analog output pins.

4
00:00:22,000 --> 00:00:29,000
As you see over here in this particular DAC card, this is your 6001.

5
00:00:29,000 --> 00:00:35,000
Or in the case of 6008 or 6009, we have two analog pins.

6
00:00:35,000 --> 00:00:40,000
So right now I'm using analog pin zero.

7
00:00:40,000 --> 00:00:47,000
So I just connect this one and one ground I needed to power up the LED.

8
00:00:48,000 --> 00:00:50,000
In this case I'm just power up the LED.

9
00:00:50,000 --> 00:01:01,000
So just connect ground to the negative pin and positive red one to the positive pin.

10
00:01:01,000 --> 00:01:01,000
Okay.

11
00:01:01,000 --> 00:01:08,000
So over here I just need to drag this analog output pin.

12
00:01:11,000 --> 00:01:12,000
Now.

13
00:01:15,000 --> 00:01:20,000
Open it I just need to use A0.

14
00:01:20,000 --> 00:01:23,000
Zero A0 stands for analog output.

15
00:01:24,000 --> 00:01:29,000
The output sample rate is 1000 samples per second.

16
00:01:29,000 --> 00:01:35,000
Okay, now I just need some signal.

17
00:01:35,000 --> 00:01:41,000
So in this case I just go to step signal.

18
00:01:45,000 --> 00:01:48,000
You can change the amplitude of this step signal.

19
00:01:48,000 --> 00:01:50,000
Right now.

20
00:01:50,000 --> 00:01:53,000
As you see initial value is zero and final value is one.

21
00:01:53,000 --> 00:01:59,000
Just connect this one and let's check what happened to it.

22
00:02:04,000 --> 00:02:09,000
Because the threshold value of a lead is not one volt.

23
00:02:09,000 --> 00:02:15,000
Let's change the amplitude of step signal.

24
00:02:15,000 --> 00:02:16,000
What happened?

25
00:02:18,000 --> 00:02:20,000
Let's say it is three.

26
00:02:24,000 --> 00:02:25,000
Run it.

27
00:02:28,000 --> 00:02:40,000
As you see right now, it is running because the threshold value for the LED is around 2.6 or 7V.

28
00:02:40,000 --> 00:02:46,000
Let's check what happened when there is a two volt signal.

29
00:02:50,000 --> 00:02:52,000
I'm just changing this value to two volt.

30
00:02:52,000 --> 00:02:54,000
Final value is two.

31
00:02:54,000 --> 00:02:55,000
Apply.

32
00:02:55,000 --> 00:02:56,000
Okay.

33
00:02:56,000 --> 00:02:56,000
Again.

34
00:02:56,000 --> 00:02:57,000
Run it.

35
00:02:58,000 --> 00:03:00,000
It turned off.

36
00:03:01,000 --> 00:03:02,000
Some light is there.

37
00:03:02,000 --> 00:03:04,000
But okay.

38
00:03:04,000 --> 00:03:12,000
So let's again stop it and make it to 2.4.

39
00:03:15,000 --> 00:03:17,000
2.4.

40
00:03:19,000 --> 00:03:20,000
let's check what happened.

41
00:03:22,000 --> 00:03:23,000
Again.

42
00:03:23,000 --> 00:03:23,000
Run it.

43
00:03:26,000 --> 00:03:29,000
In this case, it is flowing.

44
00:03:29,000 --> 00:03:33,000
When there is a five volt signal, it will turn.

45
00:03:35,000 --> 00:03:36,000
It will burst your lead.

46
00:03:37,000 --> 00:03:40,000
Okay, because right now I'm directly using it.

47
00:03:41,000 --> 00:03:51,000
We need to connect a resistor with the positive pin, because right now it is getting 2.4V directly

48
00:03:51,000 --> 00:03:52,000
at the positive pin.

49
00:03:52,000 --> 00:03:53,000
Okay.

50
00:03:53,000 --> 00:04:01,000
So this is how you can generate analog signal for your output devices.

51
00:04:01,000 --> 00:04:09,000
You can run a motor with the help of relay or any frequency drive.

52
00:04:10,000 --> 00:04:11,000
You can run a motor.

53
00:04:12,000 --> 00:04:22,000
You can not directly run a motor with the help of this date card, because if you want to run the motor

54
00:04:22,000 --> 00:04:30,000
directly with this date card motor, grab the power from this card and this card is connected to your

55
00:04:30,000 --> 00:04:30,000
PC.

56
00:04:30,000 --> 00:04:32,000
In that case it.

57
00:04:32,000 --> 00:04:39,000
If the motor draw extra current, the current drawn from this, that card and this that card is connected

58
00:04:39,000 --> 00:04:41,000
to your PC, it will show to your PC.

59
00:04:41,000 --> 00:04:46,000
So you need to be aware of these points.

60
00:04:46,000 --> 00:04:53,000
So for to power up different actuators you just need to external power.

61
00:04:53,000 --> 00:04:55,000
You just need a external power.

62
00:04:55,000 --> 00:05:00,000
Use these that card for only 0 to 5 volt signal.

63
00:05:00,000 --> 00:05:05,000
You can generate from 0 to 5 volt signals like zero volt signal, one volt signal.

64
00:05:05,000 --> 00:05:06,000
Two volt signal.

65
00:05:06,000 --> 00:05:07,000
Three volt signal.

66
00:05:07,000 --> 00:05:13,000
Using these, you can control the speed of your motor or any other device.

67
00:05:13,000 --> 00:05:15,000
So this is all about today's lecture.

68
00:05:15,000 --> 00:05:16,000
Thank you.

