So far, we have studied digital input, digital output, ADC or analog, but now it's time to study
Dacey and analog output.
So it is the opposite of ADC dictates a binary string and it converts it to an analog signal, meaning
it converts it to a continuous analog signal like voltage.
So let's say that in your embedded system you are coding some number.
This number is actually binary because it's in the embedded system.
Now, if you want to convert this to an electrical signal that is working within your range, you would
need and the AC in order to convert it to this analog signal.
So, for example, let's say you have one zero one and its representation is Five-fold and that says
you have zero one zero and it's a translation is two fold.
And you are not saying this, you would need ADC.
So the signal that is usual is sent from the output of your embedded system can control stuff like motors,
like linear actuators.
It might be controlling the brightness of a certain leidy's.
It can do a lot of stuff.
So let's take an example.
Let's say this is your Arduino and here you have an analog output or the AC or a digital to another
converter.
Let's say you have coded zero zero one inside you or do we know and you want to send it out in order
to control this motor.
So here you have a small servo motor that rotates left and right, and it accepts values between zero
and five.
And depending on the value between zero and five, it's going to rotate at a certain degree.
So let's say when you input two point four volts, it's going to rotate, let's say, 60 degrees.
And let's say when you input five fold, it rotate 180 degrees and so on, so forth.
So every value gives you a rotation in degree.
OK, so what you need here is a range of values to be outputted from this DHC and this is exactly what
the AC do.
You give it a digital number and then it converts it to a voltage.
So let's say you want to send one volt here.
You're right, zero zero one, for example.
It could be something else.
And this DHC is going to send one Volt to this motor and you will see it rotating.
Of course, you will need to power this device from external power supply, let's say, and then you
send it signal just to control the rotation.
And this is it, this is what he does.
It just takes a binary string conversive trying to look at your signal and then it controls your device.