Hello, friends.
Today I show you how to generate analog signal using any USB DAC card.
In that case, I'm using analog output pins.
As you see over here in this particular DAC card, this is your 6001.
Or in the case of 6008 or 6009, we have two analog pins.
So right now I'm using analog pin zero.
So I just connect this one and one ground I needed to power up the LED.
In this case I'm just power up the LED.
So just connect ground to the negative pin and positive red one to the positive pin.
Okay.
So over here I just need to drag this analog output pin.
Now.
Open it I just need to use A0.
Zero A0 stands for analog output.
The output sample rate is 1000 samples per second.
Okay, now I just need some signal.
So in this case I just go to step signal.
You can change the amplitude of this step signal.
Right now.
As you see initial value is zero and final value is one.
Just connect this one and let's check what happened to it.
Because the threshold value of a lead is not one volt.
Let's change the amplitude of step signal.
What happened?
Let's say it is three.
Run it.
As you see right now, it is running because the threshold value for the LED is around 2.6 or 7V.
Let's check what happened when there is a two volt signal.
I'm just changing this value to two volt.
Final value is two.
Apply.
Okay.
Again.
Run it.
It turned off.
Some light is there.
But okay.
So let's again stop it and make it to 2.4.
2.4.
let's check what happened.
Again.
Run it.
In this case, it is flowing.
When there is a five volt signal, it will turn.
It will burst your lead.
Okay, because right now I'm directly using it.
We need to connect a resistor with the positive pin, because right now it is getting 2.4V directly
at the positive pin.
Okay.
So this is how you can generate analog signal for your output devices.
You can run a motor with the help of relay or any frequency drive.
You can run a motor.
You can not directly run a motor with the help of this date card, because if you want to run the motor
directly with this date card motor, grab the power from this card and this card is connected to your
PC.
In that case it.
If the motor draw extra current, the current drawn from this, that card and this that card is connected
to your PC, it will show to your PC.
So you need to be aware of these points.
So for to power up different actuators you just need to external power.
You just need a external power.
Use these that card for only 0 to 5 volt signal.
You can generate from 0 to 5 volt signals like zero volt signal, one volt signal.
Two volt signal.
Three volt signal.
Using these, you can control the speed of your motor or any other device.
So this is all about today's lecture.
Thank you.